Re: [PHP] Looking for a web host provider
Check out www.webintellects.com. To date, I haven't had any problems and the service is $18.95 a month. 200MB of diskspace, 50 user accounts, PHP4, MySQL, domain name hosting, etc. Kristi - Original Message - From: "Pascal Clerin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 21, 2001 12:15 PM Subject: [PHP] Looking for a web host provider Hello I am bored with my web host provider (www.linuwebhost.com) because it becomes unreachable several times a month (since 5 this morning I am not able to access my site...). In fact I need a good web host provider where I can host my site, with PHP(3 or 4), MySQL, 50MB, and more features as mail, php modules etc... that can support 300 users a day accessing a site with a lot of MySQL requests (I doubt that a server that hosts 250 domains and has 512 MB will serve me, or not?). Suppose that it could be possible to find that for good price (what is a good price?). Thanks for any suggestions. Pascal -- ___ Get your free email from http://www.graffiti.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mysql_fetch_array strangeness
each() assigns four elements... (0 = index), (1 = value), (key = index), (value = value) You are concerned with key and value. So: list ($fieldname, $value) = each($row) You may not be using $value but you still need to assign the data to a variable. Or list will only assign $fieldname the numerical index and not the char index. At least that's from what I understand. Anyone, please feel free to correct me. Kristi Beware of the false gods we sometimes worship--money, power and fame--for they are all fleeting, especially in death and often in mortality. -Anonymous - Original Message - From: "Jaxon" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 21, 2001 8:07 PM Subject: [PHP] mysql_fetch_array strangeness Hi, I'm trying to echo out the field names used as key values in a mysql_fetch_array: $link_id = mysql_connect("localhost", "root", $pass); mysql_select_db("database", $link_id); $result = mysql_query("select * from lists where id = 1", $link_id); $rowData = mysql_fetch_array($result); while (list($fieldName) = each($rowData)) { echo "$fieldName,"; } I'm expecting to get this: id,listname,joinconfirm,leaveconfirm,homepage,author,canjoin,bannedemails,de scription,subject,masteremail, but instead getting this: 0,id,1,listname,2,joinconfirm,3,leaveconfirm,4,homepage,5,author,6,canjoin,7 ,bannedemails,8,description,9,subject,10,masteremail, Why are the index numbers for the array showing up? From the docs, mysql_fetch_array should create an array of field names to field values...? To make things worse, if I also echo the data: while (list($fieldName, $fieldValue) = each($rowData)) { echo "$fieldName,$fieldValue," ;} Then a value is echoed after both the index number and the field value, eg: 0,1,id,1,1,testlist,listname,testlist, etc... What am I doing wrong? Regards, Jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Spell checker?
Plain Text Dictionary: http://www.mso.anu.edu.au/~ralph/OPTED/ Word list: http://www.antionline.com/archives/text/word-lists/ I just found these by searching through Google you may find better. Kristi - Original Message - From: "Nik Gare" [EMAIL PROTECTED] To: "PHP User Group" [EMAIL PROTECTED] Sent: Saturday, January 20, 2001 8:10 AM Subject: Re: [PHP] Spell checker? In article [EMAIL PROTECTED], Brandon Orther [EMAIL PROTECTED] wrote: Check here, I have never messed with it just ran into it the other day. I hope it helps. http://www.php.net/manual/en/ref.pspell.php Sort of. Thanks go to Kristi as well for spotting this, PHP has so many bult in functions already! The only problem is that the site host doesn't have this functionality installed, and as its a free host, I won't bother asking them. What I will probably have to do is make my own function/class using a great big list of words. Does anyone know where I could find a text list of every word in the English language ;-) Thanks, Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Spell checker?
http://www.php.net/manual/en/ref.pspell.php There's also aspell which is deprecated. Kristi - Original Message - From: "Nik Gare" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 9:12 AM Subject: [PHP] Spell checker? Hi, I have a site which will be updated periodically by someone else, so have made some forms with textareas for them to upload the text into the MySQL database. I was wondering if there is a PHP function/class which could spell check these forms? TTFN Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]