Posted by Jerry Stuckle on 09/17/05 06:19
Tamer Higazi wrote:
> Neither that!
> even if I change the form method post and the whole script to "GET"
> instead of "POST", I still receive no cookie!
>
>
That's because you're sending output before the call to setcookie()!
Makes no difference if it's GET or POST - you cannot send ANYTHING - no
blank line, no nothing - before a call to setcookie().
Fix you code and it will work just fine!
P.S. Please don't top post.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|