Calling PHP code

  • Thread starter Thread starter michael
  • Start date Start date
M

michael

How do I call from c#, PHP code that will print/echo to the screen (web
browser)?

For example

index.aspx
------------
<%
// code to call my_php_file.php
.....
%>

my_php_file.php
-----------------
<?php
echo "<h2>Hello world</h2>"
?>


RESULT
The web browser display in H2 tags "Hellow world"?

Thanks in advance
 
Hi,

You can make a HTTP connection to the web server that serves php pages from
your asp.net page, then use this data as you please.

Have a look here -
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=screen+scraping+asp.n
et

Thanks,
Gavin

--
___________________________________________________________
nTierGen.NET Code Generator - http://www.nTierGen.NET/

Stored Procedures (Get, GetPaged, Insert, Update, Delete)
Data Access Layer - C#
Business Rules Layer - C# & VB.NET
Strongly-Typed DataSets - C#
Web Services - C#
___________________________________________________________
 
Back
Top