RE: [PHP] Concerning SSL

From: Date: Tue, 02 Jan 2007 16:32:56 +0000
Subject: RE: [PHP] Concerning SSL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246355@lists.php.net to get a copy of this message
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 >

« previous php.general (#246355) next »