Re: [PHP] declaring variables in class definitions

2001-01-10 Thread Max A. Derkachev
; it would throw an error saying that you have no variable named 'somevar' in you class. -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECTED] Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 http://www.Books.Ru -- All Books of Russia   -- PHP General Mailing List (http://

Re[2]: [PHP] declaring variables in class definitions

2001-01-10 Thread Max A. Derkachev
ng "if (!isset($this->somevar))" >> it would throw an error saying that you have no variable named 'somevar' in >> you class. sic> This does not appear to be true either, see above. bad practice anyway -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECT

Re[4]: [PHP] declaring variables in class definitions

2001-01-11 Thread Max A. Derkachev
ndard. Moreover, it's a common sense. Try to imagine what will say other developer which may use or maintain your code looking at this mess. -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECTED] Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 http://www.Books.Ru -- All Books of Rus

Re[2]: [PHP] RE: Ethics question...

2001-01-19 Thread Max A. Derkachev
ething like killall -1 httpd to restore normal operations. -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECTED] Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 http://www.Books.Ru -- All Books of Russia   -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

Re[2]: [PHP] is it possible to communicate javascript and php?

2001-01-22 Thread Max A. Derkachev
learned mind reading yet :) -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECTED] Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 http://www.Books.Ru -- All Books of Russia   -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Post without submit?

2001-01-26 Thread Max A. Derkachev
Hello Chris, Friday, January 26, 2001, 8:23:27 AM, you wrote: C> is there anyway to post without clicking a submit button? You can, e.g. using javascript event. on="document.forms['formname'].submit()" -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECTED] Sym

Re[2]: [PHP] session question

2001-01-31 Thread Max A. Derkachev
sion_register($funky_session_var) gives your nothing (if not an error). You should session_register('funky_session_var') instead (the NAME of the variable, not the variable itself). -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECTED] Symbol-Plus Publishing Ltd. phone: +7 (812)

Re: [PHP] Function by reference?

2001-01-31 Thread Max A. Derkachev
lines NS> $func=&urlencode; It won't work. You can not reference a function. But you can call a variable with the function name value. $func = 'urlencode' $func($str) here will do the same as urlencode($str). -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECTED] Sy

Re: [PHP] Mixing PHP code with phplib templates... possible?

2001-02-06 Thread Max A. Derkachev
ript. I figure this must df> be possible, but I'm new at using phplib, so I'm not all that clear df> on it... Set the links as template variables and then substitute them with values using Template's set_var(). -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECTED] S

Re[2]: [PHP] Mixing PHP code with phplib templates... possible?

2001-02-07 Thread Max A. Derkachev
..) save the buffer, and apply a regexp to it, which would append session info to every link on the page. And the last, should-be the best way. Compile PHP with --enable-trans-sid and forget about manual appending the session info to the links and forms. -- Best regards, Max A. Derkachev mailt