Re: [PHP] Re: jumping between php and html or using echo for printing html-tags.

2003-02-10 Thread Askengren
tiple > parameters, > which is faster than building up a new string) > > function admin_menu() { >echo ' Meny '; >echo 'Medlemmar'; > > > > Askengren wrote: > > >I do not know why so many developers use the "-character (double

[PHP] Re: jumping between php and html or using echo for printing html-tags.

2003-02-09 Thread Askengren
I do not know why so many developers use the "-character (double quote) instead of ' (single quote) in php/html-scripts. Much easier is: function admin_menu() { echo " Meny "; echo "Medlemmar"; . You do then not have to worry about all backslashes. And single quote is w3c html-standard j

Re: [PHP] Store/Retrieve Word Documents in MySQL/PHP?

2002-06-12 Thread Håkan Askengren
Super Thanks a lot. /Håkan "Miguel Cruz" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I usually just grep through the one that comes with Apache; it's fairly > thorough. You might find it in /usr/local/apache/conf/mime.types > -- PHP General Mailing L

[PHP] Store/Retrieve Word Documents in MySQL/PHP?

2002-06-11 Thread Håkan Askengren
Hi I have managed to load images to database through php, but what about other file types as MS Word (yes I dare to mention it here...) What headers etcetera are needed? Does somebody have any examples? Håkan Askengren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Get the row number in php-script?

2001-09-16 Thread Håkan Askengren
Hi Does anybody know how to get hold of the rownumber of the current row in a php-script? (Rownumber in the actual file.) Thanks /Håkan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

SV: [PHP] session_destroy

2001-01-19 Thread Håkan Askengren
I always call unset before destroy. Worked fine when I had problems with destroy. /Håkan Brandon Orther <[EMAIL PROTECTED]> skrev i diskussionsgruppsmeddelandet:CKEMJEADMOCEHPHJKLPAGEGLCDAA.brandon@webintelle cts.com... > Hello Everyone, > > Can someone please give me example code on how to u

SV: [PHP] Cookies still store old value(Help!!)

2001-01-19 Thread Håkan Askengren
Hi I have got a similar problem with session handling. As session handling is handled by cookies this should be the same problem. I handle (as Hendry in a similar way does) user right with session handling. IE ver 5 is no problem. I can have as many session (browers) running as I want. All sessio

SV: [PHP] password()

2001-01-19 Thread Håkan Askengren
For me it´s plain text in Mysql table. In a project with < 500 users it is easy to to read forgotten passwords... Instead of giving away a new. /Håkan "Chris Lee" <[EMAIL PROTECTED]> skrev i diskussionsgruppsmeddelandet:9409fm$mg$[EMAIL PROTECTED] > Im curious to see how other php developers stor