|
|
| |
1. Class doesn't work |
|
Reply |
|
|
 Jack Frusciante | 2004-12-16 20:31:28 |
Hi, your class don't work for me.
In this line
$responce = unpack("Cversion/Cresult/Creg/Ctype/Lip/Sport", $buf["recv"]);
in the connet function i always receive this warning
Warning: unpack(): Type C: not enough input, need 1, have 0
because $buf["recv"] is empty.
I tried some socks servers and always the same warning.
I would like to use your class for a simple ftp client in php, can you help me?
|
| |
2. Re: Class doesn't work |
|
Reply |
|
|
 Ilya S | 2005-10-12 10:52:32 - In reply to message 1 from Jack Frusciante |
| Have the same error on 100% working socks server :( |
| |
3. Re: Class doesn't work |
|
Reply |
|
|
 splitice | 2007-10-04 09:58:09 - In reply to message 2 from Ilya S |
| same with me trying to connect through a virtual proxy on my own pc, the class simply dosent work. |
| |
4. Re: Class doesn't work |
|
Reply |
|
|
 Günter Grodotzki | 2008-12-26 12:32:27 - In reply to message 3 from splitice |
to all:
check out my socks5 class (originated from this one) which I made as I encountered exact the same problems: http://www.phpclasses.org/browse/package/5049.html
it works 100% (under php5 and "sockets" enabled) and it includes some additional features (like socks5 user/pass authentication) |
| |
5. Re: Class doesn't work |
|
Reply |
|
|
 xjust | 2009-04-14 01:23:51 - In reply to message 4 from Günter Grodotzki |
| thanks a lot for your new and improved class. is there any way to 'emulate' a fsockopen based on this one ? |
|