Re: [PHP] Server Side Include translator as PHP functions

2011-10-10 Thread Complex
Ah, well, thanks for the job advice, guys. I'll go looking elsewhere for possible PHP solutions. Or, failing that, continue the build up to actually being able to replace all of this with a company-wide (and hopefully PHP-based) solution. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Server Side Include translator as PHP functions

2011-10-09 Thread Complex
Tedd, The crucial detail you're lookign for is my lack of choice or control in the matter, for all sorts of reasons that are actually quite stupid but not possible for *me* to change, and not possible for anyone else to change quickly. Thus I am looking for a solution to the problem at hand,

Re: [PHP] Server Side Include translator as PHP functions

2011-10-09 Thread Complex
On Sat, Oct 8, 2011 at 8:48 PM, Tommy Pham tommy...@gmail.com wrote: On Sat, Oct 8, 2011 at 5:33 PM, Complex complex.confus...@gmail.com wrote: Thanks for the advice, I'm aware of all that, but I'm looking for a specific PHP solution at the moment. Unless you have advice on how I can update

[PHP] Server Side Include translator as PHP functions

2011-10-08 Thread Complex
Hello, Can you please tell me if there's already a set of PHP functions for translating SSI commands to PHP? I'm looking to do two things -- one difficult, one easy -- using PHP on a hosted server. My client has web pages that use Server Side Includes, and one sub-site that uses PHP. The task is

Re: [PHP] Server Side Include translator as PHP functions

2011-10-08 Thread Complex
On Sat, Oct 8, 2011 at 1:09 PM, Tommy Pham tommy...@gmail.com wrote: I think you didn't provide enough details to get a more accurate suggestion of a solution, but here goes...  Is 'include SSI file B' always included and always need to be replaced?  If so, that's a very apparent solution.  If

Re: [PHP] Server Side Include translator as PHP functions

2011-10-08 Thread Complex
Thanks for the advice, I'm aware of all that, but I'm looking for a specific PHP solution at the moment. Unless you have advice on how I can update the SSI includes on the larger website *without* having to also update the PHP includes for this smaller website? I take it that you don't know of

Re: [PHP] Server Side Include translator as PHP functions

2011-10-08 Thread Complex
Oh, and on our servers you can't call PHP commands from SSI includes. I'm not certain if that's true from all servers, but it's certainly the case that on some servers the PHP runs first and then the server side commands. So !--#include virtual=/path/to/php/code2exec.php -- doesn't work. Gods I