Problème d'initialisation de la session

scropfi01 Messages postés 16 Date d'inscription lundi 23 novembre 2009 Statut Membre Dernière intervention 2 juin 2010 - 23 févr. 2010 à 10:29
kohntark Messages postés 3705 Date d'inscription lundi 5 juillet 2004 Statut Membre Dernière intervention 27 avril 2012 - 23 févr. 2010 à 19:40
j'ai developpé un site avec php mysql , j'ai utilisé plusieurs fonctions la plupart marche mais la fonction header('location:paggegeg.php'),et la fonction session_start() marche bien sur le serveur local mais quand j'ai hébergé mon site elles m'affichent des warning j'ai pas compris pourquoi??

erreur qui s'afiche pour session_start:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/fretmagh/public_html/inscription.php:3) in /home/fretmagh/public_html/inscription.php on line 25

erreur qui s'afiche pour la fonction header:
Warning: Cannot modify header information - headers already sent by (output started at /home/fretmagh/public_html/inscription.php:3) in /home/fretmagh/public_html/inscription.php on line 92

merci
Webmaster,USTHB

1 réponse

kohntark Messages postés 3705 Date d'inscription lundi 5 juillet 2004 Statut Membre Dernière intervention 27 avril 2012 30
23 févr. 2010 à 19:40
Bonjour à toi aussi

La bonne chose : poser des questions
La moindre des choses : répondre aux intervenants qui répondent à tes questions

Commence donc par ce dernier point.


Kohntark -
0
Rejoignez-nous