We help IT Professionals succeed at work.

execute another page inside one page

manojoswal
manojoswal asked
on
228 Views
Last Modified: 2008-02-26
hi

i have a page "one.php".

in this page i want to execute another page "two.php" and show the complete html output of this page embeded in the "one.php"

how can i achive this ?

any help ?
Comment
Watch Question

Commented:
Hi there,

Inside one.php, do:

<?include ("two.php");?>

This will put the code through the parser and all output from two.php will be output inside one.php.

Hope that helps!

Author

Commented:
hi joep

now i actually want to send a html email having some message. and below it i want to execute an url and show the output
of that url in the email.

have u any idea how i can achieve this ?

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
hi joep

this seems to be helpful a lot to me

please explain me in detail.
i am not getting anything in the URL at http://www.evilwalrus.com/viewcode.php?codeEx=522

i will be thankful a lot to you



Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.