Jump to content

image upload directory


hassank1

Recommended Posts

You could use the $_SERVER variable 'SCRIPT_FILENAME' to get the script name...

 

$_SERVER['SCRIPT_FILENAME']

 

The problem is this also includes the file name as well, so you will have to figure out a way of trimming the string to the last slash.

 

 

ILMV

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.