NYCPHP Meetup

[nycphp-talk] Rewrite rule functionality

Urb LeJeune urb at e-government.com
Tue Mar 4 06:42:49 EST 2008


An Apache a rewrite rule in the form of:

/country/(..)\.html

returns the two characters enclosed between the parenthesis as $1.
If there a PHP function with the same functionality?

I want to use PHP to return the digits in a string like:

stuff [mailid=1234] more stuff.

	Thanks

Urb

Dr. Urban A. LeJeune, President
E-Government.com
609-294-0320  800-204-9545
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E-Government.com lowers you costs while increasing your expectations.





More information about the talk mailing list