• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Upload via Phone

Benecore

Chevereto Noob
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?
Code:
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
 
1.91 doesn't have a decent way to achieve this.. You should try 2.0 instead.
 
Back
Top