Jump to content

[SOLVED] Get containing folder name of referrer


lindm

Recommended Posts

Got a form (form.html) in a subdirectory which is posted to a php file elsewhere on my server. I need to get the name of the folder containing form.html as a variable in to use in my php file...how?

 

$_SERVER['HTTP_REFERER'] is the absolute url...perhas manipulate the string?

 

 

 

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.