ya arkadaşlar bu ardarda 2 ci sorum ama resim eklediğim zaman şöyle bir hata verdi
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 10636 is not allowed to access / owned by uid 0 in /home/resimlerim/public_html/resim_ekle.php on line 180
kodlar
$dizin = "/resimler/";
$file_name = basename($_FILES["dosya"]["name"]);
if ($_POST)
{
if ($_FILES["dosya"]["size"] <= 1000000)
{
if ($resim = move_uploaded_file($_FILES["dosya"]["tmp_name"], $dizin . basename($_FILES["dosya"]["name"])))
{
if ($_FILES["type"] == "image/jpeg" || $_FILES["type"] == "image/pjpeg" || $_FILES["type"] == "image/gif")
{180 ci kod
if ($resim = move_uploaded_file($_FILES["dosya"]["tmp_name"], $dizin . basename($_FILES["dosya"]["name"])))
Ben tam anlamadım ama hatada safe mod yazıyo acaba serverdanmı kaynaklanıyor. script kayyo da