-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 8:00 AM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] file from database work local, but not on server
Peter Lauri wrote:
Best group member,
This code works fine on my local machine
What happens when you print out the query to the page?
Is the query correct?
Jef
-Original Message-
From: Peter Lauri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 1:10 PM
To: php-general@lists.php.net
Subject: [PHP] file from database work local, but not on server
Best
At 9:03 AM +0700 6/8/06, Peter Lauri wrote:
Is there anyone with reference of a small example of binary storage and
retrieval from database? I have performed working solutions for images
before, but this should support any file extensions (with exceptions of
course).
Peter:
Storage and
; 'Chris'
Cc: php-general@lists.php.net
Subject: RE: [PHP] file from database work local, but not on server
At 9:03 AM +0700 6/8/06, Peter Lauri wrote:
Is there anyone with reference of a small example of binary storage and
retrieval from database? I have performed working solutions for images
At 6:22 PM +0700 6/8/06, Peter Lauri wrote:
Hi Tedd,
Thank you for your answer. I have it working for images already, the problem
comes to Excel, PDF's etc. I will do some more testing using your sample,
thanks.
/Peter
Peter:
Excel and PDF's are different critters. I'm sure there are people on
Peter Lauri wrote:
Best group member,
This code works fine on my local machine:
$Query = sprintf(SELECT * FROM filestorage WHERE id=%s LIMIT 1,
$_GET['fileid']);
$Result = mysql_query($Query);
if (mysql_num_rows ($Result)0) {
$Row = @mysql_fetch_array ($Result);
$file_type =
6 matches
Mail list logo