PHP has a built in function which allows for the quick breaking up of a well formed URL into usable pieces, namely parse_url. This function parses a URL and returns an associative array containing any of the various components of the URL that are present. It is important to note that parse_url does not validate [...]
Posts Tagged ‘php code’
Camel Case to Spaces or Underscore – PHP Code
March 26th, 2010
linusMost of the php development project, I need to convert camelcase strings to space-separated strings. Recently while working on a project, I found I needed to convert camelcase strings to underscore separation. Camel case is frequently used in programming and data storage. Here are a couple of ways to convert it. As usual, feel free [...]



Posted in
Tags:





