Revision: 10588
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 5, 2009 09:48 by sveggiani
Initial Code
// name: evRemoveParamURL // version: v0.1 // description: elimina un parametro en una URL function evRemoveParamURL( $url, $key ) { $url = preg_replace( '/(.*)(\?|&)' . $key . '=[^&]+?(&)(.*)/i', '$1$2$4', $url . '&' ); $url = substr( $url, 0, -1 ); return ( $url ); }
Initial URL
Initial Description
Initial Title
evRemoveParamURL | removes a parameter of a given URL and returns it
Initial Tags
Initial Language
PHP