Quote:
Originally Posted by _Aerospace_Eng_
don't worry about that post it is just a spammer. At the top of the page you are including the php on add the following.
PHP Code:
<?php ini_set('display_errors','On'); error_reporting(E_ALL); ?>
Are you sure it is in the root? It does come in a folder called phpLoanCalc.
|
Hi and thank you
Firstly Yes it was in the root dir but I have now changed it to the same directory as where the file I am placing the include in is which you will see below.
This is a copy of the error shown;
Quote:
|
Fatal error: Cannot redeclare strip() (previously declared in /home/myserver/public_html/filename/filename.php:783) in /home/myserver/public_html/extensions/loan-calculator.php on line 175
|
Now here is a copy of what is on that line and lines around it.
PHP Code:
}
function strip($value)
{
if(get_magic_quotes_gpc() == 0)
return $value;
else
return stripslashes($value);
}
Line 783 is the one that starts with the word "function" .
If allowed as I am not sure I can either place a link to me site page in question here or MP it to you which ever is fine by me if you feel that might help some.
Cheers