Results 1 to 3 of 3

Thread: How to specify assign 'HTTP_REFERER for my vb app

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Arrow How to specify assign 'HTTP_REFERER for my vb app

    I am creating a program that talkes to http server and they do check for

    $_SERVER['HTTP_REFERER'] but i wonder how i can assigne one for my application? Could any one tell me how.Thanks

  2. #2
    Hyperactive Member
    Join Date
    Jul 2001
    Location
    Chesterfield, Mi
    Posts
    259

    Re: How to specify assign 'HTTP_REFERER for my vb app

    I'm pretty sure if you use winsock, you can stuff the value into the header.

    stolen get header from msdn

    Code:
    GET /articles/news/today.asp HTTP/1.1
    Accept: */*
    Referer: http://localhost/links.asp
    User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
    Not sure how you would do it with the webbrowser control. winsocks much faster anyways

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Re: How to specify assign 'HTTP_REFERER for my vb app

    Many thanks to u reply could u tell me how i can do it for winsock? also is it possible to put like Media Real player or some thing else using winsock.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width