php apache server problem
| From: | itü | Date: | Tue, 11 Sep 2001 08:56:22 +0000 |
| Subject: | php apache server problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66883@lists.php.net to get a copy of this message | ||
Hello php-general,
Ive got a virtual hosted site
at this site Ive got some php files which are taking images from
database but tey stopped operating since a overloading of the server
the code of the taking pictores are here. Is there anyone who has an
idea.
codes are like that
<?
$DB = @MYSQL_CONNECT( $dbserver, $user, $pass) or die("dbserver not
ready");
@mysql_select_db( $dbname) or die("Veri tabany seçilemedi");
$Query=mysql_query("select logo from logotable where id='$id'") or
die ("theres no such a thing");
while ($Result = mysql_fetch_array ($Query))
{
$logo=$Result["logo"];
header("Content-type: image/gif");
echo $logo;
}
--
Best regards,
itü mailto:karakask@itu.edu.tr