Web Hosting Talk







View Full Version : timestamp...


Mekhu
08-12-2003, 01:24 AM
Top Hosts has been in contact with me for the past week or so setting up a banner deal and they finally sent me the banner, but I am lost with one thing:

"You will need to insert a random number or time stamp string in both the click-thru and image line. If you have any questions on how to do this or the correct format please let me know. "


<IMG SRC="http://nx-adv.tophosts.com/RealMedia/ads/adstream_nx.ads/Verticalscope.
WebHost-Resources.TophostsCOM/Verticalscope/Webhost-
Resource/INSERT_TIMESTAMP_HERE?" ALT="" WIDTH=468
HEIGHT=60 BORDER=0 ></a>


How do I go about doing this!?

FW-Mike
08-12-2003, 03:52 AM
Something like..


<?php
$time = time();
?>

<IMG SRC="http://nx-adv.tophosts.com/RealMedia/ads/adstream_nx.ads/Verticalscope.
WebHost-Resources.TophostsCOM/Verticalscope/Webhost-
Resource/<?php echo $time; ?>" ALT="" WIDTH=468
HEIGHT=60 BORDER=0 ></a>



Would echo the time stamp after the last slash there, is that what you need?

Mekhu
08-12-2003, 01:31 PM
Perfect!