Pls. help, maybe?.....

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
kashmir
Forum Newbie
Posts: 6
Joined: Tue Nov 04, 2003 9:11 pm

Pls. help, maybe?.....

Post by kashmir »

Hi,

First off I'm new to this group, I found it by doing a Google on databases and was happy to find some really good tutorials here to boot.

I thought I would pose a question; I really do not have much experience with php/mysql so I'm looking for some help. I designed a form (well not really a form, it just looks like one) I created it in html :wink: . It is a multi file upload form that would allow the user to upload unlimited files (mainly images) to my server. Basically it has text fields for their Name, Address, Phone, .... and then about a half of dozen fields for uploading.
When they submit the form they have the option to upload more files or to continue on to a redirected page, the important thing is they get asked if they need a new upload page to send more 'stuff'.
I need the uploaded files' path stored in a MySQL db for querying.
After they upload I want them and myself to recieve an email confirming what was sent and the ability to put a custom message on their email.

I don't expect anyone to do this for free- unless you were too kind :D
But if someone(s) is willing to help I would be very greatfull! Please feel free to PM me or post here.

Thanks!
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

I doubt very much that someone will write all the code for you (unless they're very kind, very bored, or just insane) so the best thing to do would be to have a read of this..... http://uk2.php.net/manual/en/features.file-upload.php .......and then take it from there.

If you're not used to PHP and MySQL though it might take a while before you get to grips with it all.

Good luck :wink:
kashmir
Forum Newbie
Posts: 6
Joined: Tue Nov 04, 2003 9:11 pm

Post by kashmir »

Agreed, as I mentioned I didn't expect everyone to jump in and code this for me. I did say I would be willing to pay for it, but also I was hoping that someone out there has an upload script that is close to what I described (I don't think my specs are an original idea) and with a few modifications can do what I need.

I plead guilty of php ignorance not knowing how much work is involved to create this....
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

The system you require would take some advanced knowledge of PHP to produce.
  • You would need a user login system
  • Knowledge of databases, xml, or flat-file storage
  • Knowledge of cookies or sessions
  • Knowledge of file uploading of course
  • Also other file and directory functions
It would take a considerable ammount of time to learn those so if this site is urgently needed I recommend hiring a programmer.

We have a job board where you can post requests. Or you can try one of those freelancer auction type sites. The competition between programmers drives the prices down a lot for webmasters seeking a site. Here is a good site for that: http://www.scriptlance.com

If you are interested in learning those topics on your own, check these links out:

[php_man]setcookie[/php_man]()
http://www.php.net/manual/en/ref.session.php
http://www.php.net/mysql
http://www.php.net/manual/en/ref.filesystem.php
http://www.php.net/xml
[big_search]php file upload tutorial[/big_search]
kashmir
Forum Newbie
Posts: 6
Joined: Tue Nov 04, 2003 9:11 pm

Post by kashmir »

Sami,

I didn't realize user log in authentication would be needed as part of this- thought it would be seperate. But I want to mention I do have a login suite (PHP Login Suite from dreamweavermxsupport.com) that works well.
Just the same thank you for the resources and I will be checking them out.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

No problem. I thought it would be nice to include because you will be gathering user information and you don't just want anyone uploading an unlimited ammount of files. ;)

Plus, with some of the file and directory functions, you can even limit each account to a certain size based on whatever (how much they pay, etc, etc).

Happy coding~
Post Reply