|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Php to ASP.Net
Can someone help me to convert this PHP to ASP.net C# or VB.Net
<?php // Load the XML file, line-by-line, into an array, join // all of the lines into one string and echo the string // to the caller. $XMLurl = "http://www.moreover.com/cgi-local/page?" . $QUERY_STRING; $file = file ($XMLurl) or die ("Could not open XML file."); $XMLContents = join ('', $file); echo $XMLContents; ?> All help is appreciated |
|
#2
|
|||
|
|||
|
ASP.Net has built-in classes to handle XML streams.
Check out: http://msdn.microsoft.com/library/d...rclasstopic.asp |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Php to ASP.Net |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|