News:

LVCS.NET offers low cost domain registration services.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - robot

#1
Support Requests / Re: how to mkdir()
August 26, 2006, 01:14:32 PM
finally i could create new directories. however, i could remove the folder and file i created, this the error i get
Warning: unlink(/fpgs/fpgshttpd/ultra/blog/My_Profile/index.php) [function.unlink]: Permission denied in /home/admin/system.freepgs.com/phpfm/incl/functions.inc.php on line 22
Deleting of folder failed.

This might be caused by insufficient permissions.

how do i remove it? I could not change the folder permission too, came out with a chmod failed error
#2
Support Requests / Re: how to mkdir()
August 26, 2006, 11:54:22 AM
allright, now i understand that i need to use the dir path instead of url.
my question now is what is the dir path to my account ultra.freepgs.com ?
#3
Support Requests / how to mkdir()
August 23, 2006, 09:46:20 AM
i have this simple code put on test,
<?php
$path 
"http://".$_SERVER['HTTP_HOST']."/new";
if(
mkdir($path0755)){print "folder created";}else{print "failed";}
?>


but it doesn't seem to work, what could be wrong?
how do i create a new folder with php code?