Thread: Referal URL

    #1
  1. PHP & Java Error Master
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2003
    Location
    My Computer
    Posts
    1,219
    Rep Power
    0

    Referal URL


    How would I get the referal url?

    And when i use request.getHeader("referer"); i get a nice nullpointerexception..
    Last edited by StevenC; July 18th, 2003 at 11:53 AM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2003
    Location
    No es importante
    Posts
    2,065
    Rep Power
    14
    Are you getting anything with the getHeader()?
    What do you get with
    request.getHeader("USER-AGENT")?
  4. #3
  5. PHP & Java Error Master
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2003
    Location
    My Computer
    Posts
    1,219
    Rep Power
    0
    Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

    But I got it working. Had put referer in caps. Though, the way you had it there gave me the idea.

IMN logo majestic logo threadwatch logo seochat tools logo