phpformgen problem with PHP5 - Old Database

Wednesday, April 25, 2007

phpformgen problem with PHP5

Okey, Please don't ask why I am blogging about this. If you want to ask why, it is because I want to! Hehe. Maybe there's another reason why? This one is a pretty old problem that I've encountered using PHP5, after migrating from PHP4. I just wanna right this stuff because somebody encountered the same problem as I did. So that I can help if someone who's newbie in creating PHP form processors uses phpformgen from SourceForge.

Just lately, somebody PMd me at chatango, (that small live chat box at the sidebar of my blog). He asked about phpformgen problems in PHP5. Then I answered it, because "alam ko eh, hehe". My answer was easy, just remove that global.inc.php includes thing in your process.php that was generated by the phpformgen. Then, delete the pt_registers and edit the posting functions from 'POST' to $_POST, that's how easy it is. You can make your own form processor by just applying that simple function, you can send email information from form starting from a scratch. You can view my very very simple PHP form processor here, just one data to be sent to a form recipient, so that you'll have a basic idea. (for those newbie who really doesn't have the basic concept, but for pro-programmers, I'm sure you will laugh at this post, hehe).

I have a screenshot of my basic form processor with one data sent to the recipeint's email below, if you have some problems regarding that processor, you can contact me by any means, hehehe, here's the screeny:



















Source of the super duper newbie basic form processor here:
http://dostscholars.com/boards/viewtopic.php?t=533