include and coding explosion
Moderator: General Moderators
include and coding explosion
Hi,
If we include a script from an external webpage, will that explode our origin script coding ?
Thanks in advance.
If we include a script from an external webpage, will that explode our origin script coding ?
Thanks in advance.
for example i got some page that get displayed from affiliate external website. of course one of the way is to use iframe but it will spoil the design of the whole webpage. So instead of it, i prefer to include externally to my existing page using coding like following ...
include("external_page.php");
shouldn't be any problems, but just to double confirm it .
include("external_page.php");
shouldn't be any problems, but just to double confirm it .
That will fail, try using something like file_get_contents() instead 
EDIT: Depending on what you want to do of course, but it sounds like you want to include the output of the external file and not access the code itself?
EDIT: Depending on what you want to do of course, but it sounds like you want to include the output of the external file and not access the code itself?
how about some page that need to gather input and process different output or even redirect to different page based on the input? and these different page might be different for each external host.
if we declare that input as a variable and get contents of the processing page, the value is not passed to the included page.
one of the solution i found is to pass the input together with a backlink, just wondering are there a better solution
if we declare that input as a variable and get contents of the processing page, the value is not passed to the included page.
one of the solution i found is to pass the input together with a backlink, just wondering are there a better solution