Aastin
Guest
Не заливается баннер в базу((
Прошу прощение за повтор (не нашел кнопки ответить)(((
Выдается ошибка:
failed to open stream: HTTP wrapper does not support writeable connections. in /home/ххх/ххх/ххх/index.php on line 289
File failed to copy!
// check to make sure the size is okey.
if ($imagewidth == 468 AND $imageheight == 60){
if (copy($userfile, "$PATH/banners/$bid.gif")){
$imageurl=$URL . $bid .".gif";
mysql_query("update banner set imageurl='$imageurl' where bid='$bid'");
mysql_query("update banner set clickurl='$clickurl' where bid='$bid'");
}else{
echo "File failed to copy!";
}
}else{
echo " Your image was $imagewidth x $imageheight It needs to be 468 x 60";
}
bannerstats($login, $pass);
}
if (copy($userfile, "$PATH/banners/$bid.gif")){----289-я строка
где, что надо исправить?
Прошу прощение за повтор (не нашел кнопки ответить)(((
Выдается ошибка:
failed to open stream: HTTP wrapper does not support writeable connections. in /home/ххх/ххх/ххх/index.php on line 289
File failed to copy!
// check to make sure the size is okey.
if ($imagewidth == 468 AND $imageheight == 60){
if (copy($userfile, "$PATH/banners/$bid.gif")){
$imageurl=$URL . $bid .".gif";
mysql_query("update banner set imageurl='$imageurl' where bid='$bid'");
mysql_query("update banner set clickurl='$clickurl' where bid='$bid'");
}else{
echo "File failed to copy!";
}
}else{
echo " Your image was $imagewidth x $imageheight It needs to be 468 x 60";
}
bannerstats($login, $pass);
}
if (copy($userfile, "$PATH/banners/$bid.gif")){----289-я строка
где, что надо исправить?