Forum Moderators: coopster

Message Too Old, No Replies

Run multiple PHP files without include?

         

StoutFiles

2:26 pm on Sep 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have three PHP files which each generate a .png file. Once the graph is generated, no other PHP code can be run. Currently the only way I can run all these files is to include them all in iframes.


<IFRAME SRC="example1.php" WIDTH=0 HEIGHT=0></IFRAME>
<<IFRAME SRC="example2.php" WIDTH=0 HEIGHT=0></IFRAME>
<IFRAME SRC="example3.php" WIDTH=0 HEIGHT=0></IFRAME>

Naturally this is messy, and requires a page refresh for the .png files to be displayed as well. What I'm wondering is if there is a way to run these files through a php file without using iframes?

StoutFiles

2:38 pm on Sep 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Nevermind, just rewrote the php code to not terminate after generating the .png.