Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

problem to use SSL when including javascript into a php page

Posted on 2006-10-26
2
Medium Priority
?
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
CraigHarris earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

609 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