How to use php mail with SpiderBasic

Just starting out? Need help? Post your questions and find answers here.
munfraid
Posts: 135
Joined: Sat Mar 24, 2018 1:33 pm

How to use php mail with SpiderBasic

Post by munfraid »

Hello everybody,

I'd like to send a mail from my web application using a simple php script, such as

Code: Select all

 <?php
$subject = "Subject for message"
$message = "Message text to send";
mail("someone@example.com", $subject, $message);
?> 
But how to send a string from SpiderBasic to the php script? Can anybody help?
User avatar
Kurzer
Posts: 96
Joined: Mon May 26, 2014 9:33 am

Re: How to use php mail with SpiderBasic

Post by Kurzer »

You can use the command HTTPRequest() to pass data to a php file on the server.
SB 2.32 x86, Browser: Iron Portable V. 88.0.4500.0 (Chromium based), User age in 2023: 55y
"Happiness is a pet." | "Never run a changing system!"
munfraid
Posts: 135
Joined: Sat Mar 24, 2018 1:33 pm

Re: How to use php mail with SpiderBasic

Post by munfraid »

Thanks for the push in the right direction, kurzer! I finally learned some basics. ;)
Didn't expect it's that easy! :D
Post Reply