Date: 11/28/99
- Next message: Avrum Goodblatt: "[PHPLIB] registration fields, IE caching"
- Previous message: Lars S. Geisler: "SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- In reply to: Lars S. Geisler: "SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- Next in thread: Lars S. Geisler: "SV: SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- Reply: Lars S. Geisler: "SV: SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi --
We load all possible URLs into an array, then array_walk a function which
does the $sess->url assignment. See the PHP docs for array_walk - it's
fast, and does exactly what you're looking for.
Bob.
At 10:09 AM 11/28/99 , you wrote:
>Shawn Patton wrote:
>[ You'll have to do this manually:
><a href="<?php $sess->purl("showoff.php3")?>">Load</a> a more complex
>example (login as kris,
>password test).<br>
>(this is from the source of the example PHPLIB index.html page) ]
>
>I know that. My problem is that I have a string in a database that people
>who login to the site can edit. This means that there are an unknown number
>of URL's in the string, and I have to do the $sess->url() function on all of
>them.
>
>
>Lars Sehested Geisler
>larssg <email protected>
>
>-
>PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
>To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
>the body, not the subject, of your message.
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Avrum Goodblatt: "[PHPLIB] registration fields, IE caching"
- Previous message: Lars S. Geisler: "SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- In reply to: Lars S. Geisler: "SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- Next in thread: Lars S. Geisler: "SV: SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- Reply: Lars S. Geisler: "SV: SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

