how do we can copy of the content of a web page with the
help og the URL and display them onto any other page

Answers were Sorted based on User's Feedback



how do we can copy of the content of a web page with the help og the URL and display them onto any..

Answer / nikesh

$content=file_get_contents("http://nikeshyadav.blogspot.com");
echo $content;


by this function u can copy and display of one webpage to
another

Check it at <a href="http://nikeshyadav.com/blog.php"
target="_blank" >http://nikeshyadav.com</a>

Is This Answer Correct ?    5 Yes 1 No

how do we can copy of the content of a web page with the help og the URL and display them onto any..

Answer / pinak

this can also be done by curl function.

Is This Answer Correct ?    2 Yes 0 No

how do we can copy of the content of a web page with the help og the URL and display them onto any..

Answer / pinak

thanks both of you.

Is This Answer Correct ?    0 Yes 0 No

how do we can copy of the content of a web page with the help og the URL and display them onto any..

Answer / mishra ashutosh

Can be done by file_get_contents() and using CURL.
For fetching any particular part of it, parse the fetched information.

Is This Answer Correct ?    0 Yes 0 No

how do we can copy of the content of a web page with the help og the URL and display them onto any..

Answer / uma

<iframe height="500%"
src =
"http://url"
width="100%">
</iframe>
Try using header to redirect...
pl correct me if u feel the ans is wrong:-)

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More PHP Interview Questions

Do csrf tokens expire?

0 Answers  


What is the difference between runtime exception and compile time exception?

0 Answers  


How big is varchar max?

0 Answers  


What is fetch array in php?

0 Answers  


How to select a database in php?

0 Answers  






What is mean by an associative array?

0 Answers  


What are the string functions in php?

0 Answers  


I just installed php 5.3.1 in my linux server and now my old work which i used to write with tags is not working at all.. Please help me out.. How can i resolve this??

1 Answers  


Describe the differences between the object models in PHP 4 and PHP 5.

1 Answers  


i was set new individual folder for saving session values,the folder name is session and i set 777 permission,using session.save_path function like session.save_path "/home21b/sub004/sc21311-ULCX/candyoflove.com/session/" but it causing Warning: Unknown(): SAFE MODE Restriction in effect. The script whose uid/gid is 12112/12112 is not allowed to access /home21b/sub004/sc21311-ULCX/candyoflove.com/session owned by uid/gid 12267/12267 in Unknown on line 0 ,please tell what changes make this script, i was using .htaccesss file..plz help me....

1 Answers  


Can you explain, when to use if-else if-else over switch statements?

0 Answers  


what is the current salary package in India for a PHP & MySQL programmer who has 3 years experience

127 Answers   ABC, BLG Logistics, Google, HCL, IBM, Infosys, People Group, PHP, Torque Infotech, V Angelz Technologies, Yahoo,


Categories