Southwind* Posted August 11, 2010 Report Posted August 11, 2010 (edited) Warning: file_put_contents(video/video.php) [function.file-put-contents]: failed to open stream: Permission denied in /www/video_adder.php on line 7 Video veiksmīgi pievienots Doties atpakaļ pie video saraksta Dotiespievienot vēlvienu video $video_id = time()+($config_date_adjust*60); $new_dati="$video_id|$_POST[embed]|$_POST[autors]|$_POST[nosaukums]|\n"; file_put_contents("video/video.php",$new_dati.file_get_contents("video/video.php") ); Caur ftp uzliku ka var rakstīt, vienalga šis errors :( Vienkārš video skripts,kas izmanto skriptu lai ievietotu citā skritpā un tad to nolasa. :) Kā pievienoju jaunu video izmet šadu [skatīt augšā] Edited August 11, 2010 by Southwind* Quote
Леший Posted August 11, 2010 Report Posted August 11, 2010 (edited) . Apskaties permīcijas pašam failam video.php Edited August 11, 2010 by Леший Quote
mickys Posted August 11, 2010 Report Posted August 11, 2010 mapei video un failam video.php Saprotu ka skrīnā redzamais video.php nav tas kurā tiek rakstīts, jeb tomēr? Quote
indoom Posted August 11, 2010 Report Posted August 11, 2010 Vispār jau post datus (neiztīrītus) nevajadzētu rakstīt php failā. Quote
Леший Posted August 11, 2010 Report Posted August 11, 2010 Paprovē izmantot absolūto ceļu, sākot no www root Quote
Southwind* Posted August 11, 2010 Author Report Posted August 11, 2010 Jā es drusku biju sajaucis direktorījas, paldies , palidzējat :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.