Apologies...
| From: | Luc Saint-Elie | Date: | Sat, 28 Apr 2001 22:40:02 +0000 |
| Subject: | Apologies... | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-643@lists.php.net to get a copy of this message | ||
Hello,
My so-called bug in passing data was in fact a big bug in my authentication class..Smarty is innocent.
I learnt a lot tonight (a part the fact I can be a real dumb ass).. and the more I learn Smarty (and PHP in general) the more I find Smarty very clever and powerfull...
I fixed my problem in managing user registration (xwith email confirm and the stuff like that) but using POST (longs urls and not very secure).
Before tomorrow I try with GET are there any specifics for this mode ?
I mean that I end with this kind of crappy code :
$reponse = $authlib->register($username, $password, $password2, $name, $email, $fmail, $age, $sex, $description, $url);
if ($reponse == 2) {
header("Location: http://test.bdsmfr.com/index.php?op=registerok&username=$username&password=$password&name=$name&email=$email&age=$age&sex=$sex&description=$description&url=$url");
What would be the GET equivalent ?, the values will be passed without any explicite reference ? (I assigned all this variables in my main php file)
Luc