Home     Articles & Projects     Products & Web Services     Forum

Forum

Universal redirect

Hi David

I am working on a site where the links and link text are dynamic. I want to place the redirect script, but I can seem to get it right

This is the current link:

Visit <a href="<?php echo $row_rstGetMerch['merch_url']; ?>" target="_blank"><?php echo $row_rstGetMerch['name']; ?></a>

How would I adapt
<?php print "<p><a href='jump.php?id=".jumplib_getID("http://www.example.com/")."'>example.com</a></p>";?>

to include the variables?
kelly

Amazon Feed

Amazon is changing there data feed I have a username and password but I dont understand the new format.
This a smaple of Data feeds
The complete list of possible requests to list Data Feeds is:
curl --user [username:password] --digest -k
{link saved}
curl --user [username:password] --digest -k
{link saved}
curl --user [username:password] --digest -k
{link saved}
curl --user [username:password] --digest -k
{link saved}
And this is a sample of feed
To download a Data Feed, use the getFeed command:
curl --location --user [username:password] --digest -k
{link saved}
> us_ecs_baby.xml.gz

I assume I need a script to run this? Can You explain this at all?

Thanks
Dean

Add minutes,hours,days on a date

Hi david
Im a new member in this Forum i found out about your forum via google when searching for php & javascript coding. Im a portuguese student and Im currently working in my project based on web strategy game, my problem is in having a mysql value that represent a number of seconds needed to build or produce a unit this number of seconds represents the amount of time needed to build a structure, i need to pass this number of seconds into a valid date that would represent seconds,minutes,hours and days.
Here is an example:
Sun Jun 22 16:13:59 2008 + 12 days 2hours 7minutes 1 second = Sun Jul 4 18:15:00 2008

Does any1 have any thoughts or ideas i could follow?

Directory structure creation with Mod Rewrite

David,

I know PT can create a virtual directory structure using Mod Rewrite for search.php and wondered whether this is possible for The Big Business Directory? I currently have to hand code all the pages to create the directory structure for The Big Business Directory. Is it possible to create a database that will do this based on a limited number of files? If you have a look at the site you will see how the directory pages and merchant pages currently look.

Kind regards

Stephen
Online Shopping For
The Big Business Directory

Universal redirect script.

Will this affect pricetapestry. I have enabled url cloaking in pricetapestry but other parts of my website I post banner and text ads and would like to hide the affiliate links. Pricetapestry aleady has a jump.php file.

Latest news script

Hi David,

Im looking for a simple script to display news on my site.
i want to write some articles and have the latest 3 for example display the first few lines on the front site , and when clicked take tyou to the right article.

im sure there must me a simple script available that can do this but im having trouble finding one , do you know of any or where I might find one??

Amazon.com API

Hi David,

With refernce to this article http://www.magicparser.com/node/123 is there a way to search the amazon.co.uk API without including the "&SearchIndex=Electronics" category info, For example if users are searching for a product which they are not sure of which category it is in.

Thanks
Shopping

Database Optimisation

Hi David,

I hope you are well and that you had a good Christmas and New Year?

Could you perhaps point me in the right direction for a script to optimise only the tables in a database which require optimisation?

$sql = "OPTIMIZE TABLE `products`";

Thanks,
Simon

n/a

n/a
Syndicate content