Thanks for the replies guys but in the code posted I am supossed to have a product_version.php file on my server?
What parts are needing to be changed to work for any particular product? What are all the file requirements?
Is the code posted for the "product_version.php" file?
--------------- Added [DATE]1275890945[/DATE] at [TIME]1275890945[/TIME] ---------------
Darn it may help if instead of searching vb.org I check the help file haha
Quote:
For the version check to function properly, data returned from the specified URL should be in the format of:
<version productid="x">1.2.3</version>x should be replaced with the ID of the product that the version applies to. 1.2.3 should be replaced with the latest version of the product.
Note: A POST request will be made to the server. Some configurations deny this for static files so you may need to use PHP to serve the data
|
Your code example makes more sense to me now
Edit: So what does "clean' mean and I assume its specific to your product so I wouldnt use it?
Thanks
--------------- Added [DATE]1275892970[/DATE] at [TIME]1275892970[/TIME] ---------------
Would I be able to have one product_version.php file for all my products?
PHP Code:
<?php
$product_version = "<version productid=\"myproduct1\">1.1.0</version>";
$product_version .= "<version productid=\"myproduct2\">1.0.0</version>";
$product_version .= "<version productid=\"myproduct3\">2.0.0</version>";
echo $product_version;
?>
Edit: Tested, looks like it works.