Welcome To Snipplr


You searched for: http

Everyone's Recent PHP Snippets



1 ... 6 7 8 9 10 Next »
Taken from : http://www.phpfreechat.net/forum/viewtopic.php?pid=7587 See also this class : http://www.phpbuilder.com/snippet/download.php?type=snippet&id=2205
1 759 posted 17 years ago by clapfouine
adapted from http://www.gotocode.com/art.asp?art_id=275&
0 1213 posted 17 years ago by clapfouine
Genera links en base a http, www, ftp
2 1154 posted 17 years ago by nicolaspar
Parses the given path and creates a http redirect to that page.
1 1214 posted 18 years ago by IanLewis
Sends a request to a supplied path for a given host. It can send either a GET or POST request and can pass parameters.
2 1049 posted 18 years ago by ryansobol
A simple function to check if the request comes from an AJAX XMLHttpRequest. Use it if your page should behave differently when called from AJAX. Comes from jquery mailing list: http://jquery.com/discuss/2006-June/006656/
29 7611 posted 18 years ago by TC
Heres how to use print_r(browser_detection('full')); We can also use this script print "IP: ". $_SERVER['REMOTE_ADDR'].""; ### IP ADDRESS ## print "Browser:" . $_SERVER["HTTP_USER_AGENT"].""; ## Browser print "OS: ". $_ENV["OS"]; ### OS
8 1175 posted 18 years ago by mail_json
Sends as XHTML 1.1 + MathML if supported, falls back to XHTML 1.1 if supported, or falls back to HTML 4.01 Strict. Mixed two separate scripts: http://www.workingwith.me.uk/articles/scripting/mimetypes http://golem.ph.utexas.edu/~distler/blog/arc...
2 890 posted 18 years ago by rolandog
You should edit your WordPress plugin so that the $source variable at the end shows this value. Though it is a shame that code can't have an 'ol' as a childNode, and neither can the pre element. Couldn't find any way of making it all fit: http://lear...
3 1086 posted 18 years ago by rolandog
I use this object verry often, so that I only need to pass one object as parameter on any function. No need to wory when we refactore the function Usage: $var = new open(); $var->url = 'http://www.world.com'; $var->title = 'Testing Site'; ech...
1 1197 posted 18 years ago by ekobudisetiyo
http://rossoft.wordpress.com
1 1129 posted 18 years ago by jonbaer
extraido de http://es.php.net/manual/en/ref.domxml.php
2 1045 posted 18 years ago by mate
Esta funcion toma valores del espacio global $HTTP_*_VARS desde un array en la llamada a la funcion, y si existen y tienen contenido, las registra como globales para que puedan ser accedidas a continuación. Debe recibir una lista de elementos en l...
1 1160 posted 18 years ago by Navegante
1 ... 6 7 8 9 10 Next »