Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

integrating other peoples scripts 1

Status
Not open for further replies.

esromneb

Programmer
Mar 30, 2002
76
US
For my webpage I want to integrate this script I found called "mailgust". It's closer to a whole program than a script, but whatever. It looks like this:
(don't try and register, smtp is broken, so it won't work)

anyways I want to put that whole script inside my webpage without editing the thing to pieces. I would rather somehow buffer the output and then put it through a regular expression and strip of <html><head></head><body> tags and then the </body></html> tags. Then I could just print out the whole thing as a string inside my own template page.

Note to sleipnir214:
I know how to do the regular expression, I just want help somehow loading the output of the whole program into a variable, or something...
 
Thanks, your solutions are always the best.
-ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top