Solved

problem to use SSL when including javascript into a php page

Posted on 2006-10-26
2
199 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
resizeing PHP image 2 24
Not needed 13 58
How can I store the VALUE of an object property in a variable? 16 28
php ssh2_scp_send 1 10
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
The viewer will learn how to dynamically set the form action using jQuery.
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now