Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

image upload to remote server

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.

Carlos Pinto
Posts: 0
Joined: Mon Oct 14, 2013 11:09 am

image upload to remote server

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!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

image upload to remote server

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

Carlos Pinto
Posts: 0
Joined: Mon Oct 14, 2013 11:09 am

image upload to remote server

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 :(

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

image upload to remote server

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/

Nisa Khalid
Posts: 0
Joined: Tue May 05, 2015 1:36 pm

image upload to remote server

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

image upload to remote server

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

Nisa Khalid
Posts: 0
Joined: Tue May 05, 2015 1:36 pm

image upload to remote server

Okay,so how can i upload image using php?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

image upload to remote server

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

CMWOO
Posts: 0
Joined: Tue Jan 26, 2016 4:01 am

image upload to remote server

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().

Return to “Issues”