[PHP] sessions pls help

2004-05-17 Thread robi
Hello,


I need some info about sessions in php,
to clarify my knowledge and usage.
So lets imagine that
I am building a web site
where I can log in and log off,
it is without db.
How do I use sessions,
am I right use the start_session()
and its a value to PHPSID as
cookie, so if make link to
another page I will check against
phpsesid which is cookie against the id
what I have in link?right?
pls help
troby

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Fatal error help

2004-05-19 Thread robi
hello
I am programing a simple chat and I am using my own classes
and I get this error I have no idea what it is.
pls help.

Fatal error: Cannot redeclare class ch in /var/www/html/class/common.php on 
line 3

troby

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Fatal error help

2004-05-19 Thread robi
thanks
it helped
troby

> the class you are defining is already or the file in which you have defined
> the class in somehow included twice..
> consider using require_once for you class include file.
>
> HTH,
> Haseeb
> - Original Message -
> From: "robi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 19, 2004 1:15 PM
> Subject: [PHP] Fatal error help
>
> > hello
> > I am programing a simple chat and I am using my own classes
> > and I get this error I have no idea what it is.
> > pls help.
> >
> > Fatal error: Cannot redeclare class ch in /var/www/html/class/common.php
>
> on
>
> > line 3
> >
> > troby
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there any good examples of PHPLIB?

2004-05-23 Thread robi
Da Su 23. May 2004 10:07 dsx wrote:
> Is there any good examples of PHPLIB?I can only write very simple
> programs of PHPLIB,but when the functions and classes added,  I cannot hold
> it.So I'd like to learn some code examples of it,who can provide me some or
> a website about it? Thank you in advance.

Hello,

If I can advice to you move to object oriented coding,
I meaning classes and object and then learn PEAR
pear.php.net, it is framework you can find classes
for everything you may work on.

troby

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Willing to Pay For Upgrade Help

2004-06-01 Thread robi
I am willing to do it.
what is your distribution?
troby

Dňa St 2. Jún 2004 06:08 Ryan Schefke napísal:
> Is any Linux techie out there willing to accept a small payment to upgrade
> my Linux dedicated root server from PHP 4.2.2 to PHP 4.3.3 (or 4.3.6,
> whichever is recommended)?  I need to leverage the latest version of GD
> Library for better quality picture uploads.  I'm a windows guy and don't
> have much experience with shell commands and Linux machines.
>
>
>
> Thanks,
>
> Ryan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php