|
Posted by Captain Paralytic on June 5, 2008, 6:18 am
Please log in for more thread options >
>
>
is on the left and labelled is on the right
> > > without css, label is on the top and labelled is on the bottom
>
> > I have no idea what this is supposed to mean!!!
>
> > > sanitize("post", "email");
> > > sanitize("post", "password");
> > > echo $email;
> > > echo $password;
>
> > > I type test...@testing.com for username and testing for password at
> > > modify.php, but modify2.php echoes t...@test.com for username and test
> > > for password. Why???
>
> > I suspect it has something to do with sanitize(), but you didn't post
> > the details of that function.
>
> function sanitize($method, $variable)
> {
> $variable=$_[$variable];
> $variable=htmlentities($variable);
> $variable=mysql_real_escape_string($variable);
>
> }
Are you sure that what you have shown us as the contents of
modify2.php is really all that is in it and do you have Register
Globals switched on?
Your sanitize function is not valid php and should display some
errors. It is certainly not going to influence the contents of any
variables in the main modify2.php script.
|