TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
Advertisement
Associates
Associates
techtuts Darkmindz
CSS Tutorials Tutorialsphere.com - Free Online Tutorials
Boston PHP SurfnLearn
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 08-04-2008, 10:39 PM   #1 (permalink)
The Visitor
 
Join Date: Nov 2007
Posts: 3
Thanks: 0
nefus is on a distinguished road
Default $_POST in include

Hey guys, I'm having a weird issue where $_POST isn't working inside an include() script. Am I doing something wrong?
nefus is offline  
Reply With Quote
Old 08-05-2008, 12:44 AM   #2 (permalink)
The Contributor
 
tony's Avatar
 
Join Date: Aug 2008
Posts: 61
Thanks: 7
tony is on a distinguished road
Default

are you using it for the path? maybe the putting the code would help to get a better look at it.
tony is offline  
Reply With Quote
Old 08-05-2008, 12:54 AM   #3 (permalink)
The Visitor
 
Join Date: Nov 2007
Posts: 3
Thanks: 0
nefus is on a distinguished road
Default

Well... the plot thickens. Apparently thats not the problem after all. If I do a $_POST to the index.html, it doesn't grab the $_POST. However if I put the same code into a test.html, it does grab the posted data. It doesn't seem to be a php problem after all.

Thanks guys. Sorry for posting in the wrong area I guess.
nefus is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:48 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0