Re: counting clicks on a flash ad
| From: | James Redfern | Date: | Thu, 31 Oct 2002 23:47:38 +0000 |
| Subject: | Re: counting clicks on a flash ad | ||
| References: | 1 2 | Groups: | php.general php.general php.general |
| Request: | Send a blank email to php-general+get-122379@lists.php.net to get a copy of this message | ||
On Tue, 29 Oct 2002 09:35:27 -0500 (EST), jboonstra@gospelcom.net
(Joel Boonstra) wrote in
<Pine.LNX.4.44.0210290933070.4613-100000@amos.gf.gospelcom.net>:
¦ You might try using software like phpAdsNew:
¦
¦ http://www.phpadsnew.com/
¦
¦ It has a fantastic admin interface for you and for the advertiser, it
¦ supports Flash banners, as well as everything else you want to throw at
¦ it, it's free, and it's free. Installation is remarkably easy.
Joel,
Having got an earlier version of phpAdsNew working effortlessly once
before, when it was pre-configured into an auction package, I now find
myself struggling to get the latest version running on an e-smith
virtual domain web site. Can you or anyone else give me some pointers
on how to do it on e-smith? Having set it up according to the book (in
/ibays/southern/html/phpadsnew/, the code it wants me to use in 'local
mode' is as follows, for php:
<?php
require(getenv('DOCUMENT_ROOT').'/phpAdsNew/phpadsnew.inc.php');
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_id = view ('', 2, '_blank', '', '0',
$phpAds_context);
?>
and suggests this html in the slower 'remote mode':
<a
href='http://www.southerncarsales.co.uk/phpAdsNew/adclick.php?n=ac88577b'
target='_blank'><img
src='http://www.southerncarsales.co.uk/phpAdsNew/adview.php?clientid=2&target=_blank&n=ac88577b'
border='0' alt=''></a>
I have tried embedding both/either in my html header but neither
works. I can embed PHP into HTML can't I?
JR.
--
James Redfern [The Redfern Organization]
PGP Auto-responder <mailto:pgpkeys@privacyx.co.uk?subject=0xCB81E8E8>
Fingerprint: 6809 FE89 4CEF E76F C6DF 04BF 46DC 58B9 CB81 E8E8
...You always suppress momentary anger at something you deeply and permanently hate"--Robert M.
Persig