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 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 *me* to chang

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 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 hasn't already been done

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 unsub

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 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,

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 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. Th

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

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 wrote: > On Sat, Oct 8, 2011 at 5:33 PM, Complex 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

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, inste

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 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 *witho

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 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 the PHP includes for th

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 doesn't work. Gods I wish it did, then I'd simply have rewritten the str

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 suc

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 wrote: > On Sat, Oct 8, 2011 at 1:09 PM, Tommy Pham 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

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 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 > not, what are

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 Tommy Pham
On Sat, Oct 8, 2011 at 8:36 AM, Complex 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 web pages that use Ser

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 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 web pages that use Ser