Jump to content


Photo

PHP - recuire action before hitting "Submit"


  • Please log in to reply
2 replies to this topic

#1 Leaderone

Leaderone
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 26 May 2006 - 09:12 AM

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.





#2 Leaderone

Leaderone
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 29 May 2006 - 09:31 AM

*Bump*

#3 samshel

samshel
  • Members
  • PipPipPip
  • Advanced Member
  • 837 posts

Posted 29 May 2006 - 09:37 AM

Please post the tag for the button

Run ABC

from the HTML, it will help to determine what process hitting this button executes.

hth
Cheers,
SamShel
-----------------------------------------------
--: FUTURE IS LINUX :--
-----------------------------------------------




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users