I’m running it on localhost ( windows with WAMP ) that is very good. but when I upload my source on my hosting (Linux of hostgator)
then It have error:
Warning: include(/protected/myfunc.php) [function.include]: failed to open stream: No such file or directory in /home/zerocold/public_html/bembem.com/mysite/index.php on line 9
Warning: include() [function.include]: Failed opening '/protected/myfunc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zerocold/public_html/bembem.com/congthanhtoan/index.php on line 9
PHP Error
Description
session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/zerocold/public_html/bembem.com/congthanhtoan/index.php:9)
00098: if(session_id()==='')
00099: {
00100: if($this->getUseCustomStorage())
00101: session_set_save_handler(array($this,'openSession'),array($this,'closeSession'),array($this,'readSession'),array($this,'writeSession'),array($this,'destroySession'),array($this,'gcSession'));
00102: session_start();