asp.net - Calling php file on load in aspx -


i created comment system using php , implement in aspx page. problem im not sure how run php code on load aspx page. can call php after page has been loaded via javascript load @ same time page. possible call php script on load aspx page?

i little confused question not clear. if cant use iframe, (because gets loaded after page has loaded) replace literal control. in page load event output of php page

using system.net; using system.io;  webrequest req = webrequest.create("http://www.asp.net/blabla.php"); webresponse res = req.getresponse(); streamreader sr = new streamreader(res.getresponsestream()); string html = sr.readtoend(); 

update literal value html. dont know behaviour after postback php page because mine page dosent postback. ensure php has been rendered in load event itself.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -