Jump to content
php.lv forumi

Forbidden


ziedinjsh

Recommended Posts

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");
}
?>
Link to comment
Share on other sites

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 .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...