Re: [PHP] Displaying user data and picture

2009-08-12 Thread nashrul
u want help? break down ur question to the point, none is going to downlod unknown zips searching for the spot. the reason I put the files zipped is that when I put the code that include html tags in the message, they are read as html tags by the browser and displayed not as the code... I don't

RE: [PHP] Displaying user data and picture

2009-08-09 Thread tedd
At 9:00 AM -0400 8/7/09, Bob McConnell wrote: From: Ralph Deffke however there are some reasonable reasons to store a image in the database. 1. if u have no access to write files to the disk this is the case in most free hosting services they give u php and mysql and thats it 2. if u

Re: [PHP] Displaying user data and picture

2009-08-07 Thread kranthi
not a good place to discuss the merits and demerits of binary blobs. is it ? now coming back to the question. Firebug firefox addon, and http live headers firefox addon will be of help to you in this case. You have img src=display_img.php?id=1 tag(or something similar) i suppose... try opening

RE: [PHP] Displaying user data and picture

2009-08-07 Thread Bob McConnell
From: Ralph Deffke however there are some reasonable reasons to store a image in the database. 1. if u have no access to write files to the disk this is the case in most free hosting services they give u php and mysql and thats it 2. if u want some access control to the image, e.g. login

Re: [PHP] Displaying user data and picture

2009-08-06 Thread Ralph Deffke
hi there, u want help? break down ur question to the point, none is going to downlod unknown zips searching for the spot. its fun to help, but its for free, so make it easier for us to help u u r lucky that i'm sick at the moment and a bit bored, but anyway i'm not downloading a zip. however,

Re: [PHP] Displaying user data and picture

2009-08-06 Thread Martin Scotta
http://php.net/header take a look at the comments sections, there are a lot of examples of how to send an image to a browser, only think that instead of a file your are using a blob database field On Thu, Aug 6, 2009 at 10:45 AM, Ralph Deffkeralph_def...@yahoo.de wrote: hi there, u want help?

Re: [PHP] Displaying user data and picture

2009-08-06 Thread Michael A. Peters
Ralph Deffke wrote: and a blob field in mysql is the right thing, however u have to have a little php scrip, however with a .png extention to get the browser displaying the picture. What is the advantage to storing an image in the database opposed to as a flat file? It seems to me it would

Re: [PHP] Displaying user data and picture

2009-08-06 Thread Andrew Ballard
On Thu, Aug 6, 2009 at 5:02 PM, Michael A. Petersmpet...@mac.com wrote: Ralph Deffke wrote:  and a blob field in mysql is the right thing, however u have to have a little php scrip, however with a .png extention to get the browser displaying the picture. What is the advantage to storing an

Re: [PHP] Displaying user data and picture

2009-08-06 Thread Ben Dunlap
I don't have any data blobs in my database - which makes incremental backups easier - I use rsync for files and do a nightly mysql dump. Except for the first of the month, the diff of that nights backup compared to first of month is saved to flat file for rsync. Binary blobs in the database

Re: [PHP] Displaying user data and picture

2009-08-06 Thread Michael A. Peters
Ben Dunlap wrote: I don't have any data blobs in my database - which makes incremental backups easier - I use rsync for files and do a nightly mysql dump. Except for the first of the month, the diff of that nights backup compared to first of month is saved to flat file for rsync. Binary blobs in