Hello,
I have a very complex attempt to extract some HTML page information into my current page. The detail is as follows:
1) a HTML page (abc.html) which stored in a psswd protected directory.
2) My PHP file is located in another directory (not pswd protected)
Then I want my PHP program to do the following:
a)To accept user id + psswd for the protected directory
b) My pgm use step(a) info (id+pswd) and extract part of the HTML page (abc.html) infomation and put it into my PHP page.
Note:
i) abc.html is stored in the protected directory
ii)Only partial information of the abc.html is needed (not the whole HTML file)
Please advise HOW TO:
1) Get that pswd protected dir HTML file
2) How to extract the information that I want of that HTML file (let say I only want all the code within the <body> and </body>
Thanks...