Arggghhh.... OK... I just spent hours trying to get the co-op working on an APF4 site (w/ mod_rewrite) and can't get co-op ads to work. I know it can be done because I have seen the co-op on other Amazon store sites pages. I have successfully gotten co-op to work in other CGI's, PHP pages and on HTML with that excellent php wrapper code (thanks!) but for the life of me can't figure out how to get co-op ads on amazon products pages. What files do you put the code in and what code do you use. I have been trying this wrapper code (because it worked in my other cgis). Am I missing something? Does it go in a script file or a template??? I've searched up and down through this forum and other than being pointed to a mod no answers given. Please help me! ___________ ## START perl->php wrapper code use LWP::UserAgent; # set the full http path to the ad page here: my $ad_url = qq{http://www.doomain.com/php/coop.php}; $ad_url .= qq{?ip=} . $ENV{REMOTE_ADDR}; my $output = ''; my $ua = new LWP::UserAgent; $ua->agent("Perl-Php-Coop-Wrapper/1.2"); my $req = HTTP::Request->new(GET => $ad_url); my $res = $ua->request($req); if($res->is_success) { $output .= $res->content; } print $output; ## END perl->php wrapper code ___________________________ Any ideas are appreciated.