At 11:35 31-1-01 +0300, Max A. Derkachev wrote:
>Hello Niklas,
>
>Wednesday, January 31, 2001, 7:02:49 PM, you wrote:
>NS>
>$tmpParsing=eregi_replace("href=(\")([^*]*)(\")","href=\"\\1\"",$this->dataToBeParsed);
Take a look @ Preg_Replace with the e modifier, i think you are looking for
that (php4 only)
Greetz,
Wico
>NS> where I want \\1 to be fed into urlencode() I was thinking somewhere
>along the lines
>
>NS> $func=&urlencode;
>
>It won't work. You can not reference a function. But you can call a
>variable with the function name value.
>$func = 'urlencode'
>$func($str) here will do the same as urlencode($str).
>
>--
>Best regards,
>Max A. Derkachev mailto:[EMAIL PROTECTED]
>Symbol-Plus Publishing Ltd.
>phone: +7 (812) 324-53-53
>http://www.Books.Ru -- All Books of Russia
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]