Hi to All,
I' ve a problem: I use Win95 with Perl and Apache.
When I display, with a browser, a file.cgi made using GD module, I obtain
an error because I' ve not installed all C libraries of GD module.
Is there an exe for Win95 which contains all the libraries for well using
the GD module or I ha
Thanks a lot for Your Help during these months (especially for Your good
solutions to my problems).
Best wishes for Merry Christmas and Happy New Year !!
Bye
Angelo
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi to All,
I' d like to know if it' s possible to count the exact number of files
inside a certain directory, using a way better than this:
use CGI;
my $q = new CGI;
my $dir = 'C:\...\temp';
my $num_files = -1;
print $q->header("text/html");
local *DIR;
opendir (DIR, $dir);
$num = $num_files++
Thanks to All !!
I've understand that is not correct to use the map function to count the
occurences of letter in a variable string:
$var = "Good morning";
my $var2 = $var =~ tr/o//;
is simple and elegant solution.
Bye & Thanks
Angelo
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Hi to All,
I' d like to know if it' s possible to print the number of occurences of
letter "o" inside a variable string,
using perl function map.
This is my code:
use CGI;
$var = "Good morning";
$num = map {"o"} $var;
print qq'
Perl Page
';
print "The number of elements found is: $num";
print
Hi to All,
I' d like to know why, when I use a cgi script under Win95, the browser
doesn't print in output the carriage-return "\n".
An example: this is my simple cgi script:
print qq'
Perl Page
';
for (1..5) {print qq'Hello\n';}
print qq'';
In output I see the word "Hello" repeated 5 times in
Hi to All,
I' d like to create a table in which put the data read from a database
using Perl Object-Oriented language.
Now I' ve created this functional table, and I' d like to re-write it in
object-oriented:
use CGI;
use Win32::ODBC;
my $q = new CGI;
$db = new Win32::ODBC("DSN=connection.dsn;")
Hi RaFaL,
it is exactly what I want to do. I' ve tried with 127.0.0.1 and now all is
protected.
Thanks a lot !!!
Bye
Angelo
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi to All,
I use Win95 with Apache Server and,
if I want to protect a special directory in which I put reserved files,
I think that I have to act in the configuration file of Apache called
httpd.conf
The problem is that I don' t know the sintax to change the permits of a
dir. (for example the dir
Hi to All,
I'd like to know if there is a way to deny the access to All (except the
owner of the machine) inside the directory "htdocs" of Apache in which it's
possible to put even reserved files.doc
I don't konw which parameters must be changed inside the file httpd.conf of
the Apache Server.
T
Hi Jan-Willem,
thanks a lot because, with "use LWP::Simple;" module I solved my
problems.
Thanks again !!
Angelo
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
11 matches
Mail list logo