[PHP] $ SERVER["REQUEST URI"] includes domain unexpectedly

2007-09-14 Thread junk
In my old server running Apache 1.3 and PHP 4 this code will return just the URI as expected: $_SERVER["REQUEST_URI"] = "/some-html-file.html" In my new server with Apache 2 & PHP 4 this code returns the domain: $_SERVER["REQUEST_URI"] = "/full-domain-name.com/some-html-file.html"

Re: [PHP] session vs. header

2002-11-06 Thread huge junk mail
ike searching something then it led to an error. I don't know why this could happen. Am I missing something? Thank you. huge junk mail <[EMAIL PROTECTED]> wrote:Can someone tell me why I can't have $_SESSION['foo'] = 'content of foo'; following by head

[PHP] session vs. header

2002-10-30 Thread huge junk mail
Can someone tell me why I can't have $_SESSION['foo'] = 'content of foo'; following by header('Location: http://www.mysite.com'); Someone from www.php.net told me that it can confuse browser (http://bugs.php.net/19991). But, still I can't the idea why it can happen. Does register session means

[PHP] Crack extension

2001-04-04 Thread junk-php
Anyone using the crack extension in PHP? AZ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Requiring variables to be pre-declared?

2001-04-04 Thread junk-php
Try setting your error level to E_ALL when being driven nuts... You'll get lots of useful feedback. August ""Eric Knudstrup"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Being new to PHP from the C world, is there anyway that I can enforce that > variables

Re: [PHP] PHP.net is slow

2001-04-04 Thread junk-php
With the exception of some true downtime, I really love the new design, just wish it was easier to write to the folks responsible to say thanks. Fast, lightweight, and good looking... They're too modest. Bravo guys... August ""Matt Friedman"" <[EMAIL PROTECTED]> wrote in message 002f01c0bd37$60