Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello Folks,

I just have a quick question for you !

I have a fedora box

The "website" is under /var/www/html/app2

I am developping an app where the data is not just at the place ut can
at /data/...

How can i reach it since if i do include "/" it will go only to /var/
www/html/ ?

Thanks for your help


Re: Navigation

Quoted text here. Click to load it

I'm doing a lot of guessing since the information you provide is
incomplete and contradictory, but the only sensible explanation I can
think of for the behaviour you describe is that the webserver is
runing in a chroot jail - in which case you cannot access /data.


Re: Navigation

Franck Y a écrit :
Quoted text here. Click to load it

It "will"... Did you test ? If so, and you noticed this behaviour, as
Colin said you're likely to be in a chrooted jail, if not, just test it
without assuming :)

include accept both relative and absolute path so /data/ should work (if
you're not restricted).


Re: Navigation

Franck Y wrote:
Quoted text here. Click to load it

Are you trying to get it as a URL, i.e. Or are
you trying to include (or otherwise access the data) from a PHP file.

It's not clear.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Site Timeline