| Author |
Topic Search Topic Options
|
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
dj air
Senior Member
Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
|
Post Options
Thanks(0)
Quote Reply
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?
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
dj air
Senior Member
Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
|
Post Options
Thanks(0)
Quote Reply
Posted: 06 October 2006 at 11:23am |
|
umm so you want the html output thats sent to the browser?
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
JonnoB
Newbie
Joined: 11 July 2005
Location: United States
Status: Offline
Points: 14
|
Post Options
Thanks(0)
Quote Reply
Posted: 06 October 2006 at 11:11pm |
|
how about scraping the screen?
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
Posted: 07 October 2006 at 2:20am |
For classic asp, use Server.XMLHttp - example at http://www.new2asp.com/Section_Files/PullStrings/PullStrings.aspFor .net, check out System.Net.HttpWebRequest and System.Net.HttpWebResponse
|
Lead me not into temptation... I know the short cut, follow me.
|
 |