weslen500 0 Postado Agosto 30, 2011 Share Postado Agosto 30, 2011 Estou com esse problema na hora de criar conta no meu wodbo Link para o comentário Compartilhar em outros sites More sharing options...
Beeki 284 Postado Agosto 30, 2011 Share Postado Agosto 30, 2011 Muda de WebServer, vertrigo nao é muito bom não, usa WampServer ou XAMPP mesmo, se ajudei ? REP + ae Link para o comentário Compartilhar em outros sites More sharing options...
weslen500 0 Postado Agosto 30, 2011 Autor Share Postado Agosto 30, 2011 Bom baixei o wamp continua com o msm bug sera pq nao tem senha do sql_password ? nao sei como coloka senha no wamp Link para o comentário Compartilhar em outros sites More sharing options...
SkyDangerous 395 Postado Agosto 30, 2011 Share Postado Agosto 30, 2011 Amigo. Me passa o arquivo iobox.php. Para conferir. Link para o comentário Compartilhar em outros sites More sharing options...
weslen500 0 Postado Agosto 30, 2011 Autor Share Postado Agosto 30, 2011 Ta Ai \/ <?php/* Copyright © 2007 - 2008 Nicaw This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ class IOBox { private $elements, $buttons, $name, $label; public $target, $icon; function __construct($name){ $this->name = $name; $buttons = 0; } public function addMsg($msg){ $this->elements[]= '<p style="margin: 5px">'.$msg.'</p>'; } public function addSelect($name,$options){ $code = '<select id="'.$this->name.'__'.$name.'" name="'.$this->name.'__'.$name.'">'; foreach (array_keys($options) as $option){ $code.= '<option value="'.$option.'">'.$options[$option].'</option>'; } $code.= '</select> <label for="'.$this->name.'__'.$name.'">- '.ucfirst($name).'</label>'; $this->elements[] = $code; } public function addCaptcha(){ global $cfg; if(!$cfg['use_captcha']) return; if (isset($_POST['ajax'])) $img = 'doimg.php?'.time(); else $img = '../doimg.php?'.time(); $_SESSION['RandomText'] = substr(str_shuffle(strtolower('qwertyuipasdfhjklzxcvnm12345789')), 0, 6); $this->elements[]= '<img width="250px" height="40px" src="'.$img.'" alt="Verification Image"/>'; $this->elements[]= '<input id="captcha" name="'.$this->name.'__captcha" type="text" maxlength="10" style="text-transform: uppercase"/> <label for="captcha">- Verification</label>'; } public function addInput($name, $type = 'text', $value = '', $length = 100, $readonly = false){ if ($readonly) $readonly = ' readonly="readonly"'; else $readonly = ''; $this->elements[]= '<input id="'.$this->name.'__'.$name.'" name="'.$this->name.'__'.$name.'" type="'.$type.'" maxlength="'.$length.'" value="'.$value.'"'.$readonly.'/> <label for="'.$this->name.'__'.$name.'">- '.ucfirst($name).'</label>'; } public function addCheckBox($name, $check = false){ if ($check) $check = ' checked="checked"'; else $check = ''; $this->elements[]= '<input type="checkbox" id="'.$this->name.'__'.$name.'" name="'.$this->name.'__'.$name.'"'.$check.'> <label for="'.$this->name.'__'.$name.'">'.ucfirst($name).'</label>'; } public function addTextbox($name,$value = '',$cols = 40,$rows = 10){ $this->elements[]= '<textarea name="'.$this->name.'__'.$name.'" cols="'.$cols.'" rows="'.$rows.'">'.$value.'</textarea>'; } public function addSubmit($text){ $this->buttons[]= '<input style="width: 100px; height: 25px;" type="submit" name="'.$this->name.'__'.$this->name.'" value="'.$text.'"/>'; } public function addReload($text){ $this->buttons[]= '<input style="width: 100px; height: 25px;" onclick="ajax(\'form\',\''.htmlspecialchars($_SERVER['PHP_SELF']).'\',\'\',true)" type="button" name="'.$this->name.'__'.$this->name.'" value="'.$text.'"/>'; } public function addRefresh($text){ $this->buttons[]= '<input onclick="location.reload(false)" type="button" style="width: 100px; height: 25px;" value="'.$text.'"/>'; } public function addClose($text){ $this->buttons[]= '<input style="width: 100px; height: 25px;" onclick="document.getElementById(\'iobox\').style[\'visibility\'] = \'hidden\'" type="button" value="'.$text.'"/>'; } public function addCode($code){ $this->elements[]= $code; } public function addLabel($code){ $this->label = '<legend>'.$code.'</legend>'; } public function getCode(){ if (isset($_POST['ajax'])) $code = '<table cellspacing="10px" onmouseup="Cookies.create(\'iobox_x\',document.getElementById(\'iobox\').style.left,1);Cookies.create(\'iobox_y\',document.getElementById(\'iobox\').style.top,1);" style="visibility:hidden" id="iobox" class="draggable"><tr><td><fieldset>'.$this->label.'<form id="'.$this->name.'" action="javascript:ajax(\'form\',\''.htmlspecialchars($this->target).'\',getParams(document.getElementById(\''.$this->name.'\')),true)" method="post">'; else $code = '<div id="iobox" class="iobox"><fieldset>'.$this->label.'<form id="'.$this->name.'" action="'.htmlspecialchars($this->target).'" method="post">'; foreach ($this->elements as $element) $code.= $element."<br/><div style=\"margin-top: 5px;\"></div>\r\n"; $code.= '<hr style="margin: 10px 2px 2px 2px; padding: 0;"/> | '; foreach ($this->buttons as $button) $code.= $button." | \r\n"; $code.= '</form></fieldset></td></tr></table>'; return $code; } public function show(){ echo $this->getCode(); } } class Form { public $attrs; public function __construct($name){ foreach( array_keys($_POST) as $key){ if (eregi('^'.$name.'__',$key)){ $p = explode('__', $key); $this->attrs[$p[1]] = trim($_POST[$key]); } } } public function getBool($attr){ return $this->attrs[$attr] === 'on'; } public function exists(){ if (isset($this->attrs)) return true; else return false; } public function validated(){ global $cfg; if (!$cfg['use_captcha']) return true; if (strtolower($this->attrs['captcha']) === $_SESSION['RandomText'] && !empty($_SESSION['RandomText'])){ $_SESSION['RandomText'] = null; return true; }else return false; } } Link para o comentário Compartilhar em outros sites More sharing options...
SkyDangerous 395 Postado Agosto 30, 2011 Share Postado Agosto 30, 2011 Muito complicado para ver tudo isso ;( Desculpe , tentei ajudar. Vê se assim resolve <?php /* Copyright © 2007 - 2008 Nicaw This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ class IOBox { private $elements, $buttons, $name, $label; public $target, $icon; function __construct($name){ $this->name = $name; $buttons = 0; } public function addMsg($msg){ $this->elements[]= '<p style="margin: 5px">'.$msg.'</p>'; } public function addSelect($name,$options){ $code = '<select id="'.$this->name.'__'.$name.'" name="'.$this->name.'__'.$name.'">'; foreach (array_keys($options) as $option){ $code.= '<option value="'.$option.'">'.$options[$option].'</option>'; } $code.= '</select> <label for="'.$this->name.'__'.$name.'">- '.ucfirst($name).'</label>'; $this->elements[] = $code; } public function addCaptcha(){ global $cfg; if(!$cfg['use_captcha']) return; if (isset($_POST['ajax'])) $img = 'doimg.php?'.time(); else $img = '../doimg.php?'.time(); $_SESSION['RandomText'] = substr(str_shuffle(strtolower('qwertyuipasdfhjklzxcvnm12345789')), 0, 6); $this->elements[]= '<img width="250px" height="40px" src="'.$img.'" alt="Verification Image"/>'; $this->elements[]= '<input id="captcha" name="'.$this->name.'__captcha" type="text" maxlength="10" style="text-transform: uppercase"/> <label for="captcha">- Verification</label>'; } public function addInput($name, $type = 'text', $value = '', $length = 100, $readonly = false){ if ($readonly) $readonly = ' readonly="readonly"'; else $readonly = ''; $this->elements[]= '<input id="'.$this->name.'__'.$name.'" name="'.$this->name.'__'.$name.'" type="'.$type.'" maxlength="'.$length.'" value="'.$value.'"'.$readonly.'/> <label for="'.$this->name.'__'.$name.'">- '.ucfirst($name).'</label>'; } public function addCheckBox($name, $check = false){ if ($check) $check = ' checked="checked"'; else $check = ''; $this->elements[]= '<input type="checkbox" id="'.$this->name.'__'.$name.'" name="'.$this->name.'__'.$name.'"'.$check.'> <label for="'.$this->name.'__'.$name.'">'.ucfirst($name).'</label>'; } public function addTextbox($name,$value = '',$cols = 40,$rows = 10){ $this->elements[]= '<textarea name="'.$this->name.'__'.$name.'" cols="'.$cols.'" rows="'.$rows.'">'.$value.'</textarea>'; } public function addSubmit($text){ $this->buttons[]= '<input style="width: 100px; height: 25px;" type="submit" name="'.$this->name.'__'.$this->name.'" value="'.$text.'"/>'; } public function addReload($text){ $this->buttons[]= '<input style="width: 100px; height: 25px;" onclick="ajax(\'form\',\''.htmlspecialchars($_SERVER['PHP_SELF']).'\',\'\',true)" type="button" name="'.$this->name.'__'.$this->name.'" value="'.$text.'"/>'; } public function addRefresh($text){ $this->buttons[]= '<input onclick="location.reload(false)" type="button" style="width: 100px; height: 25px;" value="'.$text.'"/>'; } public function addClose($text){ $this->buttons[]= '<input style="width: 100px; height: 25px;" onclick="document.getElementById(\'iobox\').style[\'visibility\'] = \'hidden\'" type="button" value="'.$text.'"/>'; } public function addCode($code){ $this->elements[]= $code; } public function addLabel($code){ $this->label = '<legend>'.$code.'</legend>'; } public function getCode(){ if (isset($_POST['ajax'])) $code = '<table cellspacing="10px" onmouseup="Cookies.create(\'iobox_x\',document.getElementById(\'iobox\').style.left,1);Cookies.create(\'iobox_y\',document.getElementById(\'iobox\').style.top,1);" style="visibility:hidden" id="iobox" class="draggable"><tr><td><fieldset>'.$this->label.'<form id="'.$this->name.'" action="javascript:ajax(\'form\',\''.htmlspecialchars($this->target).'\',getParams(document.getElementById(\''.$this->name.'\')),true)" method="post">'; else $code = '<div id="iobox" class="iobox"><fieldset>'.$this->label.'<form id="'.$this->name.'" action="'.htmlspecialchars($this->target).'" method="post">'; foreach ($this->elements as $element) $code.= $element."<br/><div style=\"margin-top: 5px;\"></div>\r\n"; $code.= '<hr style="margin: 10px 2px 2px 2px; padding: 0;"/> | '; foreach ($this->buttons as $button) $code.= $button." | \r\n"; $code.= '</form></fieldset></td></tr></table>'; return $code; } public function show(){ echo $this->getCode(); } } class Form { public $attrs; public function __construct($name){ foreach( array_keys($_POST) as $key){ if ('^'.$name.'__',$key)){ $p = explode('__', $key); $this->attrs[$p[1]] = trim($_POST[$key]); } } } public function getBool($attr){ return $this->attrs[$attr] === 'on'; } public function exists(){ if (isset($this->attrs)) return true; else return false; } public function validated(){ global $cfg; if (!$cfg['use_captcha']) return true; if (strtolower($this->attrs['captcha']) === $_SESSION['RandomText'] && !empty($_SESSION['RandomText'])){ $_SESSION['RandomText'] = null; return true; }else return false; } } Link para o comentário Compartilhar em outros sites More sharing options...
weslen500 0 Postado Agosto 30, 2011 Autor Share Postado Agosto 30, 2011 Substitui mas agora apareceu novo erro ( ! ) Parse error: syntax error, unexpected ',' in C:\wamp\www\class\iobox.php on line 105 Call Stack # Time Memory Function Location 1 0.0010 367944 {main}( ) ..\notes.php:0 2 0.0020 405952 include( 'C:\wamp\www\include.inc.php' ) ..\notes.php:19 Link para o comentário Compartilhar em outros sites More sharing options...
Beeki 284 Postado Agosto 30, 2011 Share Postado Agosto 30, 2011 Velho baixa outro WebSite, tem varios sites pra Dragon Ball aki no xTibia só procurar. Link para o comentário Compartilhar em outros sites More sharing options...
weslen500 0 Postado Agosto 30, 2011 Autor Share Postado Agosto 30, 2011 Mano ja tentei com todos os meus web site de wodbo mais nao da todos dao akele erro la de cima /\ quando edito o iobox igual o cara falou o site nao pega da esse erro daki ( ! ) Parse error: syntax error, unexpected ',' in C:\wamp\www\class\iobox.php on line 105 Call Stack # Time Memory Function Location 1 0.0010 367944 {main}( ) ..\notes.php:0 2 0.0020 405952 include( 'C:\wamp\www\include.inc.php' ) ..\notes.php:19 Consegui resolver editei o status.xml e deu pra cria acc e tudo Link para o comentário Compartilhar em outros sites More sharing options...
Beeki 284 Postado Agosto 30, 2011 Share Postado Agosto 30, 2011 jah tentou usar o XAMPP ?, baixa ai e testa Link para o comentário Compartilhar em outros sites More sharing options...
SkyDangerous 395 Postado Agosto 30, 2011 Share Postado Agosto 30, 2011 Tenho certeza que alguma coisa que modificou e ta dando erro. Eu baixei o site do pokemon , também dava erro , eu fiz certinho que o cara pediu e deu certo. Então verifica se fez tudo certo. Link para o comentário Compartilhar em outros sites More sharing options...
weslen500 0 Postado Agosto 31, 2011 Autor Share Postado Agosto 31, 2011 O Erro ainda continua tipo clico em "Account" depois em "New Account" Aparece isso ( ! ) Deprecated: Function eregi() is deprecated in C:\wamp\www\class\iobox.php on line 105 Call Stack # Time Memory Function Location 1 0.0023 406040 {main}( ) ..\account_create.php:0 2 0.0199 1023360 Form->__construct( ) ..\account_create.php:22 Link para o comentário Compartilhar em outros sites More sharing options...
Magicsurf 2 Postado Setembro 22, 2011 Share Postado Setembro 22, 2011 aqui tambem ta assim quando eu tento criar a conta naum da Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados