473,770 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Perl executable showing html in browser

Hi,

I would like to know is somebody has experience in showing HTML from a perl
executable in the default browser and let that html interact with the perl
executable via the browser. This is because we would like to convert some of
our perl scripts (ActiveState) via the Activestate compiler in order to have
some stand alone executables.

Any help would be appreciated,

Merijn
Jul 19 '05 #1
1 3517
Merijn Boom wrote:
I would like to know is somebody has experience in showing HTML from
a perl executable in the default browser and let that html interact
with the perl executable via the browser.
Typically people use the Common Gateway Interface for such kinds of
applications. You may want to ask in NG that actually deals with CGI.

If the HTML code is rendered by the browser or shown as text is (among other
things) a matter of the HTTP header. You may want to ask in NG that actually
deals with HTML and HTTP.
This is because we would
like to convert some of our perl scripts (ActiveState) via the
Activestate compiler in order to have some stand alone executables.


The Common Gateway Interface doesn't care if the server side executable is a
script or a compiled program. You may want to ask in a NG that actually
deals with CGI.

Having said that there is one caveat that is actually related to Perl.
Typically Perl compiler didn't have a very good track record in the past,
i.e. people used to have a lot of problems getting their compiled scripts to
run. Now, this may have changed, so please take it with a grain of salt.

Another question is _why_ you want to compile you scripts. If your intention
is to hide you source code then I strongly recommend to read "perldoc -q
hide"

jue
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
12747
by: Dipesh Mehta | last post by:
Is anybody aware how to make standalone executables from perl program or how to convert the sources into C ? ? ?
3
9333
by: Armand Karlsen | last post by:
What code can I put in a web page to make a browser show a piece of (x)html, instead of trying to render it?
1
1726
by: hellrazor | last post by:
Hi, Basically, I'm trying to replicate what these guys do: http://www.whirlywiryweb.com/q/launchinie.asp Installation of their program requires registering a DLL, and registering a list of "allowed URLs" into a registry entry.
1
1751
by: Hugo Lefèvre | last post by:
Dear, I have made an aspx page and I want to start it via explorer to see how it looks in my browser. But when I click at it I receive the next error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
7
9924
by: Wladimir Borsov | last post by:
I want to call a perl script myscript.pl in my cgi-bin from a HTML web page. This call should NOT use SSI (because in this case HTTPS://.... protocol is necessary). Furthermore NO button click should be required (so I am not talking about a perl script in a form). I only want to call this script automatically when someone load the web page. How can I do this ? If necessary the perl script could return a value (e.g. a picture resp....
1
2374
by: asllearner | last post by:
I have an htaccess file protected folder. In that folder I have several php files that generate some simple html. When I am logged out, cache cleared, sessions info cleared, I navigate to one of the php scripts, and the login screen shows up. so far so good. But now, even if i enter invalid information in the login screen, or cancel out of it, my php script seems to be running, and my information is showing up in the browser. what:s up...
3
3869
by: C#Schroeder | last post by:
I am new to creating a windows application and have been asked to display an HTML page when a certain button is clicked. I have created the HTML page but don't know how to display it when the button on the windows application is pressed. Can anyone point me in the right direction. Thanks
1
3262
rajiv07
by: rajiv07 | last post by:
Hi to All, I have try to execute a perl script in html.But nothing get display What i have tried so for is The referrer.pl --------------- #!/usr/bin/perl
3
1459
by: Divakar109 | last post by:
This is my code for passing values from HTML to perl ,my cgi-lib.pl and perl scripts are in cgi-bin folder but I am getting http 500 internal server error whilre executing plz help. #!C:\Perl\bin require "cgi-lib.pl"; &ReadParse(*input); print "Content-Type: text/html\n\n"; print "<html> <head>\n"; print "<title>User Name</title>\n";
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.