I've been using PHP (and perl) for quite a while and consider myself fairly seasoned in the scripting language; however, I have come across something that has stumped me, which has led me to post herein.
I have an index.php file which upon loading searches the same directory for files ending in a certain extension and automatically 'including' them with the file. Each file that is included is associated with a page number so that when a user passes a specific page number (i.e. http://mypage.com/?50
), the included php script which has the page 50 functions is called. (Did all that make sense?)
On this last function I was writing, I have a form. When I go to POST the input, $_POST does NOT populate with those values. However, when I wrote the first edition of this site I used pretty much the same script, just different backbone. Just streamlining it this time. However, there really isn't much to $_POST. A user submits and $_POST gets populated.
I say all that to say this: Has anyone encountered any problems populating $_POST only sometimes or within certain routines? Normally (on the same server) it works just fine. Is there something that can 'cancel out' a $_POST? I just really puzzled here. I've spent three days on this issue and really want to move on. Any insight would be GREATLY appreciated. Thanks.