Jump to content

getting whats its in the address bar as a variable


legohead6

Recommended Posts

use $_SERVER['DOCUMENT_ROOT'];

you can have the location of your site there^^

 

but if you mean get the value of somethng in the url use the $_GET['ure desired variable here']

 

sample:

http://www.ASTIG.com/page.php?id=ASTIG

 

then use $_GET['id']; so you will have the ASTIG as the value

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.