Output stuff to program:
Output(txt as text)
blablabla
(Another word Hazman don't like)
Email(email as text)
blablabla
Again, would this be possible and if so, how would I do it?
ID:175499
![]() Apr 15 2003, 11:12 pm
|
|
Would it be possible to create a BYOND CGI program that worked like a log, eg.
Output stuff to program: Output(txt as text) (Another word Hazman don't like) Email(email as text) Again, would this be possible and if so, how would I do it? |
I know it wouldn't be difficult, it's just the CGI scipt that I don't know how to do.
By the way, I'm using Nic.Nac - nic.nac.wdyn.de PS. Another question... My MANTRA ranking doesn't seem to be working - it says it reports the scores, then I can't actually view the scores on the games HUB entry. Any suggestions? |
Hazman wrote:
I know it wouldn't be difficult, it's just the CGI scipt that I don't know how to do. I actually went and signed up for a Lycos Tripod account, as they (apparently) support PHP. However, I uploaded a test script just to make sure it was working - and sure enough, it didn't work: http://members.lycos.co.uk/crispybyond/test.php I've posted on their PHP forums, but I'm not terribly hopeful of a useful response. Most of the other threads there haven't got useful responses; and if they do, they only have one or two. As for CGI scripts, you can write them in many different languages. The most common is Perl. You know, I might even try and learn Perl... in fact, I'll go and do that right now! If I'm successful I'll upload the CGI script to my (so far unused) Prohosting account. Hopefully that will work. =) (If you're wondering why I'm doing all this, it's because I've been meaning to put together a free system whereby I can email stuff to myself from within BYOND games that others are hosting. Things like logs, bug reports, even high scores... you get the idea...) PS. Another question... My MANTRA ranking doesn't seem to be working - it says it reports the scores, then I can't actually view the scores on the games HUB entry. Any suggestions? Did you enable "use MANTRA ranking" in the hub entry? |
Yes, I did tick that box. And press the submit button. And include the library. And code it into my game.
I'll look for such a thing on a free code site. |
Hazman wrote:
Yes, I did tick that box. And press the submit button. And include the library. And code it into my game. Well... damn. *shrugs* I'll look for such a thing on a free code site. Spoil my fun why don't you! I'm trying to get the motivation to learn Perl, ya hear? =P |
OK. Make me one and I'll give you lifetime subscriptions to all my games.
Here's a subscription to Mail. Now get to work. |
I can script PHP, and I have my own pay hosting sites. I'm wondering if I was to take care of all the scripting in PHP for you guys who want Email, and give you a private URL to send your stuff to, how much a month would you pay for this service??
LJR |
world.Export("http://www.wherever.com/hazman/log.cgi?logtext=testing_out_the_logging_system")
--Crispy, aka He Who Is Too Lazy To Research Free Hosts