Jump to content

Simple structure problem I think!


herghost

Recommended Posts

Im simply having a problem with structuring a directory structure for mkdir

 

mkdir("saves/".$worldname."/".$playername, 0777);

 

The middle "/" is causing issues, if I take it out I have no problem in creating a folder name saves/worldnameplayername/ just want to add playername as a sub-dir.

 

I have tried every combination I can think of to get it to accept the divider  :'(

 

Any help?

Link to comment
https://forums.phpfreaks.com/topic/254821-simple-structure-problem-i-think/
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.