| 
	
 | 
 Posted by SA SA on 07/12/07 20:00 
On Jul 12, 3:10 pm, #2pencil <number2pen...@gmail.com> wrote: 
> login.php 
> <? 
> 
>         session_start(); 
>         $expiry = 60*60; //1hr in seconds 
>         setcookie(session_name(), session_id(), time()+$expiry, "/"); 
> ?> 
> 
> .... 
> .... 
> .... 
> else //FORM SUBMITTED 
> 
> It looks as if you close your php code block & then never start it 
> again.  Was this part not pasted, or is this how your code actually 
> reads?  Also, you should start your php code block with <?php rather 
> than just <?. 
> 
> -#2pencil-http://www.akroncdnr.com 
 
Thanks 
I added <?PHP but did not make difference. As for as code block. I 
just did not copied all code - just portion. It is open and closed and 
open properly. 
 
It worked in the past - i am having this issue ever since hosting 
company moved me to different server. 
 
thanks 
sa
 
  
Navigation:
[Reply to this message] 
 |