Forum Moderators: open
i dont think iframes are a good idea as its across domains and in addition i still need javascript to write before php is processed which cannot be done. this is because i need to get the domain of the page with the iframe to validate it.
the only solution i see is php include but i am not sure if this could update the client page dynamically.
the real problem is that i need to keep the php on my server in order to protect my code and only give out the html.
any advise would help
thanks
Pedge
As far as updating a page without reloading it - well, good luck. AJAX might offer some options relevant to your needs, but I am not familiar enough with it to be anymore specific.
WBF
Basically the hooks are there to have your PHP code return "anything" and have it processed through javascript. It'd take only a little more work to have it return complex data structures. It's a little single record focused right now. :-/
(I bet there's folks here in the Javascript forum that have much better sample code for doing AJAX stuff.)