Web Hosting Talk







View Full Version : SSI parsing PHP


certify
10-10-2001, 03:22 AM
I read somewhere that it can be done, but I have lost the page and unable to get more info now as I want to implement this into my site. Any help?

Travis
10-10-2001, 04:31 AM
This might be what you're looking for:

http://www.php.net/manual/en/function.virtual.php

Tim Greer
10-10-2001, 08:37 AM
Originally posted by certify
I read somewhere that it can be done, but I have lost the page and unable to get more info now as I want to implement this into my site. Any help?

Forgive me for asking, but if you have PHP, why would you bother using SSI? Why not use PHP to do the work, or PHP to include the other PHP page or functions of that page? That might be easier to do all around and save you from trying to mix and match. However, what do you mean "parse" it? Pass arguments to it, or just include it and display it or something in a page via SSI tags, or? You have many options, depending on your answer, that will either help find a solution, or determine a better solution can be implemented.

certify
10-10-2001, 09:17 AM
Most of my files are still using SSI and it will take lots of change to convert it to PHP right now and I'm working on it slowly.

Anyway I've found what I'm looking for. Thanks. :)