the HTTP_GET (Website side)
#3

Quote:
Originally Posted by AustinJ
View Post
For the php side of the script you wound't really need a get varible to be ran though the url. Just have your php page list your stations.

So in Pawn you would call your page via
pawn Code:
HTTP(0, HTTP_GET, "yourdomain.com/yourscript.php", "", "HttpResult");
Then you want to make the 'HttpResult' public callback.
pawn Code:
public HttpResult(index, response_code, data[])
{
    // data[] is your PHP script ouputed source code.
}
Hope that is enough information to get you started.
i understand that but I'm confused on how to use like this test.php?listsongs=1 and after it lists it when they click on one i can show information using the same php like test.php?listsongs=%d&info do you get where I'm going with it?
Reply


Messages In This Thread
the HTTP_GET (Website side) - by Shaneisace - 08.08.2012, 01:25
Re: the HTTP_GET (Website side) - by AustinJ - 08.08.2012, 03:07
Re: the HTTP_GET (Website side) - by Shaneisace - 08.08.2012, 03:21
Re: the HTTP_GET (Website side) - by AustinJ - 08.08.2012, 03:29
Re: the HTTP_GET (Website side) - by Shaneisace - 08.08.2012, 03:47
Re: the HTTP_GET (Website side) - by AustinJ - 08.08.2012, 04:08
Re: the HTTP_GET (Website side) - by Shaneisace - 08.08.2012, 04:17
Re: the HTTP_GET (Website side) - by AustinJ - 08.08.2012, 04:28
Re: the HTTP_GET (Website side) - by Shaneisace - 08.08.2012, 04:44
Re: the HTTP_GET (Website side) - by AustinJ - 08.08.2012, 04:59

Forum Jump:


Users browsing this thread: 1 Guest(s)