Sorry, I should read all your message.
if($_FILES['image']['name']) { etc.
What syntax do I use to get the incomming file into $_FILES?
User Profile
Collapse
-
Thank you for that. As I am not writing the C# part of this, I have sent your comments to the person who is.
My confusion arises in not knowing if I should be using $_POST, $_REQUEST, imagecreatefrom file, file_get_conten ts, HttpResponse::G etRequestBody or Http::GetREques tBodyStream or something else on the PHP side to capture the incomming data in a form that I can then write it as a file to a folder.Leave a comment:
-
php code to receive image from cellphone
The cellphone uses the following C# code to send the image to picinput.php
...Code:string baseUrl = "http://www.somwhere.com/picinput.php?picfile=" + fileName; httpWebRequest = (HttpWebRequest)WebRequest.Create(baseUrl); httpWebRequest.Timeout = 20000; httpWebRequest.Method = "POST"; httpWebRequest.ContentType
No activity results to display
Show More
Leave a comment: