Jump to content


Photo

s.y.s.t.e.m.(.)


  • Please log in to reply
1 reply to this topic

#1 AV1611

AV1611
  • Members
  • PipPipPip
  • Advanced Member
  • 997 posts

Posted 25 March 2006 - 07:55 PM

Here is what I'm trying to do, but I need to do it differnt...

<A HREF="<?php s_y_s_t_e_m('c:\links\logoff.exe');?>">Log Off System</a><br/>


I only want it to run when I click the links, but it runs when I load the page every time...

I understand that PHP parsed before HTML, but I expected it to behave differntly I guess...

Do I do a javascript onClick or something? (I Don't know JS)

I added the underscores because the site won't let me post code...

#2 play_

play_
  • Staff Alumni
  • Advanced Member
  • 717 posts

Posted 25 March 2006 - 10:46 PM

[!--quoteo(post=358352:date=Mar 25 2006, 02:55 PM:name=AV1611)--][div class=\'quotetop\']QUOTE(AV1611 @ Mar 25 2006, 02:55 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Here is what I'm trying to do, but I need to do it differnt...

<A HREF="<?php s_y_s_t_e_m('c:\links\logoff.exe');?>">Log Off System</a><br/>
I only want it to run when I click the links, but it runs when I load the page every time...

I understand that PHP parsed before HTML, but I expected it to behave differntly I guess...

Do I do a javascript onClick or something? (I Don't know JS)

I added the underscores because the site won't let me post code...
[/quote]


I guess you could make it a button, and then use if(isset($_POST['submit']))...
regex.kat.sh --- regex library
u.kat.sh ---- url shortener
tabbit.org ---- tabbed pastebin




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users