New to PHP...is it possible to create a folder on your server through a webpage?

  • Thread starter Thread starter trafficman2589
  • Start date Start date
T

trafficman2589

Guest
I have a site and when a user signs up i want to create a folder on the server just for them...is that possible??
 
yes.

mkdir("directoryasstring"); //don't forget to escape backslashes!

obviously you can also execute shell commands by enclosing them in backticks (`), but that's horribly unportable.
 
Back
Top