These forums are CLOSED. Please visit the new forums HERE
HTTP_METHOD Get |
|
|
Jenn Yoshikawa
Registered User
Join date: 14 Nov 2007
Posts: 91
|
12-31-2008 16:53
When useing HTTP_METHOD dose my host have to be php. I'm not looking to post info. I'm trying to use get sigh but all it sends back was the body all most like html codeing. all I need to do is pull info like inworld server keys I store on my host.
|
|
Laurence Corleone
Registered User
Join date: 12 Oct 2006
Posts: 126
|
12-31-2008 17:18
Store the key in a text file and then target that file in your httprequest. There won't be any html and the key will be the only "body" to get.
_____________________
There are no stupid questions, just stupid people.
|
|
Jenn Yoshikawa
Registered User
Join date: 14 Nov 2007
Posts: 91
|
12-31-2008 17:35
so like www.myhost.com/data/server.txt
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
12-31-2008 19:11
No no. It certainly doesn't have to be PHP. It can be anything from a static file to PHP to Perl to a full J2EE servlet application. All you have to worry about is servicing an HTTP request and returning an appropriate MIME type and character encoding.
|