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
b
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]>
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?
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 becaus
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 Engin
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.
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 PROTECTE
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
S
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 PROTEC
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.
- Orig
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]>
Newsg
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
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 insi
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 lis
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 ru
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, Marc
16 matches
Mail list logo