Upload fichier via un formulaire

celi2312 Messages postés 1 Statut Membre -  
 LordOfDev -
Bonjour,

J'ai creer un formulaire avec un upload de photo (envoi sur ma boite mail) mais j'ai ce message d'erreur !

Qui peut m'aider :

Warning: fsockopen() [function.fsockopen]: unable to connect to pop.:110 in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 55

Warning: fsockopen() [function.fsockopen]: unable to connect to mail.:110 in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 55

Warning: fsockopen() [function.fsockopen]: unable to connect to imap.:143 in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 55

Warning: fsockopen() [function.fsockopen]: unable to connect to imap.:220 in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 55

Warning: mail() [function.mail]: Invalid mail. to = [jtj] in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 181

Warning: copy() [function.copy]: open_basedir restriction in effect. File(../PHPMail_TempUpload/3qzevwra.jpg) is not within the allowed path(s): (/mnt/142/sdb/0/3/celi.creation) in /mnt/142/sdb/0/3/celi.creation/PHPFormMail.php on line 102

Warning: copy(../PHPMail_TempUpload/3qzevwra.jpg) [function.copy]: failed to open stream: Operation not permitted in /mnt/142/sdb/0/3/celi.creation/PHPFormMail.php on line 102

Warning: file_exists() [function.file-exists]: Unable to access ../PHPMail_TempUpload/3qzevwra.jpg in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 404
Class Mail, method attach : file ../PHPMail_TempUpload/3qzevwra.jpg can't be found
A voir également:

2 réponses

wpro Messages postés 65 Statut Membre 7
 
Warning: fsockopen() [function.fsockopen]: unable to connect to pop.:110 in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 55

Warning: fsockopen() [function.fsockopen]: unable to connect to mail.:110 in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 55

Warning: fsockopen() [function.fsockopen]: unable to connect to imap.:143 in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 55

Warning: fsockopen() [function.fsockopen]: unable to connect to imap.:220 in /mnt/142/sdb/0/3/celi.creation/classMail.php on line 55 


Debloquer les ports 110, 143, 220. Active un serveur smtp si c'est pas encore fait.
Pour le reste, le code source serait la bienvenue
0
LordOfDev
 
avec un bout de code, cela sera plus clair.
A première vu ta classe t'envoie de mail ne retrouve pas tes fichiers pièces jointe.
0