Re: CGI script produces blank screen

2014-06-28 Thread SSC_perl
> Perhaps some module on which the script depends is not available/installed on > that server. But yes.. looking into the web server error log should help. > > > On 28 June 2014 08:35, John SJ Anderson wrote: > On Fri, Jun 27, 2014 at 7:34 PM, SSC_perl wrote: > > Any input would be gr

Re: CGI script produces blank screen

2014-06-28 Thread Ahmad Bilal
Perhaps some module on which the script depends is not available/installed on that server. But yes.. looking into the web server error log should help. On 28 June 2014 08:35, John SJ Anderson wrote: > On Fri, Jun 27, 2014 at 7:34 PM, SSC_perl wrote: > > Any input would be greatly appre

Re: CGI script produces blank screen

2014-06-27 Thread John SJ Anderson
On Fri, Jun 27, 2014 at 7:34 PM, SSC_perl wrote: > Any input would be greatly appreciated! Look in the web server error log. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: cgi script

2006-09-28 Thread Tom Phoenix
On 9/28/06, Kaushal Shriyan <[EMAIL PROTECTED]> wrote: #!/bin/bash echo "Content-type: text/plain"; echo set That's a shell script. You're not even using a Perl program; why are you asking for help in a Perl beginners' forum? I dont get values for REMOTE_HOST = and REMOTE_USER = Are you su

Re: CGI Script to pass a file to different servers

2006-06-30 Thread I BioKid
Hi all - I woder why am always having some trivial problems to solve ??? I can explain what am lloking for in detail. Say, We have 3 inhouse web servers and 2 remote web servers. All of this web server accept same type of files as input : say foo.txt (these file contain some data and the 5 web se

RE: CGI Script to pass a file to different servers

2006-06-28 Thread Jeff Peng
Jeff, If you did do it, where's your advice to BioKid? I don't know the special situation for him.But for me,I would rather write a simple socket server to accept the requests from CGI and return the results to it.But if BioKid want to transmit a file to remote host,I think the other mod

RE: CGI Script to pass a file to different servers

2006-06-28 Thread William Paulsen \(W\)
Jeff, I you did do it, where's your advice to BioKid? tks -Original Message- From: Jeff Peng [mailto:[EMAIL PROTECTED] Sent: 24 June 2006 03:21 PM To: beginners@perl.org Subject: RE: CGI Script to pass a file to different servers I once did the things like you said.I wrote a s

Re: CGI Script to pass a file to different servers

2006-06-26 Thread JupiterHost.Net
I BioKid wrote: Hi all, Her am not able to do socket programming :( Any other solutions ? Net::FTP RSYNC, SCP, etc etc, Not really sure what you're trying to do... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: CGI Script to pass a file to different servers

2006-06-24 Thread Jeff Peng
I once did the things like you said.I wrote a socket server on another host,then my cgi scripts put the requests to remot socket server,got the results from socket server and print the results to clients' browser. From: "I BioKid" <[EMAIL PROTECTED]> To: beginners@perl.org Subject: CGI Script

Re: CGI script not showing the textbox

2006-06-14 Thread Chad Perrin
On Wed, Jun 14, 2006 at 09:50:19AM +0530, Nath, Alok (STSD) wrote: > Hi, > Need some help to run this script. [snip] > print q("Please select: ",textfield ("flavour", "mint")) ; [snip] > What I was expecting is a textbox, instead of this string. > "Please select:

Re: CGI script not showing the textbox

2006-06-14 Thread Prabu Ayyappan
On 6/14/06, Nath, Alok (STSD) <[EMAIL PROTECTED]> wrote: Hi, Need some help to run this script. #!/usr/bin/perl -w use CGI qw(:standard); my $favourite = param("flavour") ; print header; # here's a comment. print the header print start_html("Alok's Page") , h1(" Paragraph...

RE: CGI script just stops...

2004-07-21 Thread Marcos . Rebelo
Some time ago I had a similar error because I has not in the suposed directory. 1º try whith the full path. 2º see which is the directory where you really are. For getting the script directory you can use the use File::Spec; use FindBin; open(LISTFILE, ">>".File::Spec->join($FindBin::Bin, $list

Re: CGI Script Fork

2003-11-22 Thread James Taylor
The reason I need to run it in the background and just display the message is that the person that's going to be running this program wants to be able to close the window. The process running in the background can take up to 10 minutes and he's afraid that he may accidentally close the window

Re: cgi script invoking an exe

2003-01-23 Thread Todd W
"Janek Schleicher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, 22 Jan 2003 21:22:22 -0800, Mj wrote: > > > I am new to CGI. I just want to know if we can execute > > an application/exe file on the winnt server using the > > CGI script depending on th

Re: cgi script invoking an exe

2003-01-23 Thread Janek Schleicher
On Wed, 22 Jan 2003 21:22:22 -0800, Mj wrote: > I am new to CGI. I just want to know if we can execute > an application/exe file on the winnt server using the > CGI script depending on the user form input over the > net. And your Perl question is ... ? However, if you want to execute an exe file

Re: CGI Script and getting the PID

2002-09-30 Thread david
Jessee Parker wrote: > Hi all, I've run into a bit of a problem. I need to see if a program is > currently running. If it is, I want to display this on a web page that > tells the status of the program (either on or off). The script I created > which is probably longer than it needs to be, basica

Re: CGI Script and getting the PID

2002-09-30 Thread Felix Geerinckx
on Mon, 30 Sep 2002 19:39:05 GMT, Jessee Parker wrote: > Hi all, I've run into a bit of a problem. I need to see if a program > is currently running. If it is, I want to display this on a web page > that tells the status of the program (either on or off). The script I > created which is probably

Re: CGI script problem

2002-08-19 Thread WyvernGod
In a message dated 8/19/2002 10:13:16 AM US Eastern Standard Time, [EMAIL PROTECTED] writes: > http://localhost/cgi-bin/printenv.pl > oh this is a stupid problem i had aswell... an easy solution is to rename the ..pl as .cgi and then it worked fine for me.. I know.. sounds dumb but IE see's

RE: CGI script problem

2002-08-19 Thread Bob Showalter
> -Original Message- > From: Matt Wetherill [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 11:11 AM > To: Perl beginners > Subject: CGI script problem > > > Hi list, > > I'm just trying to get started with cgi (w2k, Apache 2.0.40), > and have been > using the sample script

[ADMIN - REDIRECT] Re: CGI script problem

2002-08-19 Thread Kevin Meltzer
This message is being redirected to the beginners-cgi list. Please answer on that list, and to the original poster. Thanks. Cheers, Kevin On Mon, Aug 19, 2002 at 04:11:14PM +0100, Matt Wetherill ([EMAIL PROTECTED]) said something similar to: > Hi list, > > I'm just trying to get started with c

Re: cgi script that takes in data then runs script on different host

2002-05-28 Thread Todd Wade
"Simon K. Chan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > cgi script on host 1pass $name to host 2 script on host 2 > # get $name ---> print "hi there $name!\n"; Somewhere at the top of scriptOnHost1.cgi

Re: CGI script to change user's password.

2001-10-02 Thread _brian_d_foy
In article <006301c14b33$25b5c7d0$9f01a8c0@Jaya>, [EMAIL PROTECTED] (Rajeev Rumale) wrote: > I am sure there would be some read packages to do all user management tasks. > May be Gurus can put for light on the subject. just search CPAN for HTTPD::UserAdmin. http://search.cpan.org/search?di

Re: CGI script to change user's password.

2001-10-02 Thread Bill Jones
>> Hi, >> >> Recently I've received a task to write a script (CGI) to allow changing >> of user password on a web page. Basically I'm very new to CGIs and is >> facing a tremendous problem starting this task. >> >> Basically, the script is supposed to run on Apache (ran as "nobody") and >> allow

Re: CGI script to change user's password.

2001-10-02 Thread Rajeev Rumale
its possible and its very easy. You can even creat and delete users. Just read about invoking shell scripts or executing system commands. But as you are changing the system passwords. first you should know about implementing Secure Socket Layer (SSL), other wise it would be easier for hacker to t

Re: CGI script to change user's password, and login.

2001-10-02 Thread Andrew
Dear Wee Keong, I had written something for Perl on windows for login, password. login.cgi will call check.cgi and check.cgi will call password.cgi. a bit messy. but you can try to use. The scripts will create html. it is not from apache. To prompt users in from apache, you have to