On Fri, 15 Feb 2002 at 00:42 GMT, Jason Lamar wrote:
> I purchased a "Mail This Page To A Friend" script that I'm doing some
> tweaking on, but I can't figure out a particular item in the function that
> parses HTML code to be formatted into a standard e-mail message.
> ... so that only the Image
On 2/15/02 12:00 PM, Stephen Warburton <[EMAIL PROTECTED]>
wrote:
> Hi,
Hey Stephen,
> I am stuck trying to get a simple C++ CGI working. I am using the installed
> configuration file which allows Apache to succesfully serve up a web page
> under document root:
> DocumentRoot "C:/Apache/Apache
Jason LaMar wrote:
> Now, here's what I want to do. Extract image HTML code in this format ...
>
>
>
> so that only the Image Description is left. Basically, I want to delete
> all the rest of the code but leave the "alt" tag information intact.
consider using html::parser. it may be a
Hi,
I am stuck trying to get a simple C++ CGI working. I am using the installed
configuration file which allows Apache to succesfully serve up a web page
under document root:
DocumentRoot "C:/Apache/Apache Group/Apache/real_docs/deepconnection"
under script alias I have:
ScriptAlias /cgi-bin/
I purchased a "Mail This Page To A Friend" script that I'm doing some
tweaking on, but I can't figure out a particular item in the function that
parses HTML code to be formatted into a standard e-mail message.
Here's the convention the parser is using ...
$mail_body =~ s/\"/"/g;
In other words,
On Thu, 14 Feb 2002 at 19:46 GMT, Jerry Everett Jr wrote:
> I am having a problem printing percents within my PERL program when I
> add in CGI.
You have a problem with your parens in the printf function.
#!/usr/bin/perl -w
use strict;
use CGI qw(:html);
for my $percent ( 0.5, 5.434, 12.12, 100
Hello,
I am having a problem printing percents within my PERL program when I add in
CGI.
Here the PERL program works great when printing.
printf "Percent Addresses Used . . . " . "%2.0f%%\n", $percentused;
PERL output
Percent Addresses Used . . . 59%
Here I have added the CGI to the PERL.
p
NO! Don't use Matt's Script Archive!!!
That code is old and full of errors. Go to
http://nms-cgi.sourceforge.net/
and you will find "the rest of the story" and
equivalent scripts that are well written and
tested.
Also, check out
http://perl.about.com/
for some good
just out of curiosity...
where do you get IIS these days? at one time it was a d/l on the MS
site & it also came with my NT server. can you d/l IIS5 somewhere?
Al Hospers
CamberSoft, Inc.
alcambersoftcom
http://www.cambersoft.com
Shockwave and Director development, CD-ROM, HTML,
CGI scripting,
Carl Franks wrote:
> Does anyone know what header to send for WML pages (WAP), and how to send it
> with CGI ?
there was an article on this very subject in tpj about a year ago.
http://www.samag.com/documents/s=1131/sam05040004/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
Oops, I sent that before I was done (sliped with the fingers).
The first is more efficient, the second is less typing.
And actually the second one is incorrect, it should be this:
$value =~ s/^\s*(.*)\s*$/$1/;
You need to use \s* because one of them might match a space and the other
might
The first is more efficient, the second is less typing.
And actually the second one is incorrect, it should be this:
Rob
-Original Message-
From: David Gilden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 12:29 PM
To: [EMAIL PROTECTED]
Subject: removing white space
Is this correct, I want to remove leading and trailing white space,
Thanks
Dave
--
foreach $item (param()) {
my $value = param($item);
$value =~ s/^\s+//;
$value =~ s/\s+$//;
}
better??
foreach $item (param()) {
my $value = param($item);
$value =~ s/^\s+(.*)\s+$/$1/;
}
-
Does anyone know what header to send for WML pages (WAP), and how to send it
with CGI ?
Thanks,
Carl
Please don't cc me. I'm on the list.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Am not sure where I should be renaming the $emailLog file in this sub,
Am I on the right track?
Thanks
Dave
sub addEmail{
my $emailLog = '/email_list/email_list.txt';
# append new email
open(EL,">>$emailLog") || die "Problem: Could not append to $emailLog, $!";
print EL "$email ($realna
Yes, by all means get out of the registry. There are so many other ways to set your
stuff up. Unless of course you really like that sort of thing.
Here is a link from MS on IIS. It may help:
http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/iis/tips/iis5chk.asp
IIS
On Thu, 14 Feb 2002, GsuLinuX wrote:
> It worked on normal submit buttons but problem on image submit button.
>
> I couldn't manage to work it with
> image submit buttons. Fot example if their 2 image submit buttons as :
>
> src="c:\windows\desktop\house.gif" width="100" height="50">
> src="c:\
> Once I
> am in regedit.,however, I am not sure where to look to change
> this
in general you don't set permissions in Regedit. try right clicking on
the fole in question & looking at the Security tab.
Al
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
This smells homework!
/jon
Bruce Ambraal wrote:
>
> Hi
>
> I have done (b) for coding see below, could someone assist with
> (a) (b) (d)
>
> #!/usr/local/bin/perl -w
> my $num_rows;
> my $i;
> my $r;
>
> $num_rows = ;
>
> for ($r = 1; $r <= $num_rows; $r++)
> {
> for ($i=1; $i<=
Hi
Everyone had to crawl before they could walk,
JON, stop being polite and help me
I need your assistance now...
Cheers
Bruce
>>> Jon Molin <[EMAIL PROTECTED]> 02/14/02 12:00PM >>>
This smells homework!
/jon
Bruce Ambraal wrote:
>
> Hi
>
> I have done (b) for coding see below, could som
Hi
I have done (b) for coding see below, could someone assist with
(a) (b) (d)
#!/usr/local/bin/perl -w
my $num_rows;
my $i;
my $r;
$num_rows = ;
for ($r = 1; $r <= $num_rows; $r++)
{
for ($i=1; $i<= $r; $i++) {print (" \n");}
for ($i = $num_rows + 1 - $r;$i>=1; $i--){ pr
Hi -
I am getting the following error when running a cgi script in IIS.This same code
worked fine using Apache and I am not sure what is happening.
The error is:
Perhaps the capitalisation of DBD 'ODBC' isn't right. at
C:\Inetpub\Scripts\clickcount.cgi line 210
Here is my connection code:
$db
It worked on normal submit buttons but problem on image submit button.
I couldn't manage to work it with
image submit buttons. Fot example if their 2 image submit buttons as :
cgi cannot get the names of these? Must i use other module?
thanxs
bye
- Original Message -
From: "Brett
23 matches
Mail list logo