when you use #include in ASP, what happens is the server takes all the code files and puts them together into one long script. This includes the originally requested ASP, and any include files. The important thing is that all those files are being processed by the ASP script engine. Any file you include will get processed by the script engine (regardless of the file extension). So it will process anything between <% and %> within that file as if it were in the original ASP file.
Point of this babble is that if you #included a PHP file, most likely you'll end up with PHP script bleeding onto your page because ASP will ignore the <?php ...?> tags.
Peter
------------------------------------------------------
Work smarter, not harder.
|