I send vars to a PHP file and <?echo $contact?> wont work. If I place <? phpinfo();?> i can see the variable was passed to the php file. This is a new install on a win 2K. In phpinfo() PHP Variables this is what I get. It is passing the correct but echo does not work.
_POST["contact"] Test Name
Thanks,
I also can't POST
Moderator: General Moderators
take a look at register_globals
if set to false the posted variables aren't accessible by $<name> but $_POST or $_REQUEST
p.s.: and again somebody was faster than I was
p.p.s.: how about a sticky (readonly) faq-thread with the title "READ THIS before posting"?
if set to false the posted variables aren't accessible by $<name> but $_POST or $_REQUEST
p.s.: and again somebody was faster than I was
p.p.s.: how about a sticky (readonly) faq-thread with the title "READ THIS before posting"?
>sigh<
dont you just wish that everyone installing php 4.2.1 would read this article:
http://www.webmasterbase.com/article.php?pid=0&aid=758
Simply put DO *NOT* TURN REGISTER GLOBALS ON!!!
j
dont you just wish that everyone installing php 4.2.1 would read this article:
http://www.webmasterbase.com/article.php?pid=0&aid=758
Simply put DO *NOT* TURN REGISTER GLOBALS ON!!!
j
-
antaresdata
- Forum Newbie
- Posts: 2
- Joined: Wed May 22, 2002 9:10 pm
It works
I turned register_globals = off and used
$company = $_REQUEST['company']; instead of just $company.
This works great!!!!
Thanks for the help
[/quote]
$company = $_REQUEST['company']; instead of just $company.
This works great!!!!
Thanks for the help
[/quote]