linking perl after php

hi again

this time round i’m asking for help on excuting perl scripts after php excution.

how do i start running perl scripts automatically after i run a php scripts?

Can you describe what you are trying to do? Should perl script be executed automatically after each php script? You can call your perl script at the foter of your php script using exec function.

for example

in my form script i enter an id number,

then it’ll run my php script to connect to my database and only the email date stored inside

<? $id = $_POST['id']; include("connectdb.php"); $query="select * from grp where id='$id'"; $result=mysql_query($query)or die("error"); while ($row = mysql_fetch_array($result)) { $email=$row["email"]; } ?>

after doing tat i would like to get the email date from my database and post it over to my perl script which will use the email date to generate read some log file in my computer.

but no matter how i do it it doesn’t work at all

Sponsor our Newsletter | Privacy Policy | Terms of Service