C is for Cookies
| From: | Steve | Date: | Tue, 06 Jun 2000 17:55:52 +0000 |
| Subject: | C is for Cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1136@lists.php.net to get a copy of this message | ||
I was wondering how I would get the 'directory' path from a Cookie?
I can get the 'value' form the cookie, but not the path.
Steve
(>)(>)
>
\
> From: "Jonathan Wright \(DjNA\)" <mail@djna.fsnet.co.uk>
> Date: Tue, 6 Jun 2000 17:21:54 +0100
> To: "PHP List - General" <php-general@lists.php.net>
> Subject: [PHP-GENERAL] Calling A Class Variable as a Default for an Argument
> in a Function
>
> Hiya.
>
> I'm working on a class for myself, and though reading the manual, I found
> that you could specify defaults for various arguments. I built a function in
> a class (like below), and ran it. The first three arguments are fine, but I
> run into trouble with the forth. It refuses to let me use it saying 'Parse
> Error in ??? on line ???'. The manual doesn't seam to say much on the
> matter, only talking about the first three cases.
>
> function start($one,
> $two = "",
> $three = "three",
> $four = $this->four)
> { return ($one, $two, $three, $four); }
>
> It is possible to use the forth argument, and am I doing something wrong, or
> is it not possible?
>
> Thanks.
>
> - - - - - - - - - - - - - - - - - - - -
> Jonathan Wright [DjNA]
> mail@djna.fsnet.co.uk
> www.djna.fsnet.co.uk
> ICQ [21961373]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>