| 
	
 | 
 Posted by Jerry Stuckle on 01/06/08 22:45 
SoulIntruder wrote: 
> On 6 Sty, 23:17, Jonas Werres <jo...@example.org> wrote: 
>>> I don't understand. 
>> You post code that works. Then you post the same code with an 
>> include-Statement in it. Thats a lot of code which has obviously nothing 
>> to do with your problem, since it works without include and ... well ... 
>> there's not much you can break in an include-Line. 
>> So, just perhaps, it _might_ have to do with the code you included, so 
>> one _could_ think it's worth a try to post it. 
>> 
>  
> Now I get it ;) 
>  
 
<code snipped> 
 
>  
>  
> I think that I might not understand correctly the function which 
> performs 
> "include". When I include something it is not only compiled but it is 
> also runned? 
> In such case, there might be some statement in the included file that 
> exits from runned script? 
> 
 
When you use include(), PHP includes the file, just as if you had  
manually copied and pasted the contents of the file.  This means any  
code not in a function will be executed. 
 
>>>> What is your error level? 
>>> I don't know. 
>> Erm. Find out? 
>  
> Ok, but how? I am quite net to PHP and server related tasks.. 
>  
>>> Yes I had. I've checked them out, but I have found nothing. 
>> Ok? Run again, post it. 
>  
> This error log is empty. But maybe it is not the same error log which 
> you refer to? 
>  
>  
 
In this case you probably won't see an error - it's probably the die()  
call which is causing your problems.  This is not an error. 
 
--  
================== 
Remove the "x" from my email address 
Jerry Stuckle 
JDS Computer Training Corp. 
jstucklex@attglobal.net 
==================
 
  
Navigation:
[Reply to this message] 
 |