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

2011-10-11 Thread tamouse mailing lists
On Sat, Oct 8, 2011 at 10:36 AM, Complex complex.confus...@gmail.com wrote: 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. I can't believe that this

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

2011-10-11 Thread tamouse mailing lists
On Sun, Oct 9, 2011 at 12:36 PM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Oct 9, 2011, at 11:41 AM, Complex wrote: 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

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

2011-10-10 Thread Tedd Sperling
On Oct 9, 2011, at 7:43 PM, Tommy Pham wrote: On Sun, Oct 9, 2011 at 8:41 AM, Complex complex.confus...@gmail.com wrote: 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

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 Tedd Sperling
On Oct 8, 2011, at 8:48 PM, Tommy Pham 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 the SSI includes on the

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

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

2011-10-09 Thread Tedd Sperling
On Oct 9, 2011, at 11:41 AM, Complex wrote: 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

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

2011-10-09 Thread Tommy Pham
On Sun, Oct 9, 2011 at 8:41 AM, Complex complex.confus...@gmail.com wrote: 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

[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 Tommy Pham
On Sat, Oct 8, 2011 at 8:36 AM, Complex complex.confus...@gmail.com wrote: 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

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

2011-10-08 Thread Tommy Pham
On Sat, Oct 8, 2011 at 8:36 AM, Complex complex.confus...@gmail.com wrote: 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

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

2011-10-08 Thread Tommy Pham
My apologies I was multitasking some heavy applications/tests and had a huge spike in CPUs utilization and I accidentally clicked on send x2.

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 Tommy Pham
On Sat, Oct 8, 2011 at 2:31 PM, Complex complex.confus...@gmail.com wrote: 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

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

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

2011-10-08 Thread Tommy Pham
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 the SSI includes on the larger website *without* having to also update