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">
</form>


Can I make a function in global.inc 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?

Susan


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
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