RE: [PHP] Concerning SSL

From: Date: Tue, 02 Jan 2007 23:17:25 +0000
Subject: RE: [PHP] Concerning SSL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246390@lists.php.net to get a copy of this message
Make the src ABSOULUTE and it will work. When you are using relative links as you are right now the web server will look in the https://www.mywebsite.com/images.... Best regards, Peter Lauri www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free -----Original Message----- From: R. Van Tassel [mailto:jazzsnob@optonline.net] Sent: Tuesday, January 02, 2007 6:33 PM To: php-general@lists.php.net Subject: RE: [PHP] Concerning SSL How do you correct the image URLs? That's what I'm asking. I have a website that is secure. When you change the URL from http://www.mywebsite.com to https://www.mywebsite.com the images disappear. The images are codes as relative links: http://www.mywebsite.com/images/myimage.jpg is coded as <img src="images/myimage.jpg" /> if a root file is coded as <img src="../images/myimage.jpg" /> if in a directory -----Original Message----- From: Jochem Maas [mailto:jochem@iamjochem.com] Sent: Tuesday, January 02, 2007 11:27 AM To: R. Van Tassel Cc: php-general@lists.php.net Subject: Re: [PHP] Concerning SSL R. Van Tassel wrote: > Hello everyone, I hope you all had a great new year. > > I'm having an issue with a website where changing the URL from > http:// to > https:// makes the images disappear. The images are all > relative and not > absolute. > > How can I fix this? correct the image URLs? clear your cache? we gave up mind-reading on the list last year, please provide us with some actual info otherwise we can't help you. > > Thanks, > -Roy > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#246390) next »