AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Function to query website with? (https://forums.alliedmods.net/showthread.php?t=21977)

werty 12-15-2005 14:41

Function to query website with?
 
Simply: Which function i can use to pass some variables to remote server's php script and how do i use it. For example if i have script.php which process variables x and y i need function to query script.php?x=%d&y=%d. I hope you understand, eaven if my english is terrible :roll:

Geesu 12-15-2005 16:21

Only way to do this is to use the socket module... have fun...

Or you could display the page on a user's screen with the show_motd function, and just use the URL

werty 12-16-2005 10:40

Ok, thanks, i'll try it out :)

Edit: Ok, i have no idea what data i should send to server and so on nad I'll never have because I'm' too damn stupid. I think i'll just pass :D

SweatyBanana 12-16-2005 11:34

@Geesu Some websites will not come up in an MOTD window, such as http://www.amxmodx.org/forums

fantaman 12-16-2005 11:37

try www.amxmodx.org/forums/index.php ?

SweatyBanana 12-16-2005 11:39

I dont have a problem...i dont mind...I was just informing...

Geesu 12-16-2005 11:54

Didn't realize that about the MOTD thing, I wonder if the meta refresh works?

werty 12-20-2005 12:12

Ya, I didn't mean motd. I meant thet server would silently connect webpage informing nothing on to clients.


All times are GMT -4. The time now is 16:07.

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