| View previous topic :: View next topic |
| Author |
Message |
bobhinkle
Joined: 13 Oct 2006 Posts: 68
|
Posted: Wed Dec 06, 2006 10:39 am Post subject: Php program |
|
|
Hey humpa i'm back for more php questions.
Ok here it is, i want to start developing mobile apps but since phones either have java or brew i wanted to develop apps that code be loaded from the web. I believe php and html coding is where i would start. So thats my first question. Should i work with php and html for developing apps or move on to something else?
For php stuff, is there a way to have a php program that doesn't need to load another page. like it can run, ask for different input but not need to reload the page like post and gets do? |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Wed Dec 06, 2006 11:20 am Post subject: Re: Php program |
|
|
| bobhinkle wrote: |
Hey humpa i'm back for more php questions.
Ok here it is, i want to start developing mobile apps but since phones either have java or brew i wanted to develop apps that code be loaded from the web. I believe php and html coding is where i would start. So thats my first question. Should i work with php and html for developing apps or move on to something else?
For php stuff, is there a way to have a php program that doesn't need to load another page. like it can run, ask for different input but not need to reload the page like post and gets do? |
You need to use something that runs on the browser. A server side script always has to reload the page.
When using php, you are really using html (or wml or javascript or whatever) - the server uses php and sends the html to the browser.
If the mobile device supports javascript, that is what you'll need to use if you don't want the page to reload. I believe there is a wml script that is similar to javascript that some mobile browsers might support - I'm not sure though.
Java apps can simply be loaded by clicking on a link to the jad file. Assuming the phone suports java, of course. |
|
| Back to top |
|
 |
bobhinkle
Joined: 13 Oct 2006 Posts: 68
|
Posted: Thu Dec 07, 2006 12:25 pm Post subject: |
|
|
yeah java enabled phones would be sweet but with me and most verizon people its not possible. I guess i will just have to figure something else. I like php, i just need to learn more about it is all.
Thanks again for your help humpa |
|
| Back to top |
|
 |
bobhinkle
Joined: 13 Oct 2006 Posts: 68
|
Posted: Wed Dec 20, 2006 11:00 am Post subject: |
|
|
I started looking in that WML stuff. Not to bad. I had another question for you though.
I tried looking around for info about php daemons. I found something awhile back but couldn't find it again. Basically i wanted to write a proxy program but in php. Why php, so i can port it to both my windows server and linux servers. I could do it in perl but i'm not all that familiar with it even though they look pretty close.
Any ideas |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Wed Dec 20, 2006 11:57 am Post subject: |
|
|
HoTTProxy is a very good free proxy ... why not use that?
www.hottproxy.org |
|
| Back to top |
|
 |
bobhinkle
Joined: 13 Oct 2006 Posts: 68
|
Posted: Wed Dec 20, 2006 12:19 pm Post subject: |
|
|
| I have been but i wanted to add mysql support for usernames instead of file handling. Also i've tried to ask the creater before but i have a lot of users on it and his license says for personal use only. Just trying to see about any other options. |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Wed Dec 20, 2006 1:10 pm Post subject: |
|
|
| CuriousGeorge doesn't care how you use it ... he even responded to a post on HoFo last week when someone asked how many users it supported. He said there was no theoretical limit. |
|
| Back to top |
|
 |
bobhinkle
Joined: 13 Oct 2006 Posts: 68
|
Posted: Wed Dec 20, 2006 1:48 pm Post subject: |
|
|
| well i would love to keep using it. I mean i have over 100 people on my server. Its free. I just wanted to help those who couldn't get their own setup going. I still would like to somehow add mysql support. Do know if this would be hard with the perl script he has? |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Wed Dec 20, 2006 2:04 pm Post subject: |
|
|
perl isn't too hard - I imagine it would be easier than building a proxy.
I don't know anything about how hottproxy was written though |
|
| Back to top |
|
 |
|