?
Solved

problem to use SSL when including javascript into a php page

Posted on 2006-10-26
2
Medium Priority
?
246 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

Tutorial: Introduction to Managing a Linux Server

In this tutorial on systemd, we will explore:
-OS/Distro Adoption
-chkconfig and Other Legacy Commands
-Summary and Key Commands

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 …
Suggested Courses

765 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