Le test, c'est pas pour ton site en production, mais pour débugguer...
Juste pour voir si au moins il trouve le fichier...
Version imprimable
Le test, c'est pas pour ton site en production, mais pour débugguer...
Juste pour voir si au moins il trouve le fichier...
non il ne trouve pas le fichier pourtant à priori le chemein est bon ....
Citation:
/home/corseweb/www/resahotel/photos/Sound.png Fichier inexistant
Resolu....ouf
j'ai remplacé la fonction unlink() par exec('rm';$photoDir)
avec $photoDir = '/home/corseweb/www/resahotel/photos/'.$photo1
je n'ai toujour pas compris mais ça fait rien
merci de votre aide