I did this with cpp-netlib, which builds upon boost and boost.asio.
cpp-netlib: http://github.com/mikhailberis/cpp-netlib
You might get into some weird macro problems. Vgui does #define null 0L
and boost.asio uses null somewhere.
To do a http request, do something like this:
http::client
@list.valvesoftware.com
Subject: Re: [hlcoders] HTTP-Request?
I did this with cpp-netlib, which builds upon boost and boost.asio.
cpp-netlib: http://github.com/mikhailberis/cpp-netlib
You might get into some weird macro problems. Vgui does #define null 0L
and boost.asio uses null somewhere
, 2010 5:19 PM
To: Discussion of Half-Life Programminghlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] HTTP-Request?
I did this with cpp-netlib, which builds upon boost and boost.asio.
cpp-netlib: http://github.com/mikhailberis/cpp-netlib
You might get into some weird macro problems. Vgui
hey forum.
I'm creating a css plugin.
How should i go about sending a http request.
then reading the result.
So i take the steam id pass it to the webpage some how? then read the
information that PHP script has processed?
___
To unsubscribe, edit
Probably more suited to stackoverflow.com if I'm honest. You will get
a more professional response, but I'm sure many subscribers here would
be more than willing to help with any plugin integrations questions
(including me!)
On Monday, June 28, 2010, Ash Dookun ashvin_doo...@hotmail.com wrote:
What are you trying to do with this plugin? You were pretty vague with what
you're trying to send a HTTP request with.
Sent from my iPod
On Jun 28, 2010, at 5:11 PM, Ash Dookun ashvin_doo...@hotmail.com wrote:
hey forum.
I'm creating a css plugin.
How should i go about sending a http
You'll need a library that will do it for you. I used Boost's Asio:
http://www.boost.org/doc/libs/1_43_0/doc/html/boost_asio.html
You call one of its functions with a url, and it will return a string
of the HTML content of the page. To make it easier, you can retrieve
a steam account's info in
Yeah, use an external library. Unless, that is, you want to get
throat-deep in the mysteries of TCP/IP socket programming, HTTP parsing,
and various other stuff.
___
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
Well what I'm trying to do is send a request to a webpage. To receive a result.
I already have my PHP script set up.
So that if a POST or GET item with the name STEAMID is set and is in the
correct form it will search a database then return found or not found to the
page.
Thanks very much for
Couldn't you use a mysql database instead for this?
On Mon, Jun 28, 2010 at 7:30 PM, Ash Dookun ashvin_doo...@hotmail.comwrote:
Well what I'm trying to do is send a request to a webpage. To receive a
result.
I already have my PHP script set up.
So that if a POST or GET item with the name
@list.valvesoftware.com
Subject: Re: [hlcoders] HTTP-Request?
Couldn't you use a mysql database instead for this?
On Mon, Jun 28, 2010 at 7:30 PM, Ash Dookun
ashvin_doo...@hotmail.comwrote:
Well what I'm trying to do is send a request to a webpage. To receive a
result.
I already have my PHP script set up
in the library file.
--
From: 1nsane 1nsane...@gmail.com
Sent: Tuesday, June 29, 2010 12:40 AM
To: Discussion of Half-Life Programming hlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] HTTP-Request?
Couldn't you use a mysql database instead
12 matches
Mail list logo