473,327 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Running Perl script in the backend from Html

following is my Html code:

Expand|Select|Wrap|Line Numbers
  1. <form name="form100" method="post" action="script.pl">
  2. <textarea cols = "160" rows="12" name="TextArea1" > </textarea>
  3. <input align = "left" name="UpdateButton" type= "submit" value="Update" >
  4.  
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!!
Sep 13 '07 #1
3 1462
KevinADC
4,059 Expert 2GB
It might be possible but I don't know how. Sounds like a bad idea anyway. You never see websites that do something like this. It will just confuse people and they will click the submit button a few times.
Sep 13 '07 #2
numberwhun
3,509 Expert Mod 2GB
It might be possible but I don't know how. Sounds like a bad idea anyway. You never see websites that do something like this. It will just confuse people and they will click the submit button a few times.
Agreed! Since this page seems to be for updating information, why not make the page that appears after the button is clicked be a "Thank you for your update" page with a button to go to the page again and input another update.

Regards,

Jeff
Sep 13 '07 #3
KevinADC
4,059 Expert 2GB
If it can be done maybe AJAX is the way to go.
Sep 13 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: I Report, You Decide | last post by:
A hosting service lungcapage has banned yabb, because it takes too much CPU/memory, but phpBB is fine. Is that perl/php or the script itself? why perl sucks more resource of a server than php? i...
0
by: Fuzzyman | last post by:
I've written an an anagram generator. (The desktop version is available for download from http://www.voidspace.org.uk/atlantibots/nanagram.html !!) The CGI version is at :...
0
by: Falco98 | last post by:
This is for a class assignment; all we have to do is make a XML-to-SQL converter with a GUI, which can run either on Win2k or Sun 8 systems (interchangably). My partner is writing the GUI in Java...
1
by: Hari | last post by:
Hi, I am a newbie to Perl CGI. I am developing an application with a web front end and C language module at the backend. The interface between them is a UDP socket. I am using Perl to...
10
by: shumaker | last post by:
I don't need a detailed description of a solution(although I wouldn't mind), but I am hoping someone could tell me in general the best path to go about accomplishing a task, since I don't know all...
4
by: benwylie | last post by:
I am running IIS 6.0 on Windows 2003. I would like to be able to run a perl script from a web page and include the output. I have tried doing it with an ssi: <form action='docsearch.shtml'...
1
by: satish2112 | last post by:
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"...
22
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.