Re: download not working

From: Date: Thu, 29 Dec 2005 07:20:30 +0000
Subject: Re: download not working
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-227959@lists.php.net to get a copy of this message
On Wed, Dec 28, 2005 at 01:03:55PM -0000, Ross wrote: > The pdf is fine, there are no errors . All I get is a small (130byte) pdf > file which is corrupt when I try and open it. Open the file in notepad and look at the 130 bytes, it probably will give you a clue. > > Thanks, > > R. > > "Jochem Maas" <jochem@iamjochem.com> wrote in message > news:43B28631.6070904@iamjochem.com... > > are people supposed to smell what is not working? > > do you get any errors? is it possible the PDF was corrupt > > when you uploaded it? > > > > Ross wrote: > >> working form this example > >> > >> http://www.php-mysql-tutorial.com/php-mysql-upload.php > >> > >> > >> my code is as follows, all I get is a corrupt pdf file..... > >> > >> $query= "SELECT * FROM publications WHERE alphabet='a'"; > >> ... > >> echo $content; > >> -- cat .signature: No such file or directory

« previous php.general (#227959) next »