Login   Register  
PHP Classes
elePHPant
Icontem

error

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Gammu  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Subject:error
Summary:Cannot modify header information when sending sms
Messages:1
Author:Mark Hanna
Date:2009-10-25 21:41:12
 

  1. error   Reply   Report abuse  
Picture of Mark Hanna
Mark Hanna
2009-10-25 21:41:12
when I run the code as it is i get the following error

" Warning: Cannot modify header information - headers already sent by (output started at E:\xampp\htdocs\sms\class.gammuWin32.php:38) in E:\xampp\htdocs\sms\sampleTwoActionPage.php on line 10"

but the text message goes through. If I fix the error by changing
passthru($command." 2>&1') to passthru($command."2>&1') I get the sendform beack with the message sent text but the message never sends.

Please help.