RE: advice required

2001-12-14 Thread Grierson, Garry (UK07)
Why not use MySql to start with? It's free and it works! If you want to work with MySql I assume you don't have access to any mainstream proprietary software, e.g. Oracle, MS SQL. If you do what's wrong with using theme indefinitely? If you don't want to start out with MySql it really depends on

MS Access to MySql conversion.

2001-11-19 Thread Grierson, Garry (UK07)
I've written a Perl CGI front end for an existing Access DB system and have been looking at the possibility of changing this to MySql the Perl changes seem to be minimal but I'm having trouble trying to export the Access tables to MySql. I know this isn't exactly a 'Perl' problem but I was wonder

RE: trying to write to a file

2001-10-26 Thread Grierson, Garry (UK07)
Try this: open(FILENAME, ">changes.txt"); print FILENAME "Things and Stuff"; close(FILENAME); You just seem to be missing the ( ) > -Original Message- > From: Matthew Mangione [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, October 25, 2001 5:35 PM > To: Linux Beginners > Subject: t

RE: BDI & DBD

2001-10-22 Thread Grierson, Garry (UK07)
If you are using ActivePerl you can use the bundled Perl Package manager to download the module directly from ActiveState. If you don't have this it can be downloaded from http://www.activestate.com (home page) or http://downloads.activestate.com/ (downloads list) Simply open up a command prompt w

user name

2001-10-17 Thread Grierson, Garry (UK07)
Do you want to do this from a CGI script ? If you have a HTML form asking for USERNAME it can call something like: In HTML Page: Please enter an username: In Perl CGI: use strict; use CGI; my $q = new CGI; my $username = $q->param('username'); if ($username eq ''){

RE: security in perl

2001-10-11 Thread Grierson, Garry (UK07)
what he needs to do. > -Original Message- > From: fliptop [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, October 11, 2001 1:06 PM > To: Grierson, Garry (UK07) > Cc: Wagner Garcia Campagner; [EMAIL PROTECTED] > Subject: Re: security in perl > > "

browser redirection

2001-10-11 Thread Grierson, Garry (UK07)
I seem to have got a little muddled yesterday, sorry. What I think you want is to be able to declare the "Content-type:text/html\n\n"; HTTP header type, so you can print some HTML etc. Then be able to automatically link to different pages (or print) based on variable values, in this case you can'

Browser Redirection

2001-10-10 Thread Grierson, Garry (UK07)
Oops the URL should be: http:[EMAIL PROTECTED]/ This will let you change to one or more URL's after you have issued a print "Content-type:text/html\n\n"; command. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

FW: Browser Redirection

2001-10-10 Thread Grierson, Garry (UK07)
Oops the URL should be: http:[EMAIL PROTECTED]/ > -Original Message- > From: Grierson, Garry (UK07) > Sent: Wednesday, October 10, 2001 12:49 PM > To: '[EMAIL PROTECTED]' > Cc: '[EMAIL PROTECTED]' > Subject: Browser Redirection >

Browser Redirection

2001-10-10 Thread Grierson, Garry (UK07)
This is the same answer as my last post!! Go to http:[EMAIL PROTECTED]/msg02580.html and look at the reply RE: Sending someone to a new location..., Grierson, Garry (UK07) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Sending someone to a new location...

2001-10-10 Thread Grierson, Garry (UK07)
You are absolutely right, that is much shorter ;) I assumed James was a relatively new, newbey (sorry if I'm wrong James!) and tried to show as clearly as possible what was happening to make the connection. It is worth mentioning that if using the 'Location' header it may require the 3XX type sta

RE: Sending someone to a new location...

2001-10-10 Thread Grierson, Garry (UK07)
You can try something like this : if ($requirement == $iscorrect){ # Send to default page print < # Or whatever the URL you want is > HTML_SCRIPT1

RE: Why so slow!!?

2001-10-03 Thread Grierson, Garry (UK07)
iginal Message- > From: Bob Showalter [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, October 03, 2001 2:23 PM > To: 'Grierson, Garry (UK07)'; [EMAIL PROTECTED] > Subject: RE: Why so slow!!? > > > -Original Message- > > From: Grierson, Garry (UK07) [m

Why so slow!!?

2001-10-03 Thread Grierson, Garry (UK07)
The following code runs very slowly compared to similar routines running on the same type of systems. Can anyone point out anything I'm doing that would make this particular code run slowly as I'm out of ideas! Sorry if this post is a bit long! Any help gratefully appreciated.. print <

RE: Security Suggestions Please!

2001-09-18 Thread Grierson, Garry (UK07)
e to do something in the CGI script. I've described how I'm doing this in another response. Thanks for your help. Garry. > -Original Message- > From: Gunther Birznieks [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, September 18, 2001 1:08 PM > To: Grierson, Garry (U

RE: Security Suggestions Please!

2001-09-18 Thread Grierson, Garry (UK07)
password eq 'password'){ #only an example# print <~~~ To Run Script Two, Three , Four , etc.~~~ It works but how secure is it assuming nobody is going to see the 'password'? > -Original Message- > From: Roger C Haslock [SMTP:[EMAIL PROTECTED]] > Sent:

Security Suggestions Please!

2001-09-18 Thread Grierson, Garry (UK07)
I have to secure a newly developed web search service that deals with sensitive fiscal information, this originally consisted of Perl scripts that called html pages or other scripts. The default page ran a rudimentary login script that launched a variety of html pages or further scripts, the html

Re: active perl on IIS

2001-09-05 Thread Grierson, Garry (UK07)
Has your set-up defined Perl extension types within IIS? I haven't done this manually on 2K but in IIS 3 you can update it through the system registry under HKEY_LOCAL_SYSTEM \system\CurrentControlSet\Services\W3SVC\Parameters\Script Map. On IIS 4 you can use the 'Internet service manager'. This i

A server or code problem?

2001-07-24 Thread Grierson, Garry (UK07)
I am having a problem connecting to Oracle 7.3.4 when setting up an NT machine with IE 5.5, Oracle Client Software (Release 7.3.3.0.0) and ActivePerl v15.6.0. The programms afected have been working fine on 95 for some time. I am runing Perl scripts that connect to Oracle though the Oracle7 ODBC

GD Problem.

2001-06-22 Thread Grierson, Garry (UK07)
Iv just started my very first attempt at using GD to produce graphics and I'm confused. I have RTFM in fact iv read a few but I'm still confused. I'm using ActivePerl on an NT system, so I loaded in the GD module using PPM, set the binmode to STDOUT as specified in the manual and wrote a hunk of

Telnet

2001-06-20 Thread Grierson, Garry (UK07)
There are a few shareware and freeware Win32 X-Terminal programs available on http://www.tucows.com/winnt/xwinservernt.html although these are for NT most run on all Win32 ops. > -- > From: SAWMaster[SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, June 20, 2001 3:25 PM > To:

Imbedded awk

2001-06-20 Thread Grierson, Garry (UK07)
Is it possible to embed an existing awk script into a Perl CGI? I a rewriting some old web based library archive material that uses awk based scripts held on HP-UX systems. I am replacing this with an NT and Perl based system, but it would take a lot of duplicated effort to re-do the existing awk

RE: How to learn Perl??

2001-06-20 Thread Grierson, Garry (UK07)
There are a number of good books available. You can start by looking through the following sites: http://www.perl.org - http://www.perl.com - General Perl Sites that Includes Perl history and help pages http://www.cpan.org - Resources and information http://www.oreilly.com or http://perl.oreill

RE: queryString and CGI.

2001-06-19 Thread Grierson, Garry (UK07)
I don't use MySql but if you are using CGI you can just do the following: use CGI; my $q = new CGI; my $value1 = $q->param( "first-passed-value" ); my $value2 = $q->param( "second-passed-value" ); my $value3 = $q->par

RE: formatting and writing to file

2001-06-19 Thread Grierson, Garry (UK07)
Are you outputting this to a HTML page? If so try replacing the new line "\n" code with the HTML "" command. Just a thought, Please ignore this if I'm being stupid... > -- > From: Teresa Raymond[SMTP:[EMAIL PROTECTED]] > Sent: Monday, June 18, 2001 6:17 PM > To: [EMAIL P

RE: MS Access DB

2001-06-18 Thread Grierson, Garry (UK07)
You can export your (friend's) Access tables to comma delimited/separated files and use the DBD::CSV module to use it. > -- > From: Kris G Findlay[SMTP:[EMAIL PROTECTED]] > Sent: Monday, June 18, 2001 6:55 PM > To: Beginners-Cgi > Subject: RE: MS Access DB > > ok t

A problem with variables in IF conditions.

2001-06-15 Thread Grierson, Garry (UK07)
The following simple piece of code works fine as it is but looks very messy compared to how it can be done in other languages. I first tried to write it as two simple if statements and one lump of formatting code, but the values generated within the if statements were not recognized outside the if

RE: So what am I doing incorrectly??

2001-06-15 Thread Grierson, Garry (UK07)
You are returning an INTEGER (whole number) to $A and then trying to find character values in your IF statements, change theme to if($A = 0){blablabla}; > -- > From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] > Sent: Thursday, June 14, 2001 10:09 PM > To: [EMAIL PROTECTED

An IF'y problem

2001-06-15 Thread Grierson, Garry (UK07)
The following simple piece of code works fine as it is but looks very messy compared to how it can be done in other languages. I first tried to write it as two simple if statements and one lump of formatting code, but the values generated within the if statements were not recognized outside the if