Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Web Applications

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-16-2008, 03:23 PM
bigcheese
Status: Offline
Junior Member
 
Join Date: Mar 2008
Posts: 9
Rep Power: 0
bigcheese is on a distinguished road
Default [dev] How to interact with php from Webapps?

Hi,
i try to make a database query (mysql) from php... this is already working...
but how can I implement this in my webapp?
Do I have to make a HTTPRequest? or does it work inline in one file?
I want to:
from Webapp, read Config, pass then login and password to PHP script.
the PHP script then makes the database query and returns somehow the return from the db-query - this should then be shown in the webapp in a list...

can someone please give me some hint how to do this?
I don't find anywhere some sample code to do this

thanks,
bigcheese
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-16-2008, 03:54 PM
Scape-Server
Status: Offline
Senior Member
 
Join Date: Dec 2007
Posts: 177
Rep Power: 10
Scape-Server is on a distinguished road
Default

I'm trying to do the same sort of thing as well. I am trying to make my iTunes streaming look more 'iphoney' but I can only load one page list of things at a time (the artists).

Any help would be appreciated I would post if I work it out. You could try having the user click a button and use a hidden text field to store then needed info. Then use cookies (set on the second page) for the login.

James,
__________________
I like pie.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 03-16-2008, 06:58 PM
bigcheese
Status: Offline
Junior Member
 
Join Date: Mar 2008
Posts: 9
Rep Power: 0
bigcheese is on a distinguished road
Default

hm... on this link:
http://forums.macrumors.com/showthread.php?t=452311
, Post #7 - perhaps this is the solution?
but it is a little much for me to follow...

any other hints?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 06:14 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105