[nycphp-talk] Secure/insecure items
Emmanuel. M. Decarie
emm at scriptdigital.com
Fri Jun 6 14:25:47 EDT 2003
Jeff,
Can you call these files dynamically and tell PHP to add 'http://' or
'https://' when required?
This what I have done in another project (not a PHP project) a while
ago and it was working well for me. In the session, I had set a value
telling me if I was on a secure page, and then switched from:
http://www.myserver.com/style.css
to:
https://www.myserver.com/style.css
HTH
Cheers
-Emmanuel
>The only "issue" I have with that is that the page in question is part
>of a set of DreamWeaver templates so...if my client decides to change
>the template then this particular page would have to be changed by hand.
>However, if this is the only way to eliminate the problem...so be it.
>
>Thank you and everyone for your speedy replies.
>
>Jeff
--
______________________________________________________________________
Emmanuel Décarie / Programmation pour le Web - Programming for the Web
Radio UserLand/Frontier - Perl - PHP - Javascript <http://scriptdigital.com/>
Blog: <http://blog.scriptdigital.com> - AIM: scriptdigital
More information about the talk
mailing list