ziedinjsh Posted May 21, 2012 Report Share Posted May 21, 2012 Meiģinot saglabāt linku vai embed kodu caur textare iekš datubāzes mets ārā: Forbidden You don't have permission to access /adm/process/process.soundcloud.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. parastu tektu viņš saglabā.. Bet citā faila es atkal varu saglabāt gan linku gan citu tādu kas viņam nepatīk? <?php include("../../misc/dbase.php"); $title = mysql_real_escape_string($_POST['title']); $code = mysql_real_escape_string($_POST['code']); $date = date("d.m.Y"); if(empty($title) || empty($code)){ die("Some feild is empty!"); }else{ mysql_query("insert into soundcloud (title, code, date) values ('$title', '$code', '$date')") or die(mysql_error()); mysql_query("insert into updates (title, content, date, category) value ('$title', '$code', '$date', 'music')"); header("location: ../index.php?page=3"); } ?> Quote Link to comment Share on other sites More sharing options...
daGrevis Posted May 22, 2012 Report Share Posted May 22, 2012 You don't have permission to access /adm/process/process.soundcloud.php on this server. chmod a=rwx /adm/process/process.soundcloud.php Vispār uzliec tikai web-serverim pieeju tam failam, ne visiem. Lūk: https://wiki.archlin...index.php/Chmod . Quote Link to comment Share on other sites More sharing options...
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.