|Perl: the Markov chain saw|
pmproxy2by nashdj (Friar)
|on Apr 02, 2001 at 15:58 UTC||Need Help??|
You may or may not have seen this before - pmproxy, but its back and I think it's really getting somewhere :) Before I get into the details, go take a look at what I was able to achieve - pmproxy2.png.
This new version basically adds cookie and post support. In my haste I wasnt able to find a way to correctly save the cookies to the file. If anyone can help me with that I would be most greatfull.
It does still lack any form of error control, I guess I'll add to that as I come across things. But so far I havent had too many problems.
I used this stylesheet to achieve whats displayed in the above screenshot.
As you can see at the bottom of the code I have added a simple sub in which to define some substitutions and other operations to be applied to the page. This is just to clean a few things up which I couldnt override in the css.
If you want to give it a go, grab the below code, save it to something like pmproxy2.pl. Get a stylesheet, try the one linked above (place that in the same directory). Then exec the script and connect to http://localhost:99/index.pl
Let me know what you think, or if I've done something strikingly bad with the code!