Socket
How to get data from page an independent of your size?
In: PHP Code:
|
Re: Socket
Socket has a limit? I can not solve this problem ...
|
Re: Socket
Code:
socket_recv(g_Socket, g_Data, 999) |
Re: Socket
My data.php page:
PHP Code:
Code:
Json: HTTP/1.1 200 OK |
Re: Socket
It's possible that server_print() will only show up to X characters per print, but I'm not sure on that one.
There are some instances where you will not receive all data in a single socket_recv() call. I quickly put this together to show you how to get an entire file. It will write all received data to TESTFILE.txt in your mod directory. PHP Code:
|
All times are GMT -4. The time now is 03:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.