Pages tagged with "web" on monperrus.net

by Martin Monperrus
#22 The cbexp experiment (May 13, 2012)
No preview available >>> read more
#21 Publication lists in Wordpress (January 25, 2012)
wp-publications integrates bibtexbrowser into wordpress. It enables research groups and individuals to add publication lists in Wordpress. The publication lists are generated on the fly from bibtex files using bibtexbrowser. >>> read more
#20 Who is 78-159-118-76.local? (January 03, 2012)
78-159-118-76.local is the reverse DNS entry of 78.159.118.76 (see below). Despite this name, this has nothing to do with a machine of the local network, the reverse DNS entry is just incorrect. According to my logs, 78.159.118.76 is a huge comment and referrer spammer (see also http://www. >>> read more
#19 Storing wordpress passwords in a HTTP Digest compatible format with wp-http-digest (June 17, 2011)
wp-http-digest is a Worpress plugin that enables you to store the Wordpress passwords in a format that is compatible with HTTP digest authentication. The passwords are stored as md5(username:realm:password), which is called HA1 in the standard. >>> read more
#18 using recaptcha in greasemonkey (June 07, 2011)
It is possible to use recaptcha in greasemonkey. But it is difficult. Here is the solution: // the script element must be created with document.createElement var script = document.createElement('script'); script.setAttribute('src', 'http://www.google.com/recaptcha/api/js/recaptcha_ajax. >>> read more
#17 greasemonkey jquery and xmlhttprequest together (May 30, 2011)
This post shows that one can use all AJAX features of JQuery in Greasemonkey. It is an update of the excellent post of Ryan Greenberg (http://ryangreenberg.com/archives/2010/03/greasemonkey_jquery.php). In Greasemonkey, there is a function called GM_xmlhttpRequest for XHR. >>> read more
#16 referrer spam list (May 01, 2011)
I maintain a list of referrer spam URLs. I update it weekly based on my real time analytics. You can access the list at http://www.monperrus.net/martin/referrer-spam-list.txt. It is available in json if you replace ".txt" by ".json". The list is licensed under CC-SA. >>> read more
#15 phpbigtable: A NoSQL Datastore API for PHP (October 26, 2010)
phpbigtable is a NoSQL, schema-free persistence API for PHP. For instance, the code to add a user in the datastore looks like: $entity = new Entity('User'); $entity->setProperty('name','martin'); $entity->setProperty('password','soleil21'); $entity->setProperty('email','toto@example. >>> read more
#14 cross-domain ajax with jQuery and flash-based SWFHttpRequest (October 05, 2010)
Flash is a good solution to enable cross-domain ajax with http post (see this post and cross-domain ajax with http post for sending large amount of data). Yahoo uses it in the YUI framework (http://developer.yahoo.com/yui/connection/#xdr). >>> read more
#13 cross-domain ajax with http post for sending large amount of data (October 04, 2010)
There are dozens of methods to make cross-domain ajax requests in Javascript (see this and this for a very good overview). In this document, I focus on those that enable to push large amount of data using HTTP POST xhr and propose a way to unify the most portable techniques using jQuery. >>> read more
#12 jskomment: open source AJAX commenting system (September 13, 2010)
jskomment is a commenting system that is free and open source, built on javascript and AJAX and is ready to be deployed on Google App Engine See a running instance of jskomment at http://jskomment.appspot.com/test.html. It is inspired from http://www.js-kit.com, http://www.intensedebate. >>> read more
#11 Open source AJAX commenting systems (September 13, 2010)
To handle my comments, I've been using the Javascript/AJAX based commenting system js-kit/echo for years and it works great. There are also other AJAX commenting systems such as http://www.intensedebate.com and http://www.disqus.com. >>> read more
#10 Browser based development environments (August 13, 2010)
It's been a long time I am interested in browser based programming environments Actually, the first time I discovered the concept was in 2005, when I saw a demo of Smalltalk Squeak running a web server, which you could access to change some parts of the Smalltalk image (demoed by Antoine Beugnard). >>> read more
#9 Performance of key-value databases with php (August 03, 2010)
I discovered recently the old key-value database paradigm and I am quite convinced. But what about the performance of different implementations? This document presents a comparison in the context of PHP. >>> read more
#8 the meaning of parameter source in google queries and HTTP referrers (April 27, 2010)
I've noticed in my logs that some requests coming from Google contain a parameter called "source" (users of Google Search, not Googlebot). For instance: 207-119-170-235.dyn.centurytel.net - - [23/Apr/2009:17:22:36 +0200] "GET /martin/howto-tunneling-via-proxy.html HTTP/1. >>> read more
#7 The meaning of parameter aq in google queries and referer fields (January 14, 2010)
I've noticed in my logs that some Referer fields from google contain a parameter "aq". It means that the user has Google Suggest Box enabled. aq=f if the user did not choose the query from the Google Suggest box. aq={0,1,...,n} if the user came from Google Suggest box. >>> read more
#6 pp4php (November 30, 2009)
pp4php is a pre-processor for PHP written in PHP. >>> read more
#5 A list of robot user agents (November 28, 2009)
This document lists patterns of HTTP user-agents used by robots/crawlers/spiders. I maintain this list regularly based on my own logs. Don't hesitate to comment this page :-). JSON: http://www.monperrus.net/martin/list-of-robot-user-agents. >>> read more
#4 The GOOGENC experiment : url-encoding strategies of Google (May 05, 2009)
This document presents an experiment to figure out what are the mechanisms used by Google to encode URLs. >>> read more
#3 uploading files with curl and php (February 05, 2009)
To upload files with PHP from the command-line, you can use curl as follows. curl -v -F filepassword=@myfile.png http://www.domain.com/upload.php The equivalent HTML form is: <form method="post" enctype="multipart/form-data" action="upload. >>> read more
#2 simplephpauth (December 07, 2008)
simplephpauth is a PHP script that provides an advanced HTTP Digest authentication feature. This script is much more secure than the ones described in http://de.php.net/features.http-auth and http://www.peej.co.uk/projects/phphttpdigest.html because: 1. >>> read more
#1 mywbed (December 01, 2008)
mywbed is a web based text editor. I use it to create and edit PHP and CGI scripts remotely; directly into the browser. One of the advantages of doing so it to avoid aligning my local PHP engine configuration with the target one. >>> read more