[PHP] Getting the file a PHP script is called from

2001-02-21 Thread Dan Watt
As a beginner to PHP4, I wrote a simple logging program (since my server does not have the best logging functionality) to track where users go on my website. The way I am implementing it is by including it as a inside another include file, the footer to all of my pages so, it works out like this:

Re: [PHP] Getting the file a PHP script is called from

2001-02-21 Thread Dan Watt
... > $PHP_SELF > > echo $PHP_SELF; > > > -- > > > Chris Lee > Mediawaveonline.com > > em. [EMAIL PROTECTED] > > ph. 250.377.1095 > ph. 250.376.2690 > fx. 250.554.1120 > > > ""Dan Watt"" <[EMAIL PROTECTED]> wrote in message >

[PHP] Regular expression problems

2001-02-25 Thread Dan Watt
Im trying to build a user login system, and when there is a new user, I need to validate that they are usign using word characters ([0-9A-Za-z_] or \w)... I have TRIED MANY different regular expressions to test this, but none work. This seems so simple but I am missing something. I need a expressi

Re: [PHP] Regular expression problems

2001-02-25 Thread Dan Watt
TECTED]">news:022d01c09fa6$a2bbd460$[EMAIL PROTECTED]... > From: "Dan Watt" <[EMAIL PROTECTED]> > > > Im trying to build a user login system, and when there is a new user, I > need > > to validate that they are usign using word characters ([0-9A-Za-z_] or