There are a bunch places in my site where I  take data from a from like:

<form method="post" action="somefile.php3" enctype="multipart/form-data">
<input type="file" name="form_data" size="40">
<input type="Submit" name="submit" value="submit form">

Can I make a function in that will do the

move_uploaded_file ($form_data, $path);

function? How do I pass $form_data to such a function?

I've tried calling

copy_my_file ($form_data);

but bad things happed... also can use $form_data_size and the like in an
outside function?


Do You Yahoo!?
Get your free address at

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to