php quicky

Associate
Joined
26 Jan 2006
Posts
1,502
Hey guys,

in php, how I write paths to be universal to all servers?

I know "./test.php" is supposed to look in the same directoy for the file? right? How about if the file is the third parent or etc?

Thanks.
 
thanks all work :)

However, if you can help with another problem I try to solve please do so.

I have an <?include> statement in my HTML doc which does some stuff, but if it fails I try to redirect to another page using header(). But I get headers already out errors. Any workaround for this?

Thanks
 
Back
Top Bottom