Jump to content

Access to Data across Multiple PHP files (I suppose)


GapDragon

Recommended Posts

I use GD to create graphs of data that exists in my system.  I use a link like this to place the graph image on my page:      <img src="image.php" width="900" height="400" name="Image">

 

And this works just fine.  Image.php acquires the data to be graphed and creates a png image with it. (And does it very quickly, too.)

 

However, I would also like to have external access that data.  Unfortunately, it's acquired by the graphing function from a UDP broadcast stream and I have no idea how to make it available outside that file (or how to capture it twice, maybe).

 

I've had exactly no luck trying to implement a global variable, I suspect, because global variables really aren't global and their scope doesn't span multiple files.

 

 

Thanks,

GapD

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.