Temelde, ne yapmaya çalışıyorsun PHP, bir proxy oluşturmak mı?
Eh, böyle bir kolay tak olmayacak, korkarım: Eğer HTML içeriği her bağlantıları bulmak zorunda, ve onları tek tek yeniden ... Ve siz istediğiniz olanlar için bu yeniden yazılamaz {[(0) olacak }]
Bir kaç fikir:
Yani, korkarım :-( PHP mucize fikir değilim
I have not tried it myself, but if you are working with Apache and you are admin of your server, maybe Apache's mod_proxy_http
and mod_proxy
could help you (not sure, though)
Speaking about a PHP Proxy, maybe you could take a look at some existing software that seem to already do the kind of stuff you want.
Örneğin:
There might others, btw...
Glype sayfasını alıntı:
Glype proxy script is a free-to-use,
web-based proxy script written in PHP.
Similar to a typical proxy server, a
web-proxy script downloads requested
web pages and files and forwards them
back to the user. The service is
provided by a web page itself, which
allows instant access to the proxy
without editing your browser
connection settings.
Unfortunatly, the demo page doesn't seem to be working right now :-(
I have not looked into what those can do... But maybe they might help you ;-)
ie, there might be some ideas in their code-source that you could base your script upon ?