Hello,
I have a couple questions I have thus far been unable to answer on my own via tutorials or the forums. I do hope I am not double posting an old topic.
Firstly, I am trying to design an app that would require the user to log in on first use with an authentication server. Is this a possibility with Livecode? What will my struggles be or are there any beginners guides to doing so?
Secondly, my application would need to upload pictures to a server and host them so that other users of the app could see a online gallery of sorts. Again...what kinds of problems might I run in to with this?
Thanks and sorry I am so vague with my questions. I am a newbie just getting started. If anybody has questions about what I am trying to do please ask so that I may better assist in understanding. Thanks again!
Authentication and Photo Gallery
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Authentication and Photo Gallery
LiveCode on iOS can talk to remote servers in a number of ways - I've done some simple stuff using php and MySQL that could be modified to do authentication. If I can work out how, anyone should be able to
I'm not sure you'll find a beginners guide to doing exactly what you need, but a combination of php and MySQL tutorials got me started (I did have some limited sql experience, but from 20 years ago).
I've also written an app that sends text or photos to a server, and other clients can view recent contributions to the server in a scrolling list (inside speech bubbles, too!). It works fine but it does seem that a Objective C app would be better especially if you need to display and scroll lots of images quickly - LC scroller performance is only just acceptable and in other respects LC isn't as snappy as it could be, compared to native apps.

I've also written an app that sends text or photos to a server, and other clients can view recent contributions to the server in a scrolling list (inside speech bubbles, too!). It works fine but it does seem that a Objective C app would be better especially if you need to display and scroll lots of images quickly - LC scroller performance is only just acceptable and in other respects LC isn't as snappy as it could be, compared to native apps.
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: Authentication and Photo Gallery
Thanks for the response. That was pretty much the answer I expected to hear. 

Re: Authentication and Photo Gallery
Hi
I need help with code that adds photos to MySql Database.
Please tell me what I am doing wrong with my code.
mk
I need help with code that adds photos to MySql Database.
Please tell me what I am doing wrong with my code.
Code: Select all
put "CREATE TABLE Images (image1, image2)" into tSQL
revExecuteSQL sDatabaseID, tSQL
put the imagedata of image "A" into tImageData1
put the imagedata of image "B" into tImageData2
put "INSERT into Images VALUES (tImageData1,tImageData2);" into tSQL
revExecuteSQL sDatabaseID, tSQL