User Profile

Collapse

Profile Sidebar

Collapse
drumgor
drumgor
Last Activity: Sep 30 '10, 08:22 PM
Joined: Apr 1 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • drumgor
    replied to php code to receive image from cellphone
    in PHP
    Sorry, I should read all your message.

    if($_FILES['image']['name']) { etc.

    What syntax do I use to get the incomming file into $_FILES?
    See more | Go to post

    Leave a comment:


  • drumgor
    replied to php code to receive image from cellphone
    in PHP
    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.
    See more | Go to post

    Leave a comment:


  • drumgor
    started a topic php code to receive image from cellphone
    in PHP

    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
    ...
    See more | Go to post
    Last edited by Atli; Apr 1 '10, 04:41 AM. Reason: Added [code] tags.
No activity results to display
Show More
Working...