Topic: Upload via Phone

Hi,
I programming python application for Symbian OS. And i have question how upload the for example screenshot on the phone to Chevereto

Example:
Like this?

web.com/engine?some data

or how?
THX

I have PHP script that works here is it:
<?php

// read the incoming image data handed over from Python S60 phone
$data = file_get_contents('php://input');

// create a filename based om time and a random number
$nick = strtr($_GET['nick'], '/\\.:\0', '_____');
//$file = strtr($_GET['file'], '/\\.:\0', '_____');
$timestamp = time();
$filename = $nick.'_'.$timestamp.'.jpg';
// $filename = $_FILES["file"]["name"];

// write the file to the server into the directory named beijing
$filepathname = "images/$filename";
$handle = fopen($filepathname, 'wb');
fputs($handle, $data, strlen($data));
fclose($handle);

// return the filename
echo " ".$filename;
?>

How this using to upload via Chevereto

Thank you

Thumbs up

Re: Upload via Phone

1.91 doesn't have a decent way to achieve this.. You should try 2.0 instead.

rodolfoberrios.com | PLEASE use Tech Support forums to ask for support!