Glype proxy is a free, web-based proxy script written in PHP. It downloads web pages requested by the user and forwards them to the user.
References
Glype proxy is a free, web-based proxy script written in PHP
License: Other
Glype proxy is a free, web-based proxy script written in PHP. It downloads web pages requested by the user and forwards them to the user.
References
i am trying to create my own php proxy, but it wont work.
heres my code so far:
https://replit.com/@awdrgyjil1234/simplephpproxy#index.php
how do I fix this?
Can I run it in Cloudflare worker?
Add random "Lorem ipsum" from https://loripsum.net/api/5/medium
Parameters are (short, medium, long, verylong)
Edit \themes\default\config.php
$themeReplace['description'] = file_get_contents('http://loripsum.net/api');
it broke
Deprecated: Creation of dynamic property Input::$GET is deprecated in D:\D\htdocs\admin.php on line 294
Deprecated: Creation of dynamic property Input::$POST is deprecated in D:\D\htdocs\admin.php on line 295
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in D:\D\htdocs\admin.php:349 Stack trace: #0 D:\D\htdocs\admin.php(306): Input::clean('GA1.2.820989674...') #1 D:\D\htdocs\admin.php(296): Input->prepare(Array) #2 D:\D\htdocs\admin.php(937): Input->__construct() #3 {main} thrown in D:\D\htdocs\admin.php on line 349
hi, is it available via docker?
After enter url, I try default and simple theme:
ERROR: template failed to load. Please ensure you have correctly installed any custom themes and check you have not removed any files from the default theme.
I was getting a couple of issues running your code with php8
(v8.0.6)
The first was -> Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /opt/htdocs/admin.php:349
Its depreceated, so I've changed this
if ( ! isset($magicQuotes) ) {
$magicQuotes = get_magic_quotes_gpc();
}
to this
if ( ! isset($magicQuotes) ) {
$magicQuotes = false;
}
and that seems to fix it, def quick-and-dirty - I'm sure you can do better
I was also getting an error on line 991 of browser.php
saying status
was not an int
PHP Warning: curl_exec(): Could not call the CURLOPT_WRITEFUNCTION in /opt/htdocs/browse.php on line 877
PHP Fatal error: Uncaught TypeError: header(): Argument #3 ($response_code) must be of type int, string given in /opt/htdocs/browse.php:991
I fixed this by added a line to check the header line starts Status:
before grabbing the status
, now the proxy mostly works - It seems really odd that the status
thing wasn't a problem before - I'm obviously missing something you've done elsewhere, or how the old library worked??
anyway, this
# Extract the status code (can occur more than once if 100 continue)
if ( $this->status == 0 || ( $this->status == 100 && ! strpos($header, ':') ) ) {
$this->status = substr($header, 9, 3);
}
become this
# Extract the status code (can occur more than once if 100 continue)
if ( $this->status == 0 || ( $this->status == 100 && ! strpos($header, ':') ) ) {
if ( substr($header,0,8) == 'Status: ')
$this->status = intval(substr($header, 9, 3));
}
So now it's mostly working, but I seem to be getting either a very old version of the sites or maybe the mobile version, or an old mobile version? Or maybe the version of the site when it can't find out enough about the client?
I can't see anything obvious in the admin that might fix the web page formatting - any idea???
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.