Utilisation de la fonction file_get_contents
Bonjour,
j'ai un pb avec ma fonction [function.file-get-contents]
je travaille sur wamp.
lorsque j'utilise cette fonction , on me renvoie une erreur :
Citation:
[function.file-get-contents]: failed to open stream
pourtant dans mon PHP.ini il ya bien
Citation:
allow_url_fopen = On
j'utilise bien la fonction
Citation:
$tot=file_get_contents($file);
Et quand je test le $file il me renvoi bien une valeur.
J'ai essayer sur le PC d'un ami qui travaille sur LAMP et la fonction marche bien.
qu'est ce que je peux faire ?
Aidez moi SVP