UPLOAD form troubles! image upload but NO data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
karmacriminal
Forum Newbie
Posts: 1
Joined: Wed May 07, 2003 3:04 pm

UPLOAD form troubles! image upload but NO data

Post by karmacriminal »

I have a upload form on my page, located here: http://karmacriminal.com/contests.php

My image will upload to my server as I want it to, but the data in the rest of the form is lost. How can I:

1: get the data to upload onto the server with the picture
or
2: have the picture upload and then the data information is emailed to me

Thanks in advance! 8O
scr0p
Forum Newbie
Posts: 23
Joined: Mon May 05, 2003 6:49 pm
Location: NY

Post by scr0p »

Paste code
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Well since you have a working Upload script, just add a text processing one aswell, either to send it to a database or text file.

Do you have that and it doesn't work or are you lacking that completly?
User avatar
skylavelle
Forum Newbie
Posts: 18
Joined: Sun May 04, 2003 11:33 pm
Location: Brisbane, Australia

Post by skylavelle »

Is it that you want the image to be uploaded and displayed on a page within your server, as well as the attributes of the file, ie. size, width, height and file name???

If so, I have seen heaps of scripts that do that on http://www.hotscripts.com. So go check it out.

From a design perspective you should make your background a light grey rather than blue, also compress your banner to a 60% jpg. It will be hard to spot the difference, but I will load a lot quicker.

Cheers :D
Post Reply