[PHP] user auth

2002-05-30 Thread Justin Blake
protection? -- Justin Blake http://blaix.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] variables

2002-04-20 Thread Justin Blake
"Jule Slootbeek" wrote: > Hey guys, > i have this script that changes pages in a table with the include() command, > but i ran into trouble when i tried to change the pages by linking to > index.php?left=theband because it would feed it to the index.php, but > index.php would just change left back

Re: [PHP] Problem with file()

2002-04-16 Thread Justin Blake
Zambra - Michael wrote: > > What kind of line ending does the file() function include in the array > elements. I'm having problem with file() combined with implode() when > reading in complete HTML files in a Windows environment. After parsing these > resulting strings I get tons of white lines (?

Re: [PHP] smarter way to write config file?

2002-04-15 Thread Justin Blake
Justin French <[EMAIL PROTECTED]> has the same first name as me :) and wrote: > Currently i've got a config file for each website, and I split it into > essentially two config files, based on the server name, so that I can have 1 > file for both my local server and the live server. > > something

Re: [PHP] variable question...

2002-04-15 Thread Justin Blake
"Phil Schwarzmann" <[EMAIL PROTECTED]> wrote: > Let's say I a variable called $var1 and it's values is "one" > > ...I want to access them by doing something like this... > > $i = 1; > if ("var".$i == "one") echo "Hello!"; > > ...I want the combination of "var" and $i to equal $var1 > > How do

Re: [PHP] str_replace question

2002-04-15 Thread Justin Blake
"Andras Kende" <[EMAIL PROTECTED]> wrote: > Is a nicer way to remove any number 1-0 from a string??? > > Currently: > $metakeywords=str_replace("1",'',strtolower($metakeywords)); > $metakeywords=str_replace("2",'',strtolower($metakeywords)); > $metakeywords=str_replace("3",'',strtolower($metakey