Jump to content
Sign in to follow this  
scandic_outlet

PHP 5.3 issue - pls help

Recommended Posts

hi All php experts..

 

iv'e installed the stats module available here:

http://addons.oscommerce.com/info/8078/v,23

 

Its otuputting a php error, that iv'e tried to resolve using my friend google,but without luck :(

 

I hope one of you guys, can help me fix this simple line.. updating it to work with propper php 5.3 code (the line marked in bold)

 

<!-- footer_eof //-->

</body>

</html>

<?php require(DIR_WS_INCLUDES . 'application_bottom.php');

 

function mirror_out ($field) {

global $csv_accum;

echo $field;

$field = strip_tags($field);

$field = ereg_replace (",","",$field);

if ($csv_accum=='') $csv_accum=$field;

else

{if (strrpos($csv_accum,chr(10)) == (strlen($csv_accum)-1)) $csv_accum .= $field;

else $csv_accum .= "," . $field; };

return;

};

 

 

Hope you can help me.

 

Thanks

Michael


Dedicated OsCommerce user. 2011 will be the return of OsC

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×