I have a PHP script where my members can upload images to my website. How do I make it that once it is uploaded it is showing immediately on that members page. Sort of like a facebook picture upload??
How does your script upload?
Do you use a Database?
Can your members page not just load any images it finds?
What's stopping you from showing them?
Help us help you by being a little more descriptive.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
I am setting up a page where people can advertise there business in my city. Basically I am creating a PHP upload form which load the images directly to the root directory of my webserver. So after they upload a picture I want it to be shown on there page of my website. I am no expert in web designing so the biggest problem is that I don't know how to design it that I can place a sort of an image placeholder on the HTML page and as soon as the member upload a picture it must show it in that position.
Well assuming your upload script gives the image a name related to the advertiser in question in some form you can at its most basic build your image filename from the advertiser name, and maybe an image ID, and then check to see if it exists and load it into an img tag, otherwise load a default image:
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.