Posted: 19th Jun 2007 0:33
is it possible to Send a fraction of data in Dark basic to an e-mail?

E.g: if i were making a game and i needed to grab a variable that the user inputs the program.
Like;

If j => 500 then send email with message "j".

I know you can access the internet in DB using the multiplayer utility, but i never really though if you could perform actions like this.

Thanks, Mike
Posted: 19th Jun 2007 1:47
Yes, it's possible. Assuming you want the email to be sent without the user's email program being opened and them having to hit send (like if you used 'mailto' in html), then the only way I can think of is executing a server side php script. This would require you to have a website hosted by a server that allows php scripts, of course. The message and address that you want emailed can be passed into the script using the $_GET method. You can find a mail script on most php forums, and you can find the code for executing the php script in the code snippets or Nick Thompson's code base (see stickied thread in geek culture) - search 'download url'. If you need more specific help with this method just ask.
Posted: 19th Jun 2007 9:24
ok i'll try that, Thanks ric.

Translogic