From: C y b e r T e c h @ L i s t s . E x M a c h i n a . n e t
<http://www.cybercafe21.net> & <http://www.cybercafe21.tv>
Stefan Champailler wrote:
> Ben non, justement �a ne marche pas. Cfr la "premi�re" version de mon code :
>
> > /*header("Location: " . $DOCURL . $file ."\n");*/
>
> J'ai l'impression que mon setcookie() perturbe un peu les op�rations.
Le probleme vient exactement de ton set cookie, car pour
transmettre le cookie, ton browser utilise le header.
Tu dois le faire en 2 steps ou en meme temps, voici la solution
en WebDNA (a traduire en PHP mais c'est pour le principe):
[returnraw]HTTP/1.0 302 Found
Set-Cookie: variable=value; path=/; domain=.zzz.com
Set-Cookie: variable2=value2; expires=Wednesday, 09-JUN-22 22:00:00 GMT;
path=/; domain=.zzz.com
Location: http://www.zzz.com/thefile.pdf
[/returnraw]
<brice/>
--
Brice Le Blevennec, Digerati, ListDad, <http://www.brice.net>
Emakina S.A. - The e-business Agency <http://www.emakina.com>
Ex Machina Television S.P.R.L.- Television & Radio Production
<http://www.cybercafe21.net> <http://www.netbusinessnews.com>
Contact Office Group S.A. - The Professional Online Office
<http://www.contactoffice.com>
Des Cadeaux, des avantages et des offres qui vous interessent ?
http://www.justforyou.be... what you want is what you get !
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CCTK vous est offert par Emakina <http://www.emakina.com>
Pour vous desabonner <mailto:[EMAIL PROTECTED]>