![]() |
requesturl(), forget it.
Turns out that everyone who even bothers using it, uses requesturl(), here's some advice, it only allows IPs, so don't. requesthttp() will work just as good :).
for example, to access Google: requesthttp("www.google.com",80,0); I have reason to believe the 3rd argument is used to pass what the browser should immitate, such as IE, Firefox, so on. Not quite sure, but passing different arguments will cause different things :). |
The 3rd Argument
It's actually the sub folder. :)
|
I cannot get requesthttp to work. (I'm trying clientside if it matters.)
Requesturl reports the user agent as Graal/4.103. Does requesthttp work in the same way as requesturl? I cant get it to work and i cant find any examples. |
Quote:
Was this thread intended to be a bug report, or what? |
http://wiki.graal.net/index.php/Crea...pt/Requesthttp
There was a problem on serverside which didn't allow host names, that is fixed now, although restarting the npcserver might also requiring to restart the gserver. |
then the third arguement is not as linkoraclehero suggests and we may as well continue using requesturl.
|
...
Okay, the first argument is the server (no HTTP, no sub folder).
The second is the port (For websites, you want 80). The third is the sub folder. Kthnx. |
I still don't understand the purpose of this thread.
|
| All times are GMT +2. The time now is 08:57 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.