Web Wiz - Solar Powered Eco Hosting

  New Posts New Posts RSS Feed - how to print out contents of a php page using asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to print out contents of a php page using asp

 Post Reply Post Reply Page  12>
Author
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Topic: how to print out contents of a php page using asp
    Posted: 06 October 2006 at 10:04am

I have a php article manager script but my site's main page is of extension aspx as I needed it to be that way... so is it possible that an ASP code can be used to grab the content of a php page?

"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3629
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2006 at 10:54am
you could bring in the source via fso?
 
or is it a dynamic page /out put not the html / code version?
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2006 at 11:05am
Well, how do I bring it via fso? I'm not that advanced in asp...
 
It is a dynamic page, as content gets updated when a person submits an article.
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3629
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2006 at 11:23am
umm so you want the html output thats sent to the browser?
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2006 at 8:18pm
I have created a separate php page in the article manager folder for the HTML output, I need to place a code (using asp) on the site's homepage that could automatically display new articles using the code I created on that separate php page.
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
JonnoB View Drop Down
Newbie
Newbie
Avatar

Joined: 11 July 2005
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote JonnoB Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2006 at 11:11pm
how about scraping the screen?
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 07 October 2006 at 1:00am
If i knew how to!
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3940
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 07 October 2006 at 2:20am
For classic asp, use Server.XMLHttp - example at http://www.new2asp.com/Section_Files/PullStrings/PullStrings.asp

For .net, check out System.Net.HttpWebRequest and System.Net.HttpWebResponse

Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.01
Copyright ©2001-2018 Web Wiz Ltd.


Become a Fan on Facebook Follow us on Twitter Connect with us on LinkedIn Community Forums Web Wiz Blogs Web Wiz News
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2019 Web Wiz Ltd. All rights reserved.