Page 2 of 2

image upload to remote server

Posted: Tue Oct 15, 2013 7:28 am
by Kateryna Grynko

Hi Carlos,

You can create a service with POST method that will send data to your server.
In Response parameters mapping set the needed image. On button click event add "invoke Service" action.


image upload to remote server

Posted: Mon Oct 21, 2013 9:07 am
by Carlos Pinto

Good morning Katya,
thanks for that quick answer and sorry for me being so late.
In theory i understand setting up the SERVICE and what it is good for.
So i went to NEW - SERVICE to create a new service.
But i do not know wich one of them to start with? is it a REST or a generic
security context service?

Thanks in advance!


image upload to remote server

Posted: Mon Oct 21, 2013 10:13 am
by Maryna Brodina

Hello! Have you read these docs http://docs.appery.io/documentation/#...


image upload to remote server

Posted: Mon Oct 21, 2013 10:21 am
by Carlos Pinto

Hello Maryna, yes i have but i it looks like i still do not understand the REST technology. If i am right, in example web-services use REST to make it easier to fetch data from their websites and connect to their websites.
But with my example, all i want is to upload my form to my page at i.e. [url=http://www.domain.com(upload.php]http://www.domain.com(upload.php[/url]

sorry for me being so stupid :(


image upload to remote server

Posted: Mon Oct 21, 2013 11:15 am
by Maryna Brodina

If you need to send/get data from server you have to send ajax request in JS. It's easier to do with Appery.io using REST services, where you can specify server URL, request parameters and map response parameters. Pretty much every tutorial shows how to work wit REST services. I would highly recommend to try our tutorials first http://docs.appery.io/tutorials/


image upload to remote server

Posted: Fri Jul 10, 2015 8:58 am
by Nisa Khalid

how to map the data $_POST['image']; in appery ?


image upload to remote server

Posted: Fri Jul 10, 2015 9:25 pm
by Illya Stepanov

Hi Nisa - Sorry, but mapping won't work with PHP script data in Appery.io.


image upload to remote server

Posted: Sat Jul 11, 2015 12:59 am
by Nisa Khalid

Okay,so how can i upload image using php?


image upload to remote server

Posted: Sat Jul 11, 2015 1:15 am
by Alena Prykhodko

We are very sorry, but php coding is something outside the scope (http://devcenter.appery.io/support-po...) of our support.


image upload to remote server

Posted: Thu Mar 03, 2016 9:17 am
by CMWOO

Hi, Florian Thürkow. Can you solve your problem using the code ? mine's cannot work, my directory seem like cannot work after i add image name on it. I had checked directory before and after adding image name using is_writeable().