uzair05mehran Posted May 23, 2011 Share Posted May 23, 2011 when i right click to view page source i just saw the javascript calling php as source file , while on page there is table, i need to read that table in database , is there nay way to do that, file_get contents dont work on it its just take javascript not the page table Quote Link to comment https://forums.phpfreaks.com/topic/237227-cant-view-page-source/ Share on other sites More sharing options...
Psycho Posted May 23, 2011 Share Posted May 23, 2011 You will only see the source sent to the browser with the original request. If you are dynamically creating content on the page using JavaScript it will not be included in the HTML source. If you are trying to screen-scrape a page, I don't know of a solution; although I'm sure there are some. If this is YOUR page, then you can either have the output sent to the page with the first request - i.e. not with JS. Quote Link to comment https://forums.phpfreaks.com/topic/237227-cant-view-page-source/#findComment-1219106 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.