#1• TRATE DE MODIFICAR ESTO Paras ke funcione es un registro para una cosa <html> <head> <title>registro HBZerk</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <STYLE type="text/css"> <!-- A:link {COLOR: white; TEXT-DECORATION: none} A:visited {COLOR: white; TEXT-DECORATION: none} A:active {COLOR: red; TEXT-DECORATION: none} A:hover {COLOR: red; TEXT-DECORATION: noe} --> </STYLE> <body bgcolor="2222222" text="sadass"> <? Error_reporting(0); $dir = 'C:\HBZerkServer\Account'; if(!$_POST){ echo '<form action='.$_SERVER['PHP_SELF'].' method=post> <br><b>Cuenta:</b> <input name=account type=text maxlength=10> ( Maximo 10 Caracteres ) <br><b>Contraseña:</b> <input name=password type=password maxlength=10> ( Maximo 10 Caracteres ) <br> <b>Contraseña (Comprobacion):</b> <input name=confirm type=password maxlength=10> ( Maximo 10 Caracteres ) <br> <b>Direccion De Correo Electronico :</b> <input name=email type=text>( Requerido Para Recuperar contraseña ) <br> <b>Nombre Real :</b> <input name=rname type=text>( Requerido Para Recuperar contraseña ) <br> <b>Edad:</b> <select name="edad" size="1"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option> <option>18</option> <option>19</option> <option>20</option> <option>21</option> <option>22</option> <option>23</option>16:10 11/04/2005 <option>24</option> <option>25</option> <option>26</option> <option>27</option> <option>28</option> <option>29</option> <option>30</option> <option>31</option> <option>32</option> <option>33</option> <option>34</option> <option>35</option> <option>36</option> <option>37</option> <option>38</option> <option>39</option> <option>40</option> <option>41</option> <option>42</option> <option>43</option> <option>44</option> <option>45</option> <option>46</option> <option>47</option> <option>48</option> <option>49</option> <option>50</option> <option>51</option> <option>52</option> <option>53</option> <option>54</option> <option>55</option> <option>56</option> <option>57</option> <option>58</option> <option>59</option> <option>60</option> </select> <br> <b>Fecha de Nacimiento:</b> <select name="dia" size="1"> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <option>09</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option>16:10 11/04/2005 <option>18</option> <option>19</option> <option>20</option>16:03 11/04/2005 <option>21</option> <option>22</option> <option>23</option> <option>24</option> <option>25</option> <option>26</option> <option>27</option> <option>28</option> <option>29</option> <option>30</option> <option>31</option> </select> <select name="mes" size="1"> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <option>09</option> <option>10</option> <option>11</option> <option>12</option> </select> <select name="year" size="1"> <option>1950</option> <option>1951</option> <option>1952</option> <option>1953</option> <option>1954</option> <option>1955</option> <option>1956</option> <option>1957</option> <option>1958</option> <option>1959</option> <option>1960</option> <option>1961</option> <option>1962</option> <option>1963</option> <option>1964</option> <option>1965</option> <option>1966</option> <option>1967</option> <option>1968</option> <option>1969</option> <option>1970</option> <option>1971</option> <option>1972</option> <option>1973</option> <option>1974</option> <option>1975</option> <option>1976</option> <option>1977</option> <option>1978</option> <option>1979</option> <option>1980</option> <option>1981</option> <option>1982</option> <option>1983</option> <option>1984</option> <option>1985</option> <option>1986</option> <option>1987</option> <option>1988</option> <option>1989</option> <option>1990</option> <option>1991</option> <option>1992</option> <option>1993</option> <option>1994</option> <option>1995</option> <option>1996</option> <option>1997</option> <option>1998</option> <option>1999</option> <option>2000</option> <option>2001</option> <option>2002</option> </select> <br> <b>Genero :</b> <select name="gender" size="1"> <option>Hombre</option> <option>Mujer</option> </select> <br> <b>Pregunta Secreta :</b> <input name=question type=text>( Requerido Para Recuperar contraseña ) <br> <b>Respuesta Secreta :</b> <input name=answer type=text>( Requerido Para Recuperar contraseña ) </font> <br> <br><input name=submit type=submit value="Crear Cuenta!"> <br><br><a href="mailto:[email protected]">PHP By fercamus!</a></p> <br><a href="http://es.geocities.com/hbzerk/">-HBZerk-</a></p> '; } else{ $account = $_POST['account']; $confirm = $_POST['confirm']; $date = date('F d, Y g:i A'); $password = $_POST['password']; $email = $_POST['email']; $rname = $_POST['rname']; $question = $_POST['question']; $year = $_POST['year']; $mes = $_POST['mes']; $dia = $_POST['dia']; $gender = $_POST['gender']; $answer = $_POST['answer']; $ip = $_SERVER['REMOTE_ADDR']; $firstletter = substr($account, 0, 1); $ascii = ord($firstletter); $filename = $dir . '\\ASCII'.$ascii.'\\'.$account.'.txt'; if($account == '') { echo 'Error. Algun Dato No Fue Completado.'; } elseif(file_exists($filename)) { echo 'El nombre de la cuenta ya existe.';} elseif($email == '') { echo 'Error. Algun Dato No Fue Completado.';} elseif($rname == '') { echo 'Error. Algun Dato No Fue Completado.';} elseif(!ereg("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*$", $email)){ echo 'Por Favor Pone Un Mail Valido'; } elseif($password != $confirm) { echo 'Las Contraseñas No Son Iguales';} else{ $fp = fopen($filename, 'w+'); $string = 'Account Created: '.$date.' With the IP: '.$ip.' [NAME] account-name = '.$account.' [PASSWORD] account-password = '.$password.' [ACCOUNT-STATUS] account-valid-time = 0 account-valid-date = 2003 4 5 account-change-password = 2003 3 29 [ETC] account-Gender = '.$gender.' account-Age = '.$edad.' account-Birth-Year = '.$year.' account-Birth-Month = '.$mes.' account-Birth-Day = '.$dia.' account-RealName = '.$rname.' account-SSN = aaaaa account-Email = '.$email.' account-Quiz = '.$question.' account-Answer = '.$answer.' account-created-by = HBDreaM Account Creator'; $write = fputs($fp, $string); fclose($fp); echo 'Cuenta Creada Satisfactoriamente.'; } } ?> </body> </html> aqui esta subido ya pero las account no se van ala carpeta que se deben de ir osea no se crean http://200.115.250.29/AccountCreatorByJameS.php y este es el server C:\HBZerkServer\ |
#2• nadie sabe que pedo ??? porfa ayudenme entiendo o respodan que no saven o algo |
#3•• podiras especificar un poco mas el problema, asi creo que cuesta mucho ayudarte, hice click en el , y esta abajo. |
ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un nuevo tema en lugar de responder al actual |
Opciones: Ir al subforo: |
Permisos: TU NO PUEDES Escribir nuevos temas TU NO PUEDES Responder a los temas TU NO PUEDES Editar tus propios mensajes TU NO PUEDES Borrar tus propios mensajes |
Temas similares |
No se han encontrado temas similares |