Re: [PHP-DB] search string in text file

2001-12-16 Thread Jason Wong
On Monday 17 December 2001 15:52, Jason Wong wrote: > On Monday 17 December 2001 15:11, Sommai Fongnamthip wrote: > > Hi, > > How could search string (like full text search) in any text file (even > > know or not known filename)? > > One way of doing this if you're using a Linux/Unix system is

Re: [PHP-DB] search string in text file

2001-12-16 Thread Jason Wong
On Monday 17 December 2001 15:11, Sommai Fongnamthip wrote: > Hi, > How could search string (like full text search) in any text file (even > know or not known filename)? One way of doing this if you're using a Linux/Unix system is: $files = `grep -R "search_string" /path/of/directory/to/

[PHP-DB] search string in text file

2001-12-16 Thread Sommai Fongnamthip
Hi, How could search string (like full text search) in any text file (even know or not known filename)? SF -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

[PHP-DB] Re: Populating a MySQL database

2001-12-16 Thread Ian Ferger
look at the mysql_insert() function and then look at the comments for the function mt_rand() "Pjc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need a script that will populate a MySQL database with mostly random data > (without crashing my box) with field

[PHP-DB] Populating a MySQL database

2001-12-16 Thread pjc
I need a script that will populate a MySQL database with mostly random data (without crashing my box) with fields such as firstname, lastname etc. (i.e., I would want some fields to be just ints and some to have chars). Can someone point me in the right direction? thanks, -p -- PHP Database

[PHP-DB] phpmyadmin user grants

2001-12-16 Thread jtjohnston
I have a user xyz. I want xyz to able to see table ccl.main_table I go to user xyz's grants I select the database ccl I select the table main_table what do I grant him so he can see but not change or harm ccl.main_table ? An email post & reply is always helpful, Thanks John -- PHP Database Mail

[PHP-DB] Query Help

2001-12-16 Thread Shannon Doyle
Hi people, I have a small problem with a select cause that I need to use. I basically need the following. Select * from table where page =3D=3D page_name The fields in the db are code,description,unit,price,category,minor_category Then the display needs to be something along the lines of

Re: [PHP-DB] HELP NEEDED! SELECT of Text Fields in MS SQL Server 7.0 Limitatio n

2001-12-16 Thread Miles Thompson
Don't have any suggestions, but have these questions been asked: Presumably your query works just fine at the SQL Server console? What happens - the first 8k display, and then the rest of your page appears? Or do you get an error message? Timeout? What do you get? Are you hitting an array size