Re: [PHP] Parse info from 1,000 files to file

2010-06-03 Thread Jim Lucas
Sam Smith wrote: > Can someone briefly point me to the functions I'll need to parse some > information from thousands of files in a single directory and then > prepare the extracted info into a single file for SQL import? > > Like file() or readfile() and some regex and writefile?? > > Thanks >

Re: [PHP] Re: convert files utf8

2010-06-03 Thread Ashley Sheridan
On Fri, 2010-06-04 at 00:38 +0300, Tanel Tammik wrote: > OP win xp pro > > > ""Tanel Tammik"" wrote in message > news:91.07.07323.be028...@pb1.pair.com... > > Hi, > > > > does anyone know how to convert all files in a directory and in it's > > subdirectories into utf8 encoding? i am using kom

[PHP] Re: convert files utf8

2010-06-03 Thread Tanel Tammik
OP win xp pro ""Tanel Tammik"" wrote in message news:91.07.07323.be028...@pb1.pair.com... > Hi, > > does anyone know how to convert all files in a directory and in it's > subdirectories into utf8 encoding? i am using komodo edit as text-editor. > may it has a feature which i cannot find... >

Re: [PHP] CakePHP, alternatives?

2010-06-03 Thread Shreyas
Larry, That's a very nice way to learn stuff. That's what I am doing but probably in a very crude way. I am just reading a PHP book and doing those examples. Would you recommend any other innovative way of learning and mastering this language? Regards, Shreyas On Thu, Jun 3, 2010 at 11:25 PM, l

[PHP] convert files utf8

2010-06-03 Thread Tanel Tammik
Hi, does anyone know how to convert all files in a directory and in it's subdirectories into utf8 encoding? i am using komodo edit as text-editor. may it has a feature which i cannot find... Br Tanel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Steve Marquez
I am on Mac OS 10.6 I found the logs using the console. It was pretty easy and displays nicely. I am reviewing the entries now. Thanks for your help. -- Steve Marquez Marquez Design e-mail: smarq...@marquez-design.com web: http://www.marquez-design.com phone: 479-648-0325 On Jun 3, 2010, at 1

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Shreyas
True. Since I am a Windows user, I find it here : *C:\Program Files\EasyPHP 3.0\apache\logs* --Shreyas On Fri, Jun 4, 2010 at 12:27 AM, Ashley Sheridan wrote: > On Fri, 2010-06-04 at 00:25 +0530, Shreyas wrote: > > Steve, > > Do you know where Apache is installed? If yes, you have something li

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Ashley Sheridan
On Fri, 2010-06-04 at 00:25 +0530, Shreyas wrote: > Steve, > > Do you know where Apache is installed? If yes, you have something like > error.log and access.log. Find them and nail them them down. > > I am a novice, too and the best way to learn is to answer here and getting > corrected by other

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Shreyas
Steve, Do you know where Apache is installed? If yes, you have something like error.log and access.log. Find them and nail them them down. I am a novice, too and the best way to learn is to answer here and getting corrected by other PHP gurus! So, all in the name of learning! :) --Shreyas On Th

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Ashley Sheridan
On Thu, 2010-06-03 at 12:58 -0500, Steve Marquez wrote: > Strangest thing... it just started working again. Odd. > > Is there an easy way to view the error logs? As you can tell, I am still a > novice at this. > I am on Apache2 > > Thanks for your help. > It depends. On most Linux distros t

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Steve Marquez
Strangest thing... it just started working again. Odd. Is there an easy way to view the error logs? As you can tell, I am still a novice at this. I am on Apache2 Thanks for your help. -- Steve Marquez Marquez Design e-mail: smarq...@marquez-design.com web: http://www.marquez-design.com phone:

Re: [PHP] CakePHP, alternatives?

2010-06-03 Thread la...@garfieldtech.com
First spend time working with straight up PHP, writing your own stuff, throwing it away, and writing it again. What you'll learn that way is immeasurable. Then pick a framework (Cake, Drupal, Symfony, Zend, PEAR, whatever) and learn it, maybe two. Try working with it and extending it. Then

[PHP] CakePHP, alternatives?

2010-06-03 Thread Shreyas
Folks, Just quite could not stop taking your inputs before I start my learning curve to shape up. Should I use one of these frameworks or just *K*eep *I*t *S*imple and *S*tupid and learn it the traditional way? Thoughts? -- Regards, Shreyas

RE: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread HallMarc Websites
, as you can see I am still alive and well. Business has slowed down enough that I had time to actually read a few posts! Marc Hall HallMarc Websites www.hallmarcwebsites.com __ Information from ESET Smart Security, version of virus signature database 5169 (20100603) __ The

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Shreyas
has > slowed down enough that I had time to actually read a few posts! > > Marc Hall > HallMarc Websites > www.hallmarcwebsites.com > > > > __ Information from ESET Smart Security, version of virus signature > database 5169 (20100603) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Regards, Shreyas

RE: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread HallMarc Websites
ror log file say? it should tell you the path and the name of the file that was being called; then go and look to see if the file exists. __ Information from ESET Smart Security, version of virus signature database 5169 (20100603) __ The message was checked by ESET Smart Sec

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Jim Lucas
Steve Marquez wrote: > I am running Apache (not sure which version, where do I find that?) it is > running on a Macbook Pro. > The error happened when I submitted the form. Sorry, should have been more specific. Where did you see the error? In your browser, error logs of your web server, etc..

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Jim Lucas
Steve Marquez wrote: > Good morning, > > I have a PHP form that I have been using for some time now on a Macbook Pro > running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this > morning, when I submitted (it is a journaling application) it came up with > the following error:

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Steve Marquez
Sorry I wasn't specific enough. I'll include the files.http://www.w3.org/TR/html4/loose.dtd";> Prayer Form // specify the name of your form var thisForm = "form1"; // load field names and default values into list var defaultVals = new Array(); defaultVals[0] = new Array("date", "(Date here

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Nilesh Govindarajan
On Thu, Jun 3, 2010 at 7:26 PM, Steve Marquez wrote: > Good morning, > > I have a PHP form that I have been using for some time now on a Macbook Pro > running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this > morning, when I submitted (it is a journaling application) it came

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Ashley Sheridan
On Thu, 2010-06-03 at 08:56 -0500, Steve Marquez wrote: > Good morning, > > I have a PHP form that I have been using for some time now on a Macbook Pro > running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this > morning, when I submitted (it is a journaling application) it c

[PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Steve Marquez
Good morning, I have a PHP form that I have been using for some time now on a Macbook Pro running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this morning, when I submitted (it is a journaling application) it came up with the following error: No such file or directory Can

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Shreyas
Ash - Yes, the service was stopped and then it was copied. --Shreyas On Thu, Jun 3, 2010 at 7:07 PM, Ashley Sheridan wrote: > On Thu, 2010-06-03 at 08:29 -0400, Bob McConnell wrote: > > From: Shreyas > > > Not sure what you meant by that. I never had to restore anything. > Would be > > happy t

RE: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Ashley Sheridan
On Thu, 2010-06-03 at 08:29 -0400, Bob McConnell wrote: > From: Shreyas > > > Not sure what you meant by that. I never had to restore anything. > Would be > > happy to know if I have misunderstood anything. > > > On Thu, Jun 3, 2010 at 4:52 AM, shiplu wrote: > > > >> Actually you just restore

RE: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Bob McConnell
From: Shreyas > Not sure what you meant by that. I never had to restore anything. Would be > happy to know if I have misunderstood anything. > On Thu, Jun 3, 2010 at 4:52 AM, shiplu wrote: > >> Actually you just restore your NS schema in the new EasyPHP stack. >> The fact that you were able to

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Shreyas
Shiplu, Not sure what you meant by that. I never had to restore anything. Would be happy to know if I have misunderstood anything. Regards, Shreyas On Thu, Jun 3, 2010 at 4:52 AM, shiplu wrote: > Actually you just restore your NS schema in the new EasyPHP stack. > > Shiplu Mokadd.im > My talks

Re: [PHP] Preg Match Problem

2010-06-03 Thread Simcha Younger
On Wed, 2 Jun 2010 12:14:47 -0400 Alice Wei wrote: > > Hi, > > I have a code snippet here as in the following: > > [CODE] > $keywords = preg_split("/[\s,]+/", $day); > $count = count($keywords); > if(preg_match("(Mon|Tue|Wed|Thu|Fri)/i", $keywords[$i])) { //line 40 >$day_query ="start_t