Guest Posted February 23, 2007 Share Posted February 23, 2007 I want to know if it is possible to upload a file and send it to a function and how can i do that. I want to send $_FILES['image']['tmp_name']['0'] to function uploadimage(); Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 23, 2007 Share Posted February 23, 2007 It's just a variable, you use it like any other. uploadImage($_FILES['image']['tmp_name']['0']); function uploadImage($file){ print $file; } Quote Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2007 Share Posted February 23, 2007 Ok thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.