Results 1 to 24 of 24
Sep 23, 2006, 01:10 #1
- Join Date
- Jun 2005
- 0 Post(s)
- 0 Thread(s)
PHP To Insert text from another domain
From another thread where I thankfully received some excellent help from some of the other members :
I just need a bit more help if possible.
I think I've gone wrong somewhere, it seems that the rates will only update, if I upload currency.txt ? ;-(
It's now important that one domain gets it's info from another one, so that :
As an example, in www.130605.com/currency/index.php the currency is displayed ;
and that page gets its calculations from www.010805.com/currency/currency.txt
which gets its calculations from www.010805.com/currency/get_rates.php
Have I got it correct that the cron job :
php -q /home/practice/www/currency/get_rates.php > /dev/null
needs to be on the www.010805.com domain ? (which I would prefer really)
Also, in the context of the above text and excellent help from the others here, could anyone please fill in/confirm what the chmod's for the bits below should be please ?
currency.txt - 666 ? The folder that contains currency.txt - ?
get_rates.php - ? The folder that contains get_rates.php - ?
index.php - ? The folder that contains index.php - ?
Any help really appreciated.
All the best.
Last edited by Dez; Sep 25, 2006 at 06:46.