RE: [PHP] Re: $PHP_SELF question

2002-04-18 Thread Stampe, Lars
Try and create a new php file with the following code and read the result: thats it, a lot of useful info there! Regards Lars -Original Message- From: Joel Colombo [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 16:03 To: [EMAIL PROTECTED] Subject: [PHP] Re: $PHP_SELF question did u

RE: [PHP] using .htaccess to repoint

2002-04-10 Thread Stampe, Lars
Hi, This might be helpful http://rob-mike.php4hosting.com/mike/htaccess/ Lars -Original Message- From: Adrian Murphy [mailto:[EMAIL PROTECTED]] Sent: 10 April 2002 12:29 To: [EMAIL PROTECTED] Subject: [PHP] using .htaccess to repoint Hi, my isp uses wildcard dns to point to the root.

RE: [PHP] Custom 404

2002-04-02 Thread Stampe, Lars
http://rob-mike.php4hosting.com/mike/htaccess/ -Original Message- From: Andrew Brampton [mailto:[EMAIL PROTECTED]] Sent: 02 April 2002 13:50 To: [EMAIL PROTECTED] Subject: Re: [PHP] Custom 404 .htaccess :) Andrew - Original Message - From: "Craig Donnelly" <[EMAIL PROTECTED]> T

RE: [PHP] A Newbie needs help with his first Class

2002-03-22 Thread Stampe, Lars
And then replace $global = new Globals("/staging_area/phase-2/"); with $global = new Globals; $global->someting else("/staging_area/phase-2/"); Lars -Original Message- From: Stampe, Lars [mailto:[EMAIL PROTECTED]] Sent: 22 March 2002 13:46 To: 'Don'

RE: [PHP] A Newbie needs help with his first Class

2002-03-22 Thread Stampe, Lars
Hi, Try and rename the function in your class to something else that the class name, and let me know what happens! Lars -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: 22 March 2002 13:01 To: php Subject: [PHP] A Newbie needs help with his first Class Hi, I'm trying to

RE: [PHP] Object reference

2002-03-21 Thread Stampe, Lars
Hi, Use & to reference one variable to another! $b =& $a; Lars -Original Message- From: Lucijan [mailto:[EMAIL PROTECTED]] Sent: 21 March 2002 10:20 To: [EMAIL PROTECTED] Subject: [PHP] Object reference I can't understand why this works like it does. class MyObj { var $Name; fun

RE: [PHP] Making a simple borderless pop up window with a "Close" button

2002-03-21 Thread Stampe, Lars
Hi, I have a script that might do what you want, I don't have time to explain but have a look at: http://www.epson.co.uk/product/printers/inkjet/styc80/flash/index.html and launch the site! ** SCRIPT /* CHROMELESS WINDOWS v.31.0 [ 4.50K ] (c) Gabriel Suchowolski,

RE: [PHP] why doesnt this work???

2002-03-20 Thread Stampe, Lars
Hi, Let me explain what is wrong with this line: if( $line[1]='$bruker' and $line[2]='$passord') when you use = instead of == it will always be true because you set $line[1] to $bruker, you have to compare them by using ==. Also looking at your sql query $line[0] would contain your username

RE: [PHP] why doesnt this work???

2002-03-20 Thread Stampe, Lars
Please try this :) for ($i = 0; $i < mssql_num_rows( $result ); $i++) { $line = mssql_fetch_row($result); if (($line[0] == $bruker) && ($line[1] == $passord)) { echo "hei $line[0]"; } else { echo "FEIL"; } L

RE: [PHP] why doesnt this work???

2002-03-20 Thread Stampe, Lars
Hi, I am not an expert, but try if( $line[0]='$bruker' and $line[1]='$passord') {echo "hei $bruker.";} else {echo "FEIL";} atb Lars -Original Message- From: chris [mailto:[EMAIL PROTECTED]] Sent: 20 March 2002 14:22 To: [EMAIL PROTECTED] Subject: Re: [PHP] why doesnt this work?

RE: [PHP] PHP Books

2001-05-08 Thread Stampe, Lars
http://www.wrox.com/ I really found Beginning PHP from Wrox very helpful, had a hard time stopping reading it! Great useful "real life" examples! Lars -Original Message- From: Daniel [mailto:[EMAIL PROTECTED]] Sent: 08 May 2001 00:59 To: [EMAIL PROTECTED] Subject: [PHP] PHP Books Hi,

RE: [PHP] textarea -- what happens to my new lines

2001-05-03 Thread Stampe, Lars
ginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 03 May 2001 12:44 To: Stampe, Lars; [EMAIL PROTECTED] Subject: Re: [PHP] textarea -- what happens to my new lines At 13:10 03.05.01 +0200, you wrote: > >I am making a e-card page, and I am having a problem with with my m

[PHP] textarea -- what happens to my new lines

2001-05-03 Thread Stampe, Lars
I am making a e-card page, and I am having a problem with with my message box which is a when I am previewing or saving/recalling the text all the newline characters are gone. Any good ideas! Thanks Lars Stampe