[PHP] How to choose a crypt-standard in crypt()?

2002-09-17 Thread Uwe Birkenhain
Hi, is it possible to tell php which crypting it should use in crypt()? My problem: The program is running on a linux-server (of course) and there is DES available and MD5; crypt() uses MD5. At home I'm developing on a win98 machine and there seems only DES to be available. Of course it would

Re: [PHP] Development Tools

2002-07-10 Thread Uwe Birkenhain
I think that - on windows - nothing is better than textpad (www.textpad.com). Simply the best editor the world has seen so far! What makes development tools better than a good editor? (serious question) Uwe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Handling of constants in strings

2002-07-05 Thread Uwe Birkenhain
Miguel Cruz schrieb in Nachricht ... On Tue, 2 Jul 2002, Uwe Birkenhain wrote: A question - since english is not my first language - what do you mean with It's not all that common to bury constants in strings Is something bad about it? I think so. It would slow parsing down to a crawl

Re: [PHP] How to pass unknown number of variables to a function?

2002-07-05 Thread Uwe Birkenhain
=val5br input type=submit /form /body /html in earlier versions of PHP, $_POST[ck] would be equal to $ck (although, the former is safer) On Thu, 4 Jul 2002 10:52:37 +0200, Uwe Birkenhain [EMAIL PROTECTED] said: Hi everybody on this rainy morning! My problem: I give the user a form with a list

[PHP] How to pass unknown number of variables to a function?

2002-07-04 Thread Uwe Birkenhain
Hi everybody on this rainy morning! My problem: I give the user a form with a list of options with checkboxes. The list is long and not predictable - the values change always. I want to put the checked values (or all, that doesn't matter) in an array, to pass it to my function. How can I write

[PHP] Re: Handling of constants in strings

2002-07-02 Thread Uwe Birkenhain
Richard Lynch schrieb in Nachricht 20020701232114.VOAI6023.sccrmhc02.attbi.com@[192.168.1.103]... Try this: $my_string = This is {MY_CONSTANT} and I love it!; Can't promise it will work, mind you... It's not all that common to bury constants in strings... And is the extra . K . that big a

[PHP] $name = My $row['name'] not longer possible?

2002-07-02 Thread Uwe Birkenhain
Hi, I upgraded to 4.2 and now I get those errormessages Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in ... when doing sth like: $name = My $row['name']; Why? greetings, Uwe -- PHP General Mailing List

Re: [PHP] $name = My $row['name'] not longer possible?

2002-07-02 Thread Uwe Birkenhain
Hallo Matt, thank you for the explanation and for the manual-link! But - correct if I'm wrong - that has been possible before! Or not? Uwe Matt Schroebel schrieb in Nachricht 4B08FD7DB3CBD4119F560002A508C453015B3851@hsus3... Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE,

[PHP] Handling of constants in strings

2002-07-01 Thread Uwe Birkenhain
Hi, when reading about constants (define('MY_CONSTANT', 'my value')) I got convinced that they are pretty usefull. But now it seems to me, that I can't use them inside a string: $my_string = This is MY_CONSTANT and I love it!; but that I must take them out: $my_string = This is . MY_CONSTANT .

[PHP] Re: Win98, Apache, PHP Config Problem

2002-07-01 Thread Uwe Birkenhain
Hi, I just made the same (even on the same weekend) - it's working now. What exactly is going on and what have you done? With me one problem was (e.g.) that I forgot to set the document root properly in httpd.conf. Uwe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: register_global, need some feedback

2002-07-01 Thread Uwe Birkenhain
Hi, try these: http://www.php.net/manual/en/language.variables.predefined.php#language.vari ables.predefined http://www.php.net/manual/en/reserved.variables.php greetings, Uwe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php