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
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
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
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
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 ''){
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
>
> "
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'
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]
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
>
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]
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
You can try something like this :
if ($requirement == $iscorrect){ # Send to default page
print <
# Or whatever the URL you want is
>
HTML_SCRIPT1
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
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 <
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
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:
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
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
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
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
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:
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
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
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
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
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
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
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
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
29 matches
Mail list logo