Helpful Information
 
 
Category: Server side development
Uploading via form to Mysqlwith php

Hey,
err is there any premade scripts on hotscripts that`ll do this? i looked without sucess...if not can someone chuck me some tutoirals on how to do this type of thing,
iam trying to work out a script that is a html form ...and you type your name, email, you make a selctio from a drop down and then click a browse button to find file on your pc then upload it....then the info is sent to mysql in a table called *uploads* ... er can someone get me started or summut?
thanks alot
Jee yeh see php:thumbsup:
sir p

Actually, I'm trying to do a similar thing. The concept I'm going to use is as follows:

1) upload the file to the temp directory (as specified in the php.ini file)

2) copy the file from the temp directory to the members directory.

3) save the path to the file in the database. (ie "/usr/web/html/members/sir_pannels/file.ext" into a field named filePath)

I'm not too big on actully trying to put the file INTO the database itself.

Hope this helps.

I'll have a go at making this later on for you guys... busy at the moment..

try looking on phpbuilder.com for an upload script, i have an upload class here somewhere.. but if you don't know what a class is.. i'd recommend not using it ;) If you still want it, lemme know.. drop me an email :)

Jee

Here is a script that allows you to upload files:

http://www.ipdg3.com/sourcecoderesults.php?option=sourcecode&id=000254

Good luck
wabirdman










privacy (GDPR)