Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl Misc (http://www.velocityreviews.com/forums/f67-perl-misc.html)
-   -   Running Perl script in the backend from Html (http://www.velocityreviews.com/forums/t904579-running-perl-script-in-the-backend-from-html.html)

satish2112@gmail.com 09-13-2007 03:51 AM

Running Perl script in the backend from Html
 
following is my Html code:

<form name="form100" method="post" action="script.pl">
<textarea cols = "160" rows="12" name="TextArea1" > </textarea>
<input align = "left" name="UpdateButton" type= "submit"
value="Update" >

in the above code, if i click on submit button, a webpage is opened
and the script in script.pl is executed.

is there any way such that another web-page is not opened and the
script is run in the backend?

Please help me!!


Gunnar Hjalmarsson 09-13-2007 09:00 PM

Re: Running Perl script in the backend from Html
 
satish2112@gmail.com wrote:
> following is my Html code:
>
> <form name="form100" method="post" action="script.pl">
> <textarea cols = "160" rows="12" name="TextArea1" > </textarea>
> <input align = "left" name="UpdateButton" type= "submit"
> value="Update" >
>
> in the above code, if i click on submit button, a webpage is opened
> and the script in script.pl is executed.
>
> is there any way such that another web-page is not opened and the
> script is run in the backend?
>
> Please help me!!


I tried...

http://groups.google.com/group/comp....f1507bf9b74338

Why do you ignore the reply you got so far??

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Ken 09-17-2007 08:23 PM

Re: Running Perl script in the backend from Html
 
Gunnar Hjalmarsson wrote:
> satish2112@gmail.com wrote:
>> following is my Html code:
>>
>> <form name="form100" method="post" action="script.pl">
>> <textarea cols = "160" rows="12" name="TextArea1" > </textarea>
>> <input align = "left" name="UpdateButton" type= "submit"
>> value="Update" >
>>
>> in the above code, if i click on submit button, a webpage is opened
>> and the script in script.pl is executed.
>>
>> is there any way such that another web-page is not opened and the
>> script is run in the backend?
>>
>> Please help me!!

>
> I tried...
>
> http://groups.google.com/group/comp....f1507bf9b74338
>
> Why do you ignore the reply you got so far??
>

You could also use ajax to do the submit.


All times are GMT. The time now is 04:03 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.