how to map image from php

This forum contains topics that were moved from Get Satisfaction
Nisa Khalid
Posts: 0
Joined: Tue May 05, 2015 1:36 pm

how to map image from php

Post 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 ?

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

how to map image from php

Post by Alena Prykhodko »

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

how to map image from php

Post 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

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

how to map image from php

Post 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.

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

how to map image from php

Post 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?

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

how to map image from php

Post 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?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

how to map image from php

Post 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.

Post Reply