PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 20th, 2002, 06:17 PM
Zamolxe Zamolxe is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Craiova, Dolj, Romania
Posts: 4 Zamolxe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Zamolxe
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...

Reply With Quote
  #2  
Old July 20th, 2002, 09:17 PM
nemesis nemesis is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Saint-Petersburg, Russia
Posts: 29 nemesis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #3  
Old July 21st, 2002, 01:17 AM
mikesgt2 mikesgt2 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 21 mikesgt2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: lynx php

You will need a base tag in the head of the document like this:
php Code:
Original - php Code
  1. <base href="http://codewalkers.com">
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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > lynx php


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT