In message <[EMAIL PROTECTED]>, Website Managers
<[EMAIL PROTECTED]> writes
>--- In [email protected], Pete <[EMAIL PROTECTED]> wrote:
>>
>> 
>> Can someone suggest what is happening here?  This is a section of a 
>log
>> file, with (the same) IP address removed.  5 entries. 
>> 
>> 1) quote.php contains a form, <FORM METHOD="post" 
>ACTION="quoteb.php">,
>> where the user enters name, address, about a dozen items.  User 
>should
>> then click submit and be taken to 5) quoteb.php.  quoteb.php checks
>> $_SERVER['HTTP_REFERER'], and behaves accordingly.  But in this 
>case, it
>> doesn't recognise the calling page.  $_SERVER['HTTP_REFERER'] is 
>empty.
>> 
>> 3) and 4) are images, called on all pages - (and one background 
>image is
>> missing!  Must fix that)
>> 
>> But what is 2)??  could it be the index.php?  Or the included CSS 
>file?
>> And why??  And why does it only take 2 seconds to get to it?  Then a
>> much more reasonable 6 minutes to reach the next page.
>> 
>> Is it 2) that is causing  $_SERVER['HTTP_REFERER'] to be empty? Or
>> something more mysterious?
>> 
>> 
>> 
>> 
>> 1)  - - [12/Oct/2005:13:54:16 -0500] "GET /quote.php HTTP/1.1" 200 
>3434
>> "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
>> 
>> 2)  - - [12/Oct/2005:13:54:18 -0500] "GET / HTTP/1.1" 200 4867 "-"
>> "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
>> 
>> 3)  - - [12/Oct/2005:13:54:27 -0500] "GET /image/header6.jpg 
>HTTP/1.1"
>> 206 4910 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
>> 
>> 4)  - - [12/Oct/2005:13:54:27 -0500] "GET /ximage/back.jpg 
>HTTP/1.1" 404
>> - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
>> 
>> 5)  - - [12/Oct/2005:14:01:15 -0500] "POST /quoteb.php HTTP/1.1" 200
>> 2094 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
>> 
>> 
>> -- 
>> Pete Clark
>>
>
>Hi Pete
>
>Since the referer in Line #2 is showing "/" and not "quote.php" look 
>for a missing or misplaced quote.

It's not the referer, it's the fetched (supplied?) page.  

> When using server vars, I always 
>use double quotes so the variables are not taken literally. That may 
>or may not affect your script. If you post the line in your script, 
>with one line before and after, we can help you look for the cause.

It surely can't be the script, as the script works correctly 99.99% of
the time.  The visitor is doing something strange (or has a strange
setting in their browser) - this is only the second time that it has
happened.


>
>Jim Hutchinson

-- 
Pete Clark


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to