Re: Displaying user data and picture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, the most common error for newbies on that issue is, that thex don't
pay attention to the fact that a browser treats a picture as a separate file
to download. u can store pictures in a databas, 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.

u have to tell apache that a .png (or jpeg, gif etc) extention is to be
parsed by the php interpreter where u then can place ur database retrival of
the picture. in that script u then have to make shure ur are sending the
right header out.

to give u all the details is worth some time and time is money. the amount
of documentation to figure out the details is not small. start with some w3c
and rfc standard to get the clue.

regards
ralph
ralph_deffke@xxxxxxxx


"nashrul" <anas_aviv@xxxxxxxxx> wrote in message
news:24839092.post@xxxxxxxxxxxxxxxxxx
>
> I am new to php...
> I try to make a php page that displays form submitted data and image.
There
> are 3 php files,
> tampil_tamu_admin.php, edit_tamu.php and display_img.php.
> The user lists are displayed in the tampil_tamu_admin.php, and when the
user
> clicks one record, it shows edit page (edit_tamu.php) that display user
data
> and picture. (edit_tamu.php file includes img tag that calls
display_img.php
> with user id)
> The problem is the user data is displayed but the image is not
displayed...
> How can I display this image ?
>
> The codes are attached
>
> Thanks http://www.nabble.com/file/p24839092/guest-book.rar guest-book.rar
> http://www.nabble.com/file/p24839092/guest-book.zip guest-book.zip
> -- 
> View this message in context:
http://www.nabble.com/Displaying-user-data-and-picture-tp24839092p24839092.html
> Sent from the PHP - General mailing list archive at Nabble.com.
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux