Click here to get back home

Please help with this code

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Please help with this code Mr Ryerson 06-10-2007
Posted by Mr Ryerson on June 10, 2007, 3:40 pm
Please log in for more thread options


This code is in the config.pl file

$config = 'verifiedmembers.txt';
$config = '
bgcolor="f3f3f3" style="border-bottom: 2px solid gray;">
face="Tahoma" size="2">Verified PayPal Seller
$config . '"
';

my %verifiedmembers_data = ();

open (DAT, $config.$config ) ||
die("Could not open file " .
$config.$config );

while () {

chomp;

$verifiedmembers_data = 1;
}
close DAT;

$verifiedmembers_data = 123;

$config = \%verifiedmembers_data;

#########################
#And this is in my auction.pl file

my $mytitle;
if ($feat_yt eq "YES"){

print "
BGCOLOR=\"$config\">";
}
else {
print "
BGCOLOR=\"$itemrowcolor\">";
}
if ($feat_bf eq "YES") {
$mytitle = "$title";
}
else {
$mytitle = "$title";
}

my $my_verifiedmember_html;
if
(exists($}{lc($sel leralias)}))
{

$my_verifiedmember_html =
$config;
}

print
"
$filler$imagedisp";
print "$config
HREF=\"$ENV?category=$form{'category '}&item=$file
\" >$grabberpic $mytitle$my_verifiedmember_html";
print
"$#bids$config$bid$timerem
ai n\n";
}
}

What I need is a peice of code I can place on a particular page where
there is nothing and if they are not verified a peice of text I can
add that says this seller is not verified please help


Posted by Jonathan Leffler on June 11, 2007, 1:14 am
Please log in for more thread options


Mr Ryerson wrote:
> This code is in the config.pl file
[...snip...]
> What I need is a peice of code I can place on a particular page where
> there is nothing and if they are not verified a peice of text I can
> add that says this seller is not verified please help

Please go and read: http://www.catb.org/~esr/faqs/smart-questions.html

Please do not ask another question until you have done so.

Please do not resubmit this question until you can rewrite it to
demonstrate that you have done so.

--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2007.0226 -- http://dbi.perl.org/

Similar ThreadsPosted
ANNOUNCE: Code::Dumper - a ::Dumper for code. Available on CPAN November 21, 2005, 11:03 am
what is wrong in this code November 13, 2005, 10:40 pm
Image Magick code help November 29, 2004, 12:14 pm
Image Magick code help December 3, 2004, 6:43 pm
Net::Cmd::code doesn't return value of Net::Cmd::dataend January 10, 2005, 9:17 pm
explain code section please... August 28, 2006, 4:41 pm
encode the perl code September 6, 2006, 1:12 am
best module to parse / modify C-code October 7, 2005, 1:27 pm
net::rawip source code question January 8, 2006, 9:38 pm
Using Set::Object - evidently I need compiled code? March 31, 2008, 10:21 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap