Sending http header via php

Started on the old forum in September 2010 · view the original in the archive · old links redirect here

6 replies · 711 views · started 16 years ago · 1 min read

4 participants
Guest #1

Hey guys how would you send a http header via php to make another site think that your browser is something different like a nokia 6600 for the purpose of file_get_contents(); or other functions for scanning websites etc ?

Guest #3

Thanks for the reply

what would the curl function be to send a http header to another page ? i just started learning php about 2 months ago so i have no idea how to do anything in curl 🙂

Guest #5

thanks i will have a look through it as soon as i get a chance

ANGELUS Junior · 17 posts #7

u can use Snoopy class it acts like a web proxy, u can modify the header, referer, proxy, even the user agent to grab website contents, its easy to use.

wow, ive been missing this site for more than 2 years lol

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close