"Wiggins d Anconia" <[EMAIL PROTECTED]> wrote in message ...
> if ($siteurl2 =~ /^(?:www.)?$FORM{'siteurl'}\/?$/) {
^^^
Keep in mind that this solution requires that the URL does not begin with
"http://";. The . above needs to be backslashed; including "www.", it also
OP
Hi, J77,
Your question is not exactly clear, but I will try to answer what *I* think
you are asking. First, I will assume that you have a list of web sites with
and without "http://www."; that you want to index like so:
http://www.microsoft.com
http://ibm.com
www.ebay.com
yahoo.com
Second, I wil
In a message dated 8/10/04 4:15:12 PM Eastern Daylight Time, Jimstone77
writes:
> I am not entirely sure I follow but does this do it?
>
> if ($siteurl2 =~ /^(?:www.)?$FORM{'siteurl'}\/?$/) {
>print "Matched";
> }
>
> Aka optionally 'www.' followed by the submitted URL, with an optional
> t
>
> I know there is a much simpler way to do this. What this does is check
a URL
> written with and without www. or trailing / against a list of urls
that (one
> at a time) are placed in $siteurl2.
>
> $FORM{'siteurl'} is the site url being submitted.
> $alternativeurl is $FORM{'siteurl'} wit
I know there is a much simpler way to do this. What this does is check a URL
written with and without www. or trailing / against a list of urls that (one
at a time) are placed in $siteurl2.
$FORM{'siteurl'} is the site url being submitted.
$alternativeurl is $FORM{'siteurl'} without the www. i