Alicia Posted September 27, 2006 Share Posted September 27, 2006 Hi, I am having problem print out the value posted from a form by using echo $var even the register_globals is onfrom a form and post the value of username and password to this file : usename entered in the textfield : userpassword entered in the textfield : passscript i used to test the outputecho "$username-$password";echo "{$_POST['username']}+{$_POST['password']}";it supposed to output user-passuser+passbut now it only output-user+passSo it is very obvious the first script is not working and only second is working in this server... when I tested this in my friend's server it is working. What seems to be the problem? The code works perfectly in the server since years ago and it started to give prob last week..please advise how to get this fixed... this shouldn't be coding prob,,, when i asked the hosting admin, they said their server is working fine.. so what is the problem them???? how to solve this prob ???anyone can help ? Quote Link to comment Share on other sites More sharing options...
warewolfe Posted September 27, 2006 Share Posted September 27, 2006 Hej Trying to understand the problem. Is it the sudden change in the script behaviour?Otherwise add$username=$_POST['username'];$password=$_POST['password'];to the start of the echo script. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.