mkdir function is failing me
Posted: Tue Jun 19, 2007 7:05 pm
Prepare yourself, I may be tempted to try offering laughter for trade of your PHP advice.
If you don't want to hear the story, skip right to the problem
Long have I trusted the abilities of the mkdir function and I switched hosting providers, and it now fails me. Ok, so I haven't trusted the mkdir function for that long, since I've only really been programming php for about a month an a half now. But in this time, I've developed a site for ease of publication... After switching to a new hosting company, all of my files containing mkdir no longer work. I need this function to keep my web application functioning swiftly, which is the 'only' reason I've built it. So now, after having probably over a thousand articles I've hand written and finally completing the site (so I thought), I've switched hosting providers and I can't make directories VIA php, only via FTP which DEVOURS too much time out of my hand writing (haha, I know, funny thought) time.
the problem:
The script
<?php
mkdir($_SERVER['DOCUMENT_ROOT'].'/testfolder');
?>
Will not create a folder
My head is thumping, I've been Googling this one problem and searching forums and refining forum searches (CTRL+F) for hours today, which is how I know to provide this information:
Operating system Linux
Machine Type i686
Kernel version 2.6.9-55.ELsmp
PHP version 4.4.7
On top of it all, I keep putting bathroom breaks off for possibly unhealthy amounts of time. Not that that was necessary to inform you of, but now you know this problem is causing me discomfort both mentally and physically. So, I joined this forum with hope someone would remedy H E L P spelled out in desert sand.
THANK YOU IN ADVANCE (All capital letters REALLY reminds me look like one of those phishing emails)
I AM ADUBI ABOBWA FROM NORTHERN SOUTH STATE OF OKHIOWA AND MY PHP NEEDS YOU HELP! PLEASE SEND BANK INFORMATION AND PHOTOCOPY OF VALID DRIVER ID WITH SOCIAL SERCITY SO MY PHP CAN ESCAPE THE TYRANNICAL GOVERNMENT !(just joking of course!) Please do NOT send me this information, or I'll be forced to delete my account, IMMEDIATELY.
If you don't want to hear the story, skip right to the problem
Long have I trusted the abilities of the mkdir function and I switched hosting providers, and it now fails me. Ok, so I haven't trusted the mkdir function for that long, since I've only really been programming php for about a month an a half now. But in this time, I've developed a site for ease of publication... After switching to a new hosting company, all of my files containing mkdir no longer work. I need this function to keep my web application functioning swiftly, which is the 'only' reason I've built it. So now, after having probably over a thousand articles I've hand written and finally completing the site (so I thought), I've switched hosting providers and I can't make directories VIA php, only via FTP which DEVOURS too much time out of my hand writing (haha, I know, funny thought) time.
the problem:
The script
<?php
mkdir($_SERVER['DOCUMENT_ROOT'].'/testfolder');
?>
Will not create a folder
My head is thumping, I've been Googling this one problem and searching forums and refining forum searches (CTRL+F) for hours today, which is how I know to provide this information:
Operating system Linux
Machine Type i686
Kernel version 2.6.9-55.ELsmp
PHP version 4.4.7
On top of it all, I keep putting bathroom breaks off for possibly unhealthy amounts of time. Not that that was necessary to inform you of, but now you know this problem is causing me discomfort both mentally and physically. So, I joined this forum with hope someone would remedy H E L P spelled out in desert sand.
THANK YOU IN ADVANCE (All capital letters REALLY reminds me look like one of those phishing emails)
I AM ADUBI ABOBWA FROM NORTHERN SOUTH STATE OF OKHIOWA AND MY PHP NEEDS YOU HELP! PLEASE SEND BANK INFORMATION AND PHOTOCOPY OF VALID DRIVER ID WITH SOCIAL SERCITY SO MY PHP CAN ESCAPE THE TYRANNICAL GOVERNMENT !(just joking of course!) Please do NOT send me this information, or I'll be forced to delete my account, IMMEDIATELY.