Jump to content

PHP - recuire action before hitting "Submit"


Leaderone

Recommended Posts

Great board!


I need some help here.

I have succesfully installed [a href=\"http://spellerpages.sourceforge.net/\" target=\"_blank\"]Speller Pages[/a].

Works like a charm.

So i have a textarea and three buttons - Register - Run ABC - and Exit.

The thing is....

Everything thats gets registered in my database can be sendt by hittings links.
So I have three buttons / links - Send as SMS - Send as fax - Send as mail.
They are linked like this:

echo " <td valign=top nowrap><a target=_blank href=\"processmail.php?mail=$rad[0]\">Send as Mail</a></td>\n";

echo " <td valign=top nowrap><a target=_blank href=\"processsms.php?sms=$rad[0]\">Send as SMS</a></td>\n";

Instead of hitting the "Run ABC" button manually, I want the SpellerPages to run when hitting the SMS/Faz/Mail links. -> When clicking the link, it first runs the ABC check (abc.php) , and after it has run it goes to processmail.php.

Any good ideas here?


I would be very greatful if anyone can help me.



Link to comment
https://forums.phpfreaks.com/topic/10490-php-recuire-action-before-hitting-submit/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.