Need a very simple PHP script.
Posted: Sun Apr 05, 2009 5:45 am
Hi there,
I'm a cocoa developer and for one of my apps I need to do some server side coding. Problem is, I've no experience with PHP at all.
What I need isn't very complicated (I don't think).
Basically I need to be able to post 2 strings to my website, and then have a page on the site display them.
They need to be saved until 2 other strings are posted to replace them.
For example, if I post "string1" and "string2" to "theFile.php", I would then like a file called "displayTheStrings.html" to just show them in the body of the page. They need to be saved so I can view them when I need to, but then If I post two more strings, the old ones are replaced.
Thanks,
Tom.
I'm a cocoa developer and for one of my apps I need to do some server side coding. Problem is, I've no experience with PHP at all.
What I need isn't very complicated (I don't think).
Basically I need to be able to post 2 strings to my website, and then have a page on the site display them.
They need to be saved until 2 other strings are posted to replace them.
For example, if I post "string1" and "string2" to "theFile.php", I would then like a file called "displayTheStrings.html" to just show them in the body of the page. They need to be saved so I can view them when I need to, but then If I post two more strings, the old ones are replaced.
Thanks,
Tom.