Solved

problem to use SSL when including javascript into a php page

Posted on 2006-10-26
2
218 Views
Last Modified: 2006-11-18
Hi xpert,

I have a form which process in SSL(https://)

I page include a javascript navigation call (navigation.php)

When i tried to take out the navigation.php and the form process in https but as soon as i include the navigation it continue to process the form without the https

Any ideas??
0
Comment
Question by:www-i-p-mu
2 Comments
 
LVL 7

Accepted Solution

by:
CraigHarris earned 500 total points
ID: 17822863
navigation.php must be causing it to redirect to http

When using HTTPS all files referenced must also be available over HTTPS - that includes JavaScript & CSS etc.

If your unsure about particular code then post it here or send it to me.
0
 
LVL 3

Author Comment

by:www-i-p-mu
ID: 17831709
thx CraigHarris,

base on your idea, i found that in my javascript there other files that is calling in http

then i tried to call every single page in https

and it works

regards

www-i-p-mu
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question