[nycphp-talk] OT Javascript Question

Daniel Kushner nyphp at
Mon Aug 4 16:14:04 EDT 2003

> The easiest way that I can think to approach the problem (depending on
> whether you can use PHP or whether your page content is
> determined before or
> after page pre-processing) is to dump the results of a PHP
> readfile into the
> JavaScript variable:
> var pageContents = <? addslashes(readfile($_SERVER['PHP_SELF'])) ?>

Unfortunately this isn't the case. The dynamically created page belongs to a
third party and the maximum they can do is stick in some JavaScript and
Oddcast's VHost. The VHost flash component will send parts of the HTML (that
it is embedded in) to our servers for further processing.


More information about the talk mailing list