Re: [PHP] tracking visitors till registration?

2002-08-19 Thread Daren Cotter

php.ini config file

--- Randy Johnson <[EMAIL PROTECTED]> wrote:
> How do I surpress php warnings from being displayed
> to the screen
> 
> 
> Randy
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

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





Re: [PHP] tracking visitors till registration?

2002-08-19 Thread Rasmus Lerdorf

See your php.ini file.  Specifically the display_errors directive.  See
also log_errors and error_log.

-Rasmus

On Mon, 19 Aug 2002, Randy Johnson wrote:

> How do I surpress php warnings from being displayed to the screen
>
>
> Randy
>
>
>
> --
> 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] tracking visitors till registration?

2002-08-19 Thread Randy Johnson

How do I surpress php warnings from being displayed to the screen


Randy



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




Re: [PHP] tracking visitors till registration?

2002-08-19 Thread Daren Cotter

Justin is perfectly correct. Sessions are really the
way to perform this task (sessions actually use
cookies in most scenarios).

However, if you need to track the user for longer than
they will be at your site (i.e., they close the
browser and come back a week later, like you said), it
should be noted that you cannot use sessions alone,
and MUST use a cookie.

--- Justin French <[EMAIL PROTECTED]> wrote:
> on 20/08/02 7:01 AM, Andy ([EMAIL PROTECTED])
> wrote:
> 
> > Hi there,
> > 
> > I am wondering if following scenario would be
> possible:
> > 
> > - Create a unique referer id to make sure that the
> visitior has been refered
> > by a particular person. (e.g. server.com?ref=20)
> 
> yes
> 
> > - The visitor enters the site and browses around,
> but the ref=20 should not
> > be stored inside the url, but in a coockie
> 
> yes, or alternatively in a session
> 
> > - If the visitor signs up and there is a referer
> id assign the person who
> > refered it some points.
> 
> yes
> 
> > The problem I see, is how to make sure that the
> refered id does not get lost
> > and in case the person comes back another day
> still be able to asign the
> > person who refered it the points.
> >
> > Has anybody a good suggestion on that?
> 
> make sure the cookie has a long expiry date... say a
> month, or whatever you
> think is reasonable.
>  
> 
> Justin
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

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




Re: [PHP] tracking visitors till registration?

2002-08-19 Thread Justin French

on 20/08/02 7:01 AM, Andy ([EMAIL PROTECTED]) wrote:

> Hi there,
> 
> I am wondering if following scenario would be possible:
> 
> - Create a unique referer id to make sure that the visitior has been refered
> by a particular person. (e.g. server.com?ref=20)

yes

> - The visitor enters the site and browses around, but the ref=20 should not
> be stored inside the url, but in a coockie

yes, or alternatively in a session

> - If the visitor signs up and there is a referer id assign the person who
> refered it some points.

yes

> The problem I see, is how to make sure that the refered id does not get lost
> and in case the person comes back another day still be able to asign the
> person who refered it the points.
>
> Has anybody a good suggestion on that?

make sure the cookie has a long expiry date... say a month, or whatever you
think is reasonable.
 

Justin


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




[PHP] tracking visitors till registration?

2002-08-19 Thread Andy

Hi there,

I am wondering if following scenario would be possible:

- Create a unique referer id to make sure that the visitior has been refered
by a particular person. (e.g. server.com?ref=20)
- The visitor enters the site and browses around, but the ref=20 should not
be stored inside the url, but in a coockie
- If the visitor signs up and there is a referer id assign the person who
refered it some points.

The problem I see, is how to make sure that the refered id does not get lost
and in case the person comes back another day still be able to asign the
person who refered it the points.

Has anybody a good suggestion on that?

Thanx for any hint,

Andy






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