Re: [PHP] Re: Long screen display cut short.

2003-06-01 Thread Tim Burden
I had same problem and it involved an array. In my case there was a typo, and the array I was trying to do something with didn't even exist, but it was hard to find because instead of dying with an error it would just sort of sit there, not outputting anything further, until I clicked stop in the

[PHP] Re: Can php run as a script?

2003-04-02 Thread Tim Burden
Look for PHP CLI in google. Recent versions of PHP install at CLI PHP executable by default. e.g I ended up with one in: /usr/local/apache/bin/php [EMAIL PROTECTED] root]# /usr/local/apache/bin/php -v PHP 4.3.1 (cli) (built: Feb 20 2003 14:09:35) Copyright (c) 1997-2002 The PHP Group Zend

Re: [PHP] Html forms to php scripts

2003-04-02 Thread Tim Burden
What version of Apache are you using? Can you point us to a phpinfo() file? - Original Message - From: Timothy Vanzee [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:31 AM Subject: FW: [PHP] Html forms to php scripts Repost because no

[PHP] Re: Can php run as a script?

2003-04-02 Thread Tim Burden
find / -name php -print - Original Message - From: Poon, Kelvin (Infomart) [EMAIL PROTECTED] To: 'Tim Burden' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 12:35 PM Subject: RE: Can php run as a script? Thanks! but the thing is I have php 4.2.2 version

[PHP] Re: Can php run as a script?

2003-04-02 Thread Tim Burden
I used to use wget and run cleanup scripts from cron in the usual way. Some people also used to use lynx to do it, I believe. But the best way would be to install latest version of PHP, IMHO. - Original Message - From: Poon, Kelvin (Infomart) [EMAIL PROTECTED] To: 'Tim Burden' [EMAIL

Re: [PHP] Array Question

2003-04-01 Thread Tim Burden
If you added a dummy field in the table that is minus one field, you might use the merge table, but I honestly have no idea whether this would be more or less efficient than sorting arrays in memory. Guess that would depend on the sizes of the tables and the number of records you'll be returning.

[PHP] Re: Files uploads problem

2003-03-31 Thread Tim Burden
You should tell us 1. What happens 2. What you expected to happen that didn't happen. As Kevin points out your enctype will be wrong but if that doesn't fix it then I'd guess at the Apache 2. But tell us what the output is anyway. - Original Message - From: Adrian Greeman [EMAIL

Re: [PHP] problem with mysql.

2003-03-31 Thread Tim Burden
Right, defaults to /usr/local/ for the source versions of MySQL, in that case, use --with-mysql=/usr/local - Original Message - From: Jon Haworth [EMAIL PROTECTED] Newsgroups: php.general To: Ryan Vennell [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 31, 2003 5:00 PM Subject:

[PHP] Re: php and mysql

2003-03-31 Thread Tim Burden
Assuming Month_Start is stored in MySQL date format (-mm-dd) you could Select blah blah From blah Order By DATE_FORMAT(Month_Start,%m) ASC The %m will pad on the zeroes. http://www.mysql.com/doc/en/Date_and_time_functions.html - Original Message - From: Tyler Durdin [EMAIL PROTECTED]

Re: [PHP] require/include from a different directory

2003-03-30 Thread Tim Burden
The call to include() must be relative to one of the directories listed in open_basedir, regardless of which file the call is made from. Usually the dir mentioned in open_basedir is the docroot, so in your case require include/inc_file.php; should work from any file, in any folder. -

[PHP] Re: Can't connect to mysql

2003-03-29 Thread Tim Burden
MySql is not compiled into PHP What does phpinfo say? (And not just the configure line) - Original Message - From: Cditty [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 12:07 AM Subject: Can't connect to mysql I just setup my home

Re: [PHP] mysql ending at start up

2003-03-29 Thread Tim Burden
Wow, Joe! You post to the wrong list, and your problem is sufficiently unusual (you have no err log?) that we can't give quick supportive answers, and then you whine at us. Not too cool. Please use the appropriate list. - Original Message - From: Joseph Bannon [EMAIL PROTECTED]

[PHP] Re: Include Question

2003-03-28 Thread Tim Burden
You could try this instead: Checklogin.php if (!$name || !password) { $message = $enter_info; } if ($message){ include (login.php); echo $message; exit; } But the way you had it should work, you might just need to global $message; right before the echo in login.php in case it is

Re: [PHP] Checkbox

2003-03-26 Thread Tim Burden
Just using the readonly flag in the input tag is the easiest method, I think. - Original Message - From: Reuben D. Budiardja [EMAIL PROTECTED] Newsgroups: php.general To: CPT John W. Holmes [EMAIL PROTECTED]; shaun [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003

[PHP] Re: php.ini question

2003-03-26 Thread Tim Burden
does phpinfo(32) show the $action variable anywhere? If so just use the global array variable it shows up under. Personally I'd just use the $_GET['action'] alias. You can safely turn register_globals on if you're the only guy that runs scripts on that server and your scripts will never have to

Re: [PHP] Default setting garbage

2003-03-26 Thread Tim Burden
Obviously PHP got confused with your data types. I'll bet that $basedate had been set to 5. Try this instead: GetNextDate(4, 2003-03, 5); Now I bet $frequency is 5 and $basedate is - Original Message - From: Liam Gibbs [EMAIL PROTECTED] Newsgroups: php.general To: php list [EMAIL