Skip to main content
#! code
Main navigation
Articles
Snippets
Tools
About
Contact
User account menu
Log in
Breadcrumb
Home
Search Results
Search Results
Article
Posted: 25 Apr 2008
Turning ASCII Text Into HTML With PHP
… = 0,$j = count($paragraphs);$i < $j;$i++) { // create links around
URL
s $paragraphs[$i] = preg_replace('/((ht|f)tp:\/\/[^\s&]+)/','<a …
Snippet
Posted: 9 Feb 2023
Drupal 10: A List Of Core Contexts
… @language.current_language_context:language_
url
Provided by …
Article
Posted: 24 Nov 2009
Drupal Files Migration Script Using Phing
… rules to replace settings with real values. --> <regexp pattern="\$db_
url
= 'mysql:\/\/username:password\@localhost\/databasename';" replace="\$db_
url
= '${drupal.destination.database.
url
}';" ignoreCase="true"/> <regexp pattern="\$db_prefix = '';" …
Article
Posted: 26 Mar 2008
PHP Easter Eggs
… for PHP by appending one of the following strings to the end of the
URL
. ?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 …
Article
Posted: 23 Jun 2008
HTML And XHTML Doctypes
… "broken doctype". This is the same as any normal doctype, but with the
URL
pointing to the DTD missing. Here are two examples. XHTML Strict …
Article
Posted: 18 Jan 2011
Does An IP Address Provide Useful Tracking Information?
… The usual example used is of a web server that can be accessed via a
URL
that is translated behind the scenes into an IP address, but IP …
Article
Posted: 4 Sep 2008
Find Longitude And Latitude Of PostCode or ZipCode Using Google Maps And PHP
… $query = "http://maps.google.co.uk/maps/geo?q=".
url
encode($code)."&output=json&key=".$mapsApiKey; $data = …
Article
Posted: 29 Sep 2008
Search Engine Spider Detection With PHP
… on the link. One way of doing this would be to add a parameter to the
URL
of the link, if the parameter is present then it is a user going …
Article
Posted: 28 Nov 2008
Creating A Personalised Events List With SimplePie
… the other being the subjects. It will then create the necessary RSS
URL
s and use the multi-feed aggregator feature of SimplePie to collate … $feeds[] = 'http://upcoming.yahoo.com/syndicate/v2/search_all/?q='.
url
encode($subject).'&loc='.$location.'&rt=1'; } } // create SimplePie …
Article
Posted: 2 Feb 2009
Using Redirection Inside a Plugin In Zend Framework
… The setRedirect() function takes two parameters. The first is the
URL
to be redirected to and the second is the HTTP response code. …
Pagination
First page
« First
Previous page
‹‹
…
Page
9
Page
10
Page
11
Page
12
Current page
13
Page
14
Page
15
Page
16
Page
17
…
Next page
››
Last page
Last »