PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
jmut
Forum Regular
Posts: 945 Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:
Post
by jmut » Tue Jan 03, 2006 8:25 am
I am generating this link
but
on one system I am working it is http
on the onter it should be https
Is there any way I could determine this automatically.
hawleyjr
BeerMod
Posts: 2170 Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA
Post
by hawleyjr » Tue Jan 03, 2006 8:29 am
The
$_SERVER variable will hold all the information you need
jmut
Forum Regular
Posts: 945 Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:
Post
by jmut » Tue Jan 03, 2006 8:38 am
hawleyjr wrote: The
$_SERVER variable will hold all the information you need
yepee
10xy