chmod("/somedir/somefile.txt", 755);
$handle = fopen("/home/rasmus/file.txt", "r");
سرور هم لینوکس می باشدInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
توی cpanel و توی فایل منیجر هاستت برو و کنار هر فایلی (یعنی روبه روی هر فایل) یه عدد نوشته اون پرمیش هست می تونی روی فایل یا پوشه کلیک کنی بعد Change Permissions رو بزنی بعد اگه تیک همه رو بزنی 777 میشه .اين پرميشن كجا و چطوري تنظيم ميشه ؟
يعني از كجا بايد برم تنظيم كنم و 777 بذارم ؟
<meta http-equiv="no-cache">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="expires" content="Wed, 26 Feb 1995 08:21:57 GMT">