Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

PHP 5.3 issue - pls help

Recommended Posts

hi All php experts..


iv'e installed the stats module available here:



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 //-->



<?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;


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

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





Hope you can help me.




Dedicated OsCommerce user. 2011 will be the return of OsC

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...