Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PHP troubles

Name: Anonymous 2006-01-01 19:01

Are there any predefined variables in php that display the directory that the script is currently being run? The first directory; I mean, not the full path since the doccument root.

If not, is there any way to work around it/remove certain text from a string?

Name: Anonymous 2006-01-01 20:14

1  get full path from $_SERVER['PHP_SELF']
2  split it using EXPLODE into array
3  get whichever item of array you want
4  profit

but maybe i have misunderstood it..

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List