[PHP] wildcard search?

2002-11-11 Thread Håkan
I'm trying to make a small and simple search function, but it only works for exact searches, and I can't figure out how to make a wildcard search, if I do it in the php or in the mysql_query, can't really find anything about it and I don't know what to look for on php.net Håka

[PHP] How to limit chars?

2002-11-07 Thread Håkan
Let's say I have a text field in my mysql database, and a where I write whatever, and I want to limit it to 1000 chars or something like that before I add it to the database, I know I can do it with javascript, but that's so messy and I don't have time to figure that out righ

[PHP] Undefined variable: blabla ?

2002-10-08 Thread Håkan
I just reinstalled the system and everything on my computer, and thought I should get the latest versions of apache, php and mysql, and now I get this message everywhere on my pages.. hehe.. :P how do I "define variables" ? Håkan -- PHP General Mailing List (http://www.ph

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

[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

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

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

2001-01-19 Thread Håkan Askengren
, if user A has logged on before user B in a different browser. The session is released however when all browser-sessions have exited. Is this a bug in Netscape or php-handling? best regards Håkan "Hendry Sumilo" <[EMAIL PROTECTED]> skrev i diskussionsgruppsmeddelandet:[EMAIL P

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 ho