Hi,

I have no-one seen responding to your e-mail.
I have done some tricks to submit a form with a href link and I have a solution
to change the location, by just adding an extra value to it. I don't know how 
your external page looks up incoming vars, but you might want to test it in 
post and get. I won't create your script, but you at least might have an example;


if($admin) {
   $dl = "<td><a href=\"JavaScript:SubmitForm()\">Delete</a> /</td></form><form 
method=post name=edi
 action=\"${edit}\">";
   $edi = "<td><a href=\"JavaScript:SubmitEdi()\">Edit</a></td></tr><input type=hidden 
name=dir valu
e=$dir><input type=hidden name=header value=$header><input type=hidden name=href 
value=$href></form>
<form>";

   print <<EOF;
   <head><script language=JavaScript>

   function SubmitForm() {
    var loc = window.location;
    var noc = loc + "?delete=on";
    var decision = confirm("Are you sure to delete this IP-Block ?");
    if (decision == true){ document.location = noc  }
   }

   function SubmitEdi() {
    document.edi.submit();
   }
   </script></head>
   
# ---------------------------------
> 
> I want to write a script that will:
> 1) Go into a website, answer to a login form (JavaScript) 
> 2) Answer to another Form and submit it (JavaScript)
> 
> I'm kind of novice in perl.
> 
> 10x in advance.
>  
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to