Solved

problem to use SSL when including javascript into a php page

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
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.
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 …

919 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

18 Experts available now in Live!

Get 1:1 Help Now