Going to begin work soon on an original, fully customized WordPress theme for DailyWebGeek.com. More details to follow.
Going to begin work soon on an original, fully customized WordPress theme for DailyWebGeek.com. More details to follow.
Beginning preliminaries for this, doing research (very special thanks to Antonio Lupetti for his STUpendous article, “Best Practices To Develop Perfect Websites for iPhone and Mobile Devices!!) My Japanese pop-culture site, Jpopexpress.com, has a mobile functionality (which uses Google Reader), but certainly an independent, standalone mobile-optimized version of your website would be superior (and in addition, provide you with more distance from the “proprietary monopolies,” something that I have been increasingly focusing on lately
).
[Oh, and FYI: just in case you didn't know already, dimensions for the iPhone screen are 320w x 480h
]
After trying SEVERAL different possible methods & suggestions, I finally was able to achieve this by pointing my form’s PHP processing page to another page, rather than the same page itself (I really wanted to keep everything – form as well as form-handling all on the same page, but I found that I had to do this in order to prevent the user from re-submitting form data [through the contents of the $_POST array] that does not clear upon a user’s hitting the refresh button on the browser). And following that, I had my form’s processing page script then re-direct back to the original page where the form was located:
// redirect to the same page without the POST data
header(“Location: original-page-with-form.php”);
die;
Here are some of the pages I consulted in my research:
http://www.thefutureoftheweb.com/blog/get-redirect-after-post
http://www.issociate.de/board/post/171234/Clear_POST_variables_on_page_refresh.html
http://www.mail-archive.com/php-list@yahoogroups.com/msg04635.html
http://qaix.com/php-web-programming/437-896-clear-post-variables-read.shtml
*NOTE: Of course, keep in mind that any header(“Location: PAGE”); PHP code must be included BEFORE any contents are outputted on the page, otherwise you will get the lovely “Headers already sent” PHP error.
Hope this can help anyone else out there who may be struggling with the same issue