Page 1 of 1

how to map image from php

Posted: Fri Jul 10, 2015 2:15 pm
by Nisa Khalid

i made php script for uploading image to sql database. in my sql table consist or image file name and image (blob).

i'm using this example of code
Image

how can i map the data for upload ?


how to map image from php

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

how to map image from php

Posted: Sat Jul 11, 2015 1:22 am
by Nisa Khalid

if i have the code how can i apply it to appery,its working for login and registration,my problem is image,how can i add files to appery using external database


how to map image from php

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

Appery.io works with RESTful services, so your external database need to be exposed with REST service to communicate with Appery.io app.


how to map image from php

Posted: Sat Jul 11, 2015 1:39 am
by Nisa Khalid

i already connected with the restful services, but still how to add files to appery? i have go through this https://devcenter.appery.io/tutorials... but it only for text data,how about files?


how to map image from php

Posted: Sat Jul 11, 2015 9:39 pm
by Alena Prykhodko

how to map image from php

Posted: Sat Jul 11, 2015 9:45 pm
by Nisa Khalid

hey alena,the link you gave are using appery database? i want to upload to sql database, i have been searching tutorial upload image using php,but the support said out of scope,but there's no tutorial how to upload using api express like the link i gave u above,only for the text?


how to map image from php

Posted: Thu Jul 16, 2015 2:00 am
by Yurii Orishchuk

Hi Nisa,

1 You can not use mapping for upload files.

2 Unfortunatly we don't have such example about how to upload files to 3rd party DB.

But Appery.io is phonegap/cordova based and you need to use solution for this platform.

Please learn example solution here: http://zacvineyard.com/blog/2011/03/u...

Regards.