Jump to content

dynamic htdocs path?


Recommended Posts

hi guys, we are installing a web server at school, it is working fine however currently the htdocs folder is one folder that all students can put work into, but this means they can see each others work,

 

we want to change the document root to something like

 

'hcfp02\studentshome$\year13\USERNAME\My Websites'

 

where username gets replaced by the users username, this is something like john.doe

 

how would we go about doing this?

 

would

 

'hcfp02\studentshome$\year13\%username%\My Websites'

 

work?

 

cheers

Link to comment
https://forums.phpfreaks.com/topic/111583-dynamic-htdocs-path/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.