In php there are a few magic constants and I find FILE to be a very useful one.
It returns the full path and filename of the file in question.
Take a look at the PHP Manual – Magic Constants for more information on the others.
In php there are a few magic constants and I find FILE to be a very useful one.
It returns the full path and filename of the file in question.
Take a look at the PHP Manual – Magic Constants for more information on the others.