1
Installation Problems / Re: Cron job probs
« on: June 02, 2007, 01:20:19 am »
Yeah I was considering removing that line, but now that I look, I've found the email notification option in my CP.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I've been following your progress as I also use Dreamhost and, if you look at my earlier reply I gave you the way I got it to do what I needed.Hmm..but you got it to work right? Mind if I send you screenshots of what I've got so far?
I too wasted far too much time trying to sort out other methods and eventually decided to use the easy way out and not be too bothered about it.
Instead of just "php", try /usr/bin/php and /usr/local/bin/php:Hmm..I tried that. I'm going to try feeble's suggestion now. I cant believe I missed that page of the wikiCode: [Select]/usr/bin/php /home/***/www/forums/sources/shop/dointerest.php
sh: line 1: php: command not found
php /home/***/www/forums/sources/shop/dointerest.php
<?php
/**********************************************\
| SMFSHOP (Shop MOD for Simple Machines Forum) |
| (c) 2005 DanSoft Australia |
| http://www.dansoftaustralia.com/ |
\**********************************************/
//File: dointerest.php
// The file to add interest to member's bank
//VERSION: 1.31 (Build 7)
//DATE: 10th December 2005
// $Id: dointerest.php 4 2006-07-08 10:09:08Z daniel15 $
if(!isset($_SERVER["HTTP_HOST"])) {
include("../../SSI.php");
$interest_rate = $modSettings['shopInterest'] / 100;
db_query("UPDATE {$db_prefix}members
SET moneyBank = moneyBank + (moneyBank*{$interest_rate})", __FILE__, __LINE__);
echo "Interest added at ".date("d/m/Y h:i:s A");
}
?>
/usr/bin/lynx -dump=20
http://www/forums/filename.php
<?php
/**********************************************\
| SMFSHOP (Shop MOD for Simple Machines Forum) |
| (c) 2005 DanSoft Australia |
| http://www.dansoftaustralia.net/ |
\**********************************************/
//File: dointerest.php
// The file to add interest to member's bank
//VERSION: 1.31 (Build 7)
//DATE: 10th December 2005
include("/home/.***/www/forums/SSI.php");
$interest_rate = $modSettings['shopInterest'] / 100;
db_query("UPDATE {$db_prefix}members
SET moneyBank = moneyBank + (moneyBank*{$interest_rate})", __FILE__, __LINE__);
echo "Interest added at ".date("d/m/Y h:i:s A");
?>
lynx -dump http://zephyrgaming.com/forums/Sources/shop/dointerest.php