Ver Mensaje Individual
  #6 (permalink)  
Antiguo 30/08/2008, 12:41
Avatar de JoseAlejandro_Realza
JoseAlejandro_Realza
 
Fecha de Ingreso: agosto-2008
Ubicación: Maracay - Venezuela
Mensajes: 192
Antigüedad: 15 años, 8 meses
Puntos: 2
Respuesta: Como Cargar Una Variable A Una Base Da Datos Por Upload

Oigan disculpen la demora, solo que estaba trabajando en un diseño. Intente el codigo que me dio el naufrago y parecia estar bien, pero me esta marcando eerores cuando lo subo, cree el formulario llamado cargando.htm, conectandolo con el archivo envio.php, y con la conexion.php, la cual la estructure asi:

<?

$dbhost = "localhost"; // pondremos nuestro host

$dbuser = "miuser"; // nuestro usuario...

$dbpass = "mipass"; // y nuestro pass

$db = "enmaraca_archivos"; // el nombre de la db



mysql_connect("$dbhost","$dbuser","$dbpass"); //conectamos a la BD
mysql_select_db("$db");


?>

y cuando intento subir algo me marca muchos errores:


Warning: include(includes/conexion.php) [function.include]: failed to open stream: No such file or directory in /home/enmaraca/public_html/envio.php on line 2

Warning: include(includes/conexion.php) [function.include]: failed to open stream: No such file or directory in /home/enmaraca/public_html/envio.php on line 2

Warning: include() [function.include]: Failed opening 'includes/conexion.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/enmaraca/public_html/envio.php on line 2

Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/enmaraca:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/enmaraca/public_html/envio.php on line 7

Warning: move_uploaded_file(./modulos///jose2.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/enmaraca/public_html/envio.php on line 18

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php86Wm4Q' to './modulos///jose2.jpg' in /home/enmaraca/public_html/envio.php on line 18

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/enmaraca/public_html/envio.php on line 19

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/enmaraca/public_html/envio.php on line 19


Espero me Ayuden porque necesito esto para perfecionar mi Web

Última edición por JoseAlejandro_Realza; 30/08/2008 a las 12:49