Reply to Re: $_SERVER problem

Your name:

Reply:


Posted by SocketE on 08/11/05 17:07

thanks!!
;)

"Kimmo Laine" <eternal.erectionN05P@Mgmail.com> escribiσ en el mensaje
news:soEKe.5675$jU.1987@reader1.news.jippii.net...
> "SocketE" <malice@mizer.jp> wrote in message
> news:42fa30db$1_2@nova.entelchile.net...
>> when I set
>> $_SERVER ['PHP_AUTH_USER'] = $User;
>> in the main page,
>>
>> in the next page says:
>> Notice: Undefined index: PHP_AUTH_USER
>> with this
>> echo $_SERVER['PHP_AUTH_USER'];
>>
>> I'm using apache + php4
>>
>> something wrong??
>
>
> Yes. You can't write anything to $_SERVER and expect it appear on the next
> page. You use $_SESSION and $_COOKIE for that. $_SERVER is generated by
> php engine each time a page is loaded, it's not something you store data
> in, only the php does.
>
> --
> Welcome to Usenet! Please leave tolerance, understanding
> and intelligence at the door. They aren't welcome here.
> eternal piste erection miuku gmail piste com
>

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация