Jump to content

BeckyLiu

Members
  • Content count

    15
  • Joined

  • Last visited


Reputation Activity

  1. Like
    BeckyLiu reacted to germ in function ereg index   
    Visit the link below:
     
    How to Secure Your Site
     
    Pay close attention to "SECURING THE ADMIN" - Yours is vulnerable.
     
    It's easier to do a few security fixes now than to clean up a hacked store later.
     
    And if you don't secure the admin your shop will be hacked.
     
    It's just a question of when...Today, tomorrow, next week, next month... Take your pick
     
    They always are.
    :'(
  2. Like
    BeckyLiu reacted to MrPhil in function ereg index   
    Is that just for the base osC code, or does that also fix any arbitrary contribution's code? I suspect the former, which means the OP will still have to manually fix any deprecated code found in her added contributions.
     
    http://us.php.net/manual/en/migration53.deprecated.php is the full list of PHP calls that may need to be changed, and how to change them.
  3. Like
    BeckyLiu reacted to pdcelec in function ereg index   
    Change that piece of code with
     

    if ( (!isset($_GET['sort'])) || (!preg_match('/^[1-8][ad]$/', $_GET['sort'])) || (substr($_GET['sort'], 0, 1) > sizeof($column_list)) ) { for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { if ($column_list[$i] == 'PRODUCT_LIST_NAME') { $_GET['sort'] = $i+1 . 'a'; $listing_sql .= " order by pd.products_name"; break;
×