Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: gallo_miguel on January 03, 2006, 02:31:50 AM
-
Hi, I've been having troubles traying to upload images (jpg) to my sme 6 server with a php script. i just find a new file in /tmp that soppouse to be copied to my primary ibay.
any idea ?
thanks in advance.
mgallo
-
http://no.longer.valid/phpwiki/index.php/TroubleshootingFAQ#php_basedir
-
I allready run this lines but the problem persist.
-
Hi, I've been having troubles traying to upload images (jpg) to my sme 6 server with a php script. i just find a new file in /tmp that soppouse to be copied to my primary ibay.
any idea ?
I'm pretty sure you'll find that the problem is in your script. Be sure to check your log files for php script errors. A php scripting forum might be able to better help you.
-
is a very simple script, this script works in sme server 5, I hope someone can help.
thanks.
mgallo
if ($nPantalla==1){
if(strlen($userfile_name)>0){
if (!copy($userfile, "imgNoticia/"$userfile_name)) {
printf("Error al subir el archivo de libra...");
}else{
$sFile = $userfile_name;
}
}
}
-
If you are working with a plain just installed SME 6 server you may try this
script
http://tech.tailoredweb.com/simple-upload-53.php
It worked for me partially as uploads worked fine but not deletion of files...
However it stopped working when I applied the PHP version 4.3.10 upgrade from
http://no.longer.valid/phpwiki/index.php/SME6.0.1Contribs