--- star moon <[EMAIL PROTECTED]> wrote:

> Hi All
>       Since HTTP_REFERER not working perfectly because of Nortan Antivires
> security setting and due to fire wall,  is there any other way of geting back
> url 
>   on page not found customise page.
>    
>   Steps 
>   1. Type url  http://domain.com/xyz
>    
>   2. I have Created page not found customise page and redirect to that page
> by .htaccess
>    
>   ErrorDocument 404 http://domain.com/error.php
>    
>   3.Now i want "xyz" on error.php page
>    
>   How can i get this 
>    
>   Please Suggest
>    
>   Thanks In advance


When HTTP_REFERER works it shows the page which contained a link to your site
that was followed by the web visitor.

When you use ErrorDocument, the content of the file simply replaces the missing
content of the page requested.  You can see the page requested with PHP_SELF or
SCRIPT_NAME.  The SERVER_NAME will identify the domain name requested in the
URL.  If you wanted to catch the GET variables then REQUEST_URI or QUERY_STRING
are helpful.  All of these are in the $_SERVER superglobal.

James



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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