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
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 3 of 3
Search took 0.03 seconds.
Search: Posts Made By: vungom
Forum: Tips & Tricks 03-03-2008, 01:58 PM
Replies: 10
Views: 1,254
Posted By vungom
btw i am comparing variable to variable from a...

btw i am comparing variable to variable from a text file something like this

if(($user==$username) && ($pwd==$pass) )
{
echo "correct"; }

thanks for the quick reply
Forum: Tips & Tricks 03-03-2008, 01:56 PM
Replies: 10
Views: 1,254
Posted By vungom
i also tried that one but still get the echo...

i also tried that one but still get the echo correct even if the pwd is not equal to variable b
Forum: Tips & Tricks 03-03-2008, 01:35 PM
Replies: 10
Views: 1,254
Posted By vungom
i created 2 variables to compare but i think php...

i created 2 variables to compare but i think php only compares the first variable
something like this
if($a=='user'&& $b=='pwd')
{
echo "correct";
}
Showing results 1 to 3 of 3

 

All times are GMT. The time now is 03:13 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design