> how do I give something the filepath of a folder that proceeded it?
Not sure exactly what you mean here but consider
getcwd()
http://www.php.net/manual/function.getcwd.php
This "gets the current working directory" and may help your quest. If you
want something else, load up phpinfo() and have a look at the
available 'predefined variables' on server, there are many.
http://www.php.net/manual/language.variables.predefined.php
ANd if it needs to be taken apart, explode() it. Oh, there is another
function that may actually be what you want, it is called dirname :
http://php.net/manual/function.dirname.php
Maybe if you stick getcwd in it it'll provide desired results. So many
options, so little time, so many words, so unsure what you're wanting :-)
Look around here :
http://php.net/manual/ref.filesystem.php
Sorry this post is getting HUGE.
Good luck!
Philip
be outside the box.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]