Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by eiffel76

  1. eiffel76

    Dynamic URL Redirection

    Credit goes to jharnois at mod_dev_shed http://forums.devshed.com/apache-development-15
  2. eiffel76

    Dynamic URL Redirection

    I got help. Here's the working code: RewriteEngine on RewriteCond %{QUERY_STRING} ^.+products_id=([0-9]+)$ [NC] RewriteRule ^product_info\.php$ domain_here/product_info.php?products_id=%1 [R=301,L] For higher education on mod_rewrite, I found the following pages helpful...
  3. eiffel76

    Dynamic URL Redirection

    I have several pages that are dynamically generated, but lead to the same page. I.e.: product_info.php?manufacturers_id=11&products_id=727 product_info.php?cPath=199_28_195&products_id=727 product_info.php?products_id=727 As far as I can tell, Search Engines will see this as duplicate content...
  4. eiffel76

    PHP 5 array and String Offsets

    There's no error when it reads: function tep_get_source_list($name, $selected = '', $parameters = '') { "$show_other = false" has to be completely removed (removing "= false" alone doesn't help).
  5. eiffel76

    PHP 5 array and String Offsets

    I just found this in the php.net's "PHP5 Backward Incompatible Changes" ( http://www.php.net/manual/en/migration5.incompatible.php ) "Illegal use of string offsets causes E_ERROR instead of E_WARNING. An example illegal use is: $str = 'abc'; unset($str[0]);. How can "$show_other = false" be...
  6. eiffel76

    PHP 5 array and String Offsets

    It's: $show_other = false When it's removed, no error appears.
  7. eiffel76

    PHP 5 array and String Offsets

    Greetings, I have an array to output a dropdown menu from a database that fails with the error "Cannot use string offset as an array". I'm using PHP 5 and I'm not sure how to change the function to be compatible. Here's the string: function tep_get_source_list($name, $show_other = false...

Part and Inventory Search

Back
Top