|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
lynx php
hello.
where can i get a script that can grab a web page and show her like it is on my server.and if i click on links to remain on my server if u know what i mean... |
|
#2
|
|||
|
|||
|
RE: lynx php
I still not sure if it's what you need, but the 'file' function supports remote files, so the following example would satisfy at least the first part of your problem:
Code:
<?php
echo implode('', file('http://codewalkers.com/'));
?>
As for the second part, could you explain the problem a bit more thoroughly, please? |
|
#3
|
|||
|
|||
|
RE: lynx php
You will need a base tag in the head of the document like this:This will ensure that links to images etc are correct.
However the second thing you say would require you to pass the page in the query string or by other means for the page to include. Links in the included document would have to be altered. Passing the names of files to be included in the query string poses a security threat you would have to think of a way of overcoming this. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > lynx php |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|