In the feed back form for dragonthoughts.com, I found the following comments today:
Hi, i have a problem in the mkdir() function in php. the following code
works in wamp server, but when i tried uploading it to a fedora core
server, it couldnt create the directory anymore.
$query0 = "SELECT * FROM request";
$result0 = mysql_query($query0) or die("Query 0 failed ");
while ($line = mysql_fetch_array($result0)) {
if ($line['finish_status']=='ok') {
$content++;
//break;
}
}$dir = $_SERVER['DOCUMENT_ROOT'].'/quotations/'.$content;
$check = mkdir($dir,0777,TRUE);
The only problem being, that the requester, didn’t give a return email address! They did find this site through a link from Webmaster world.
My personal guess is that they are running PHP in safe mode on their fedora core, and I would have happily emailed them to assist, if they had given me a chance!
Write a comment
You need tologin.

