Hi
I use php includes all the time, and I'm looking for a way to do something that **may** not be possible.
Often I include a file using the server path:
If I have identified variables in the parent script, they are passed to the included script, and the included script is treated as an add-on to the parent script.
However in other cases I need to include a url in order to pass variables to be parsed:
I have very many of these running, and I want to speed up page loading times and minimize server load. Is there any way -- a flag, a function, a class -- to get php to parse these variables without the http call?
Thanks
Mike
I use php includes all the time, and I'm looking for a way to do something that **may** not be possible.
Often I include a file using the server path:
Code:
include ('path/file.php');
However in other cases I need to include a url in order to pass variables to be parsed:
Code:
include ('[URL unfurl="true"]http://somedomain.com/file.php?var=x');[/URL]
I have very many of these running, and I want to speed up page loading times and minimize server load. Is there any way -- a flag, a function, a class -- to get php to parse these variables without the http call?
Thanks
Mike