PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Path = F:\www\vhosts\domainname.com\httpdocs\access\00admin\
In my FTP, I can access \domainname.com\
But my index (and all files) are help in \httpdocs\
Which is considered the root?
$_SERVER['DOCUMENT_ROOT']."/Imi/City_Img/".$cityid."/".$aFile['name']
or
$_SERVER['DOCUMENT_ROOT']."/httpdocs/Imi/City_Img/".$cityid."/".$aFile['name']
I am looking to use mkdir, and it cannot make the path, despite permissions saying "create"
Last edited by $var on Wed Oct 05, 2005 9:44 am, edited 1 time in total.
Boo...
Stupid server company is a hack job if anything...
The dude says he doesn't know how to assign the root globally
(i think he means to the shared server solution)
It's a Microsoft server, which is the first problem,
and I don't think that they know what they are doing...
the perils or coming to an existing project.
does anyone know if this is possible, or am I going to have to assign the root manually on every page? Gah! Manual work.