am incercat asa :
Cod: Selectaţi tot
if (!file_exists($variabila)) {
}
Cod: Selectaţi tot
if(move_uploaded_file($_FILES['ftrailler']['tmp_name'], $uploadpath)) {
Cod: Selectaţi tot
if (!file_exists($variabila)) {
}
Cod: Selectaţi tot
if(move_uploaded_file($_FILES['ftrailler']['tmp_name'], $uploadpath)) {
Cod: Selectaţi tot
if (!file_exists($uploadpath)) {
if(move_uploaded_file($_FILES['ftrailler']['tmp_name'], $uploadpath)) {
// ...
}
}