View Single Post
Old 09-05-2012, 07:41 AM   PM User | #8
phil1ooo
New Coder

 
Join Date: Dec 2009
Location: Australia
Posts: 40
Thanks: 15
Thanked 0 Times in 0 Posts
phil1ooo is an unknown quantity at this point
Quote:
Originally Posted by _Aerospace_Eng_ View Post
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
__________________
Ozy Industries Pty Ltd offers Domain sales, webhosting, email marketing, Advertising and much more at cheap rates. http://www.ozydomains.com.au
http://www.ozyauctions.com.au

Last edited by phil1ooo; 09-05-2012 at 07:43 AM..
phil1ooo is offline   Reply With Quote