Hi....
Including a php inside symfony framework is a very easy thing. Let me explain it can be done.
You can do this in two ways
i) First one is the normal and logical way is to use the templates and displaying using sfConfig
refer this Including PHP
ii) second one is simpler to use for which u need not use action or templates.
To achieve this u just need to call that particular php file inside an iframe, that would be the simpler way to include a php file.
Sometimes u may need to open this page in a thickbox, at this time u will be calling the page in body onload function but this may not workout sometimes, but u can the delay option and then use the iframe to display the page.This will work fine.
Including a php inside symfony framework is a very easy thing. Let me explain it can be done.
You can do this in two ways
i) First one is the normal and logical way is to use the templates and displaying using sfConfig
refer this Including PHP
ii) second one is simpler to use for which u need not use action or templates.
To achieve this u just need to call that particular php file inside an iframe, that would be the simpler way to include a php file.
Sometimes u may need to open this page in a thickbox, at this time u will be calling the page in body onload function but this may not workout sometimes, but u can the delay option and then use the iframe to display the page.This will work fine.
No comments:
Post a Comment