This is not currently possible with ESCal "as-is"... the escalEV.php file would need to be modified to only have the table defenition instead of an entire html page...
But on the other hand, i HIGHLY recomend you not do that...
Picture this...... some smart a$$ sees that he can include any file by just replacing the file name......
like server.com/calender/index.php?incl=/../../privatefile.txt
then buddy would get your privatefile.txt included right in your webpage......
(granted, that's only if the server has access to the file, etc, etc...)
But you get my point? This would be easily breakable.....
My suggestion would be to use something more along the lines of
Code:
isset($_GET['incl']) ? include("http://server.com/calender/escalEV.php?ev=".$_GET['ev']) : include("demo.php");
That way, if anything breaks, it'll only be that the event won't be displayed properly... not that something totally different will be displayed. Now, I haven't tested this at all... but if you need more help than this, let me know
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
|