AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Set custom useragent & referer (Sockets) (https://forums.alliedmods.net/showthread.php?t=213892)

lucas_7_94 04-20-2013 10:10

Set custom useragent & referer (Sockets)
 
Title says all , i want to set a custom useragent and referer when i join to website , using sockets . is it possible ?

In php easy way..

PHP Code:

$useragent 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)';
curl_setopt($chCURLOPT_USERAGENT$user_agent);

curl_setopt($chCURLOPT_REFERER'http://forums.alliedmods.net'); 


thesnakebiter 07-23-2013 09:01

Re: Set custom useragent & referer (Sockets)
 
I know it was three months ago but....
You will need to modify the header that you send in the sockets

Destro- 07-23-2013 12:07

Re: Set custom useragent & referer (Sockets)
 
https://forums.alliedmods.net/showthread.php?t=189598
https://forums.alliedmods.net/showthread.php?p=1747776
?


All times are GMT -4. The time now is 10:48.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.