¿Cómo consigo poner el full path y el define en este script?
Hola, bueno esto es parte de un script para subir archivos, pero no entiendo como poner eso del full path y eso del "define" tampoco le entiendo, si alguien me lo explicara se lo agradecería muchísimo...
// name of the directory that your uploads will be kept in
$dirname = "files";
// the path that the uploads directory will be placed in
// the full path of something like: http://www.site/test/
define(PATH, "/usr/local/etc/httpd/htdocs/test/");
// gets just the file name and extension from the file input
// in the form
$filename = $myfile_name;
// name of the directory that your uploads will be kept in
$dirname = "files";
// the path that the uploads directory will be placed in
// the full path of something like: http://www.site/test/
define(PATH, "/usr/local/etc/httpd/htdocs/test/");
// gets just the file name and extension from the file input
// in the form
$filename = $myfile_name;
1 Respuesta
Respuesta de manoloweb
1