public marks

PUBLIC MARKS from bacon with tags webdev & admin

May 2008

.htaccess tricks and tips.. part two: url rewriting with mod rewrite.

by 10 others
Here's the very basics of regexp (roughly from the apache mod_rewrite documentation)..

November 2007

July 2007

March 2007

August 2006

alterar informações do cliente na admin de banner no xoops 2.0.14

olá,! baixei o xoops 2.0.14 e vi que ele vem com um pequeno problema que não te permite alterar as informações de um cliente na administração de banners. eis a correção: linha 190 do arquivo modules/system/admin/banners/main.php é assim: <div class="xoopscode"><pre><samp><code>$sql = sprintf("update %s set name = %s, contact = %s, email = %s, login = %s, passwd = %s, extrainfo = %s where cid = %d", $db->prefix("bannerclient"), $db->quotestring($myts->stripslashesgpc($name)), $db->quotestring($myts->stripslashesgpc($contact)), $db->quotestring($myts->stripslashesgpc($email)), $db->quotestring($myts->stripslashesgpc($login)), $db->quotestring($myts->stripslashesgpc($passwd)), $db->quotestring($myts->stripslashesgpc($extrainfo)));</code></samp></pre> deve ser trocada por isto: <div class="xoopscode"><pre><samp><code>$sql = sprintf("update %s set name = %s, contact = %s, em