• Welcome to The Cave of Dragonflies forums, where the smallest bugs live alongside the strongest dragons.

    Guests are not able to post messages or even read certain areas of the forums. Now, that's boring, don't you think? Registration, on the other hand, is simple, completely free of charge, and does not require you to give out any personal information at all. As soon as you register, you can take part in some of the happy fun things at the forums such as posting messages, voting in polls, sending private messages to people and being told that this is where we drink tea and eat cod.

    Of course I'm not forcing you to do anything if you don't want to, but seriously, what have you got to lose? Five seconds of your life?

Does PHP reparse?

Pidgeot

New member
I have a simple question. After parsing a page for PHP, will a server reparse to look for PHP that appeared as a result of previous PHP, or to look for anything it missed?

For example, the contents of examplepage.php are:
<?php include ('file.txt');?>

And the contents of file.txt are:
<?php echo ('Hello World!');?>

So the server looks at examplepage.php, and includes file.txt, but file.txt also contains some PHP. Do visitors see <?php echo ('Hello World');?> or Hello World! on examplepage.php?
 
Back
Top Bottom