Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   POST data in THTTPRequest? (https://forums.graalonline.com/forums/showthread.php?t=134257826)

12171217 01-31-2010 06:06 PM

POST data in THTTPRequest?
 
Just wondering, is there a way to specify the POST data, if I were to be communicating with a PHP server quite a large amount of data that would exceed the maximum URL length for a specific webserver, and thus can't use _GET?

fowlplay4 01-31-2010 06:29 PM

Nope, the only way atm is through TSocket which you need to request to be open and the specific IP.

12171217 01-31-2010 06:39 PM

Quote:

Originally Posted by fowlplay4 (Post 1553400)
Nope, the only way atm is through TSocket which you need to request to be open and the specific IP.

Well now I can't do nice things..

Any workarounds? I'm doing this on the client, by the way.

I need to transfer an array of tiles to a PHP server. I could write a PHP script that would append several _GET's until I get the full 4096 array..

cbk1994 01-31-2010 07:07 PM

Nope, there is no workaround for POST data. It is possible with TSocket.

fowlplay4 01-31-2010 07:18 PM

Quote:

Originally Posted by 12171217 (Post 1553402)
I could write a PHP script that would append several _GET's until I get the full 4096 array..

That's what I did for my ZMS system on Zodiac.

coreys 01-31-2010 11:19 PM

You could use TSocket...but I've never seen -any- documentation for it. That and I'm not sure if you still have to have Stefan enable it on the server or not.

12171217 01-31-2010 11:23 PM

Damn Coreys, you don't even read these threads, do you?


All times are GMT +2. The time now is 12:43 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.