Hey!
Postgres is definitely well received because of stored procedures
but they r not an absolute must for most people. Further, I think
Mysql is a lot more user-friendly database system, if one can call
it that. I dont think there be many applications running on Mysql
that u wanna shift to P
what is a server-push?
--
alexmailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
well, Janek, my q is simple:
is IE6 is server-push capable?
if yes, then whats the wrong with my script?
if not, ok, thanks for the information.
thats it
thanks
--
Hytham Shehab
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ok listen im trying to fin all the direcotries that
are in a folder, I mean everyone. But for some reason
this only prints out the first folder and not the sub
folders.
my @alldir = finddir("$config{home}$user{site_id}");
print $_, "\n" for @alldir;
sub finddir {
my $root = shift;
chomp
Hi Jon,
this sounds like a job for LWP.
e.g.
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(POST =>
'http://www.perl.com/cgi-bin/BugGlimpse');
$req->content_type('application/x-www-form-urlencoded');
$req->content('match=www&errors=0');
my $res = $ua->requ
Henk van Ess wrote:
> Hi all,
>
> My provider gave me the solution. I had to install:
>
> pkg_add -r unix2dos
>
> where unix2dos *.cgi strips the boxes.. Ty all for the input.
this perl 1-liner should do the trick:
perl -pi -e 's/\s+$/\n/g' filename.html
--
To unsubscribe, e-mail: [EMAIL
Hi all,
My provider gave me the solution. I had to install:
pkg_add -r unix2dos
where unix2dos *.cgi strips the boxes.. Ty all for the input.
--
Best regards,
Henk mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
I would like my CGI to send info to a different CGI, that is really
expecting a html to post to it the info.
How do I do that?
Jonathan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Maybe yes, maybe no.
You may try to use LWP to grab the page's content, and digest it by your
coding effort.
However, you may have to face the cookies gard, and password gard(like
cNet).
Good luck if you really want to have a try.
If I do not make a wrong memory recall, SOAP is a module can link
> Sure, I've got my own Apache-server.
Then I wonder why you going to Upload it, but not save your file
directly inside the bin ? Are you running them with different OS ?
> print "Content-type:text/html\n\n";
Yes, like Janek said, you may try to make it
print "Content-type: text/html\n\n";
(wi
Hi all,
You know that all download sites like ZDNet or Tucows use a CGI program for
letting visitors download a file.
Is it possible to make a Perl script that should find out the real path to a
file from ZDNet or Tucows, instead of that path that use a CGI script?
Thank you.
Teddy Center: ht
At 10:21 AM 7/7/02 -0400, Bruce Maston, M.D., J.D. wrote:
>Is there a way to convert a JavaScript variable into Perl?
Bruce, the question is a bit invalid or misstated or something. No offense
meant, only this is a bit of a misunderstanding I think... for all I know,
maybe on my part.
> In o
Henk Van Ess wrote at Sun, 07 Jul 2002 16:27:42 +0200:
> This is the script:
>
> #!/usr/bin/perl
>
> print "Content-type:text/html\n\n";
^^
I'm not sure, whether it plays a role,
but it seems that a blank is missed:
print "Content-type: text/html\n\n";
Best Wishes,
Janek
a common problem. it is because the file was saved with window
line-endings. this means that when you open it on a unix box, you will see
'^M' at the end of every line.
if you have access to a unix shell account, you can run the conversion
program as follows:
# dos2unix -n infile.cgi outfile.
Hello beginners-cgi,
Connie,
1. Do you have the right to run CGI at your server ?
Sure, I've got my own Apache-server.
2. Do you know if you are pointing your perl compiler
at a right path( #!/usr/bin/perl) ? You can't just copy this from
book. Different server may config it at different loca
Is there a way to convert a JavaScript variable into Perl? In other words,
you have a JavaScript function:
function test(input_to_function) {
$perlvariable = input_to_function;
print "alert('$perlvariable'); #get an alert box showing the value
print "$perlvariable\n"; #variable prints on page
}
I
So what's your error message you got ? and where you got
the error? And what is the "boxes" mean ? I dont' see any
boxes there. so what is your text editor for writing this script ?
But the most important things are :
1. Do you have the right to run CGI at your server ?
2. Do you know if you are p
Dear all
I just uploaded the following .cgi to my server:
#!/usr/bin/perl
print "Content-type:text/html\n\n";
print "Show me the monkey"; #this line prints the sentence "Show me the monkey"
Even after I chmod'ed it to 751 or 755, I got an error! So I
downloaded the script to see what went wrong
Henk --
...and then Henk van Ess said...
%
% Connie, Niko & Janek,
%
% Ty for you fast input. Your suggestions assume that the "'s are added
% during the inputphase. But I want the "'s to be added AFTER the user entered
% the input. Do your suggestion still work then?
Sure. Using the examples
Hi Carlos,
I think mysql, up to a certain amount of concurrent conenctions, will be
faster at returning data than Postgres but Postgres will scale a lot better
than MySQL and can handle many more concurrent requests before showing the
strain. PG also offers stored procedures which I don't think my
Connie, Niko & Janek,
Ty for you fast input. Your suggestions assume that the "'s are added
during the inputphase. But I want the "'s to be added AFTER the user entered
the input. Do your suggestion still work then?
--
Best regards,
Henk mailto:[EMAIL PROTECTED]
--
$input =~ s/^(.+)$/"$1"/;
Don't use it. This is too trouble to doing this way.
Just want to tell, this is also a method =)
Rgds,
Connie
- Original Message -
From: "Henk van Ess" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 07, 2002 5:12 PM
Subject: How to add " "
Hi Group!
I'm newbie on Perl, but I have developed a couple of
large web apps, and I'm using the triad of hell php/apache/mysql on
our linux server boxBut my data is growing and I don't know If
the good MySQL can keep gigs of data running smooth
What database do you recommend me to use??
On Sun, Jul 07, 2002 at 11:12:48AM +0200, Henk van Ess wrote:
>
> I've got a beginnersquestion. How do I add a " before and a " after
> any given user-input? I want to make a phrase out of the user-input.
> Example:
> userinput:
> walking in mountains
>
> output should be:
> "walking in mountains
Henk Van Ess wrote at Sun, 07 Jul 2002 11:12:48 +0200:
> So basically, I want to change
>
> userinput
>
> into
>
> "userinput"
$userinput = qq/"$userinput"/;
Greetings,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've got a beginnersquestion. How do I add a " before and a " after
any given user-input? I want to make a phrase out of the user-input.
Example:
userinput:
walking in mountains
output should be:
"walking in mountains"
So basically, I want to change
userinput
into
"userinput"
26 matches
Mail list logo