perl/CGTI on windows

2002-02-04 Thread Patrick
Can anyone recommend a program to test CGI scripts on windows before uploading them to a unix server. I have tried active perl, but my knowledge of UNIX is very small. This program does not come with instructions of how to test or run programs. I get the perl/dos type window open but it wont let m

image refresh timer

2002-02-04 Thread Patrick
Im looking to set up a timer on a page for images that would have the images change on their one at predetermined intervals like every 15 seconds an new one would rotate into the table. Like for banner rotation but not having to wait till the page reload to see the new image. Can someone point me

Windows Text editor

2002-02-05 Thread Patrick
Can anyone recommend a decent Text editor for windows 98 that I can use for CGI scripts. Notepad seems to show the carriage returns all of a sudden and this is creating problems just trying to get scripts to run on the server. I dont have unix or linux on my pc so i cant use pico. Pat Check out ww

CGI Form Submit Buttons

2002-02-06 Thread Patrick
Is there any way to change the way a submit button looks on forms and CGI generated forms. I want to try to have them looking like the other buttons on my site instead of the standard grey buttons that come as default. PAT By the way thanks for all the tips on text editors Check out www.my-pcdoct

Adding second radio selcect button

2002-02-19 Thread Patrick
I'm trying to add a second radio select buttong to a web page. Can anyone suggest how to do this so one does not cancel the other out. I can do the cgi script to include the second ovject if i can get the form to allow for two selects, Thanks Pat Check out www.my-pcdoctor4u.com for all kinds of FR

selecting a text file for HTML output

2002-02-19 Thread Patrick
I thought had this. I now know how to select two radio buttons at the same time. I have the first one selecting an image and putting it into a cel in a table works fine but the other radio button I am using is to select a txt file. How do I go about putting a selext txt file in an html out put via

Time sensative Sub Routine

2002-02-19 Thread Patrick
I am looking for information or a turorial on making a time sensitive sub routine for developing an html page and sending emails. U want the users to be able to choose when they want their cards to be made and the date to have a notice sent to the recipient. Pat Check out www.my-pcdoctor4u.com for

inputting a text file into an HTML page

2002-02-20 Thread Patrick
ok I have the CGI script that will generate an html page based on what the user selects. I also want to give the user the oportunity to choose one of many different text files that can also be inputted into the html page via the cgi script. I have the opening tags and closing tags and tables set u

RE: Time sensative Sub Routine

2002-02-20 Thread Patrick
Using the Cron function on the server is not a problem. The promlem I have is not knowing how to set up the commands in the script and the HTML form that would let the users choose when they want the action preformed. From what I understand with the cron function, is that it will run the script at

RE: Time sensative Sub Routine

2002-02-20 Thread Patrick
Ok I understand part of the Cron and it checking often to see if a script needs to be executed. But i still dotn understand if I set up the HTML page where the user selects the date they want the function to happen, how do I set up the CGI script to read this and how does the Cron function know re

Re: first glimpse of regex

2002-03-19 Thread Patrick Diffley
One way of doing this: chop ($username); if ($username eq "") { ... } This will at least ensure that a carriage return is not included in the scalar PJD - Original Message - From: "Matthew Harrison" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday,

Re: How To Get Rid Of Excess Blank Lines at The End Of File?

2002-04-01 Thread Patrick Diffley
This may help..a very basic file I/O open(INFILE,"yourfile"); open (OUTFILE,"outfilename"); while ($line=) { chomp $line; next if ($line eq ""); print OUTFILE $line; } You could also slurp it into an array, but - Original Message - From: "Kim, Kiseok" <[EMAIL PROTECTED]> To: <[EM

Re: newline issue

2002-04-10 Thread Patrick Diffley
You might want to try using the input line separator system variable "$/". By default it is "\n", but you can set it to whatever you like e.g. $/ = " "; #This makes the newline character a whitespace so then $testValue1 = "a b"; might be what you want to accomplish, I'm not sure, Hope this hel

Re: $_ and while stmt

2002-05-01 Thread Patrick Diffley
Try this: for ($i=0; $i<@inlocation; $i++) { print ("Error location is required\n") if ( $inlocation[$i] !~ /\w+/); } - Original Message - From: "Scot Robnett" <[EMAIL PROTECTED]> To: "Teresa Raymond" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 8:03 PM