Hi,
My below cgi script works fine from the command line but not working from the web browser.
#!/usr/bin/perl
use File::Copy;
use CGI;
print "Content-type: text/html\n\n";
print "<html><head><title>LOGS";
print "</title></head>";
print "<body bgcolor=#95B9C7 link=black>";
$infile="/home/jaindin/jaindin_PerlCGI/
This quick tutorial will show you how to print from a shared printer installed on a
I'm currently running this simple Python CGI script to test rudimentary IPC:
#!/usr/bin/python -u
import cgi, errno, fcntl, os, os.path, sys, time
print("""Content-Type: text/html; charset=utf-8
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>IPC test</title>
</head>
<body>
""")
ftempname = '/tmp/ipc-messages'
master = no
I am new to perl scripting and i am trying to execute following code
#!/usr/bin/perl
$html = "Content-Type: text/html
<HTML>
<HEAD>
<TITLE>Hello World</TITLE>
</HEAD>
<BODY>
<H4>Hello World</H4>
<P>
Your IP Address is $ENV{REMOTE_ADDR}
<P>
<H5>Have a nice day</H5>
</BODY>
</HTML>";
print $html;
when i execute
I'm running an Apache 2 server from my raspberry pi, and everything works fine. I wanted to configure ".htaccess", so I had to move some files around. So in "/var/www", I created a file called "html" and moved all my pictures, and webpages into it. However, I left "index.html" out inside of "/var/www." All of this works fine, except for one thing.
Looking for programs to help your download YouTube Videos quickly?
It's been messing up a lot lately, as in, delays several seconds before printing, then once it starts to print, it takes a long time. It use to print as soon as you would click "Print". But now, it's extremely slow and I'm not sure why. It's not that old. Bought it about a year ago and it worked just fine. But lately, the main problem is printing pictures.
Hi,
I have Below script which converts csv file to html succesfully.but the visiblity is simple in black n white. I want to have better visibilty of each columns in different colours(like green).As it is a Database report suppose some tablespace available space is less than 20% then it should come up in red colour.If the available space is above 20% then it should come up in green.
I had an editText the data which i enter there should be stored as html file in raw folder .Can I do that?.And also when i click the button print i want the html page to be get printed via share Intent Which i was unable to do that