I am fairly new to the concept of working wity mysql and php. I am looping
thru a text file full of county names and attempting to add these to a database.
Now the table exists and if I enter the SQL statement manually against the
database it works. The user also has read and write permissions
I do not know much about the history of php and do not know why there is
active development on both the 4 and 5 major versions, but is there a
definite reason for me to migrate from 4 to 5 on my servers?
Trav
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
"just works".
I was just wondering what would be the main advantage.
- Original Message -
From: "Greg Beaver" <[EMAIL PROTECTED]>
To: "Travis Conway" <[EMAIL PROTECTED]>
Cc: "PHP-GEMERAL" <[EMAIL PROTECTED]>
Sent: Sunday, November 28, 2
Try:
SELECT * FROM listing WHERE listing.state = 'WA' AND listing.type = 'RES'
AND listing.county = 'clark' AND (listing.price > 15 OR listing.price
<=20)
Try to not use the word "type". Do not know what it is but I have some
problems using it. In the event you have weird problems, tr
try
for($i=0;$i>$months_arr_length;$i++)
look at it as this:
for(i as starting point; till i is what? greater than my length; increment i
how? by 1) {
HTH
Trav
- Original Message -
From: "R. Van Tassel" <[EMAIL PROTECTED]>
To: "'PHP general'" <[EMAIL PROTECTED]>
Sent: Wednesday, December
- Original Message -
From: "- Edwin -" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Travis Conway" <[EMAIL PROTECTED]>
Sent: Sunday, December 12, 2004 10:40 AM
Subject: Re: [PHP] Command Line
Hi,
On Sun, 12 Dec 2004 09:15:46 -0600
"Travi
Ha!
Sorry for that Fedora 3 is causing all kinds of havoc. I would stay away
for a while.
Trav
- Original Message -
From: "Michael Leung" <[EMAIL PROTECTED]>
To: "Andre Dubuc" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, December 12, 2004 7:25 PM
Subject: Re: [PHP] PHP &
What user did you run your command line as?
Trav
- Original Message -
From: "Michael Leung" <[EMAIL PROTECTED]>
To: "Travis Conway" <[EMAIL PROTECTED]>
Cc: "Andre Dubuc" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, December
- Original Message -
From: "Paul Reinheimer" <[EMAIL PROTECTED]>
Hi,
I was working with the mail function today to experiment with sending
a few messages, and threw in the apropriate checks so when mail()
can't send the message the apropriate errors were raised, however, I
discovered I co
Did he really ask that question on a PHP board?
That is like walking into a Coke factory, going to the manager and asking
"pepsi or coke?"
- Original Message -
From: "Raditha Dissanayake" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, December 11, 2004 7:11 AM
Subject: Re: [
How do you reference command line arguments in php?
i.e., chkmd5.php file.md5
I am wanting to reference file.md5. Since the output of md5sum is not in the
RFC I am having to manually parse each md5 and detect whether it is in
Win32, Linux, or BSD format. And since php has good built in md5() sup
What is the default place for php.ini? I have a few copies when I do a
`whereis php.ini`. I figure it is the /etc/php.ini. Anyone shed some
light? Also, is there anything that must be done after I modify the
php.ini?
Trav
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Nevermind. I got it
- Original Message -
From: "Travis Conway" <[EMAIL PROTECTED]>
To: "PHP-GEMERAL" <[EMAIL PROTECTED]>
Sent: Monday, December 13, 2004 9:30 PM
Subject: [PHP] php.ini
What is the default place for php.ini? I have a few copies when I do
Well a simple search on Google for "PHP Encoder" brougt back these:
http://www.ioncube.com/ $199
http://www.rssoftlab.com/downloads.php - Appears to be Free
I am sure there are more. Check http://freshmeat.net for a good Open Source
product. Also try http://www.sourceforge.net.
As always check
Why reinvent the wheel by writing your own webserver? Apache allows for it
to be used within other products. Just redistrbute it according to the
license.
- Original Message -
From: "Shane Mc Cormack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 2004 10:36 PM
Here has always been a problem I run into with GMT translation. You have to
make sure that the system you are working with is set to the correct time
zone so that any application trying to automatically figure out the time
have the starting point. This is easy enough in Windows, but can mean
Maybe this will help. Just keep adding to $var[] until you add all your
weeks. Then execute it. This is written to run on the command line, but
you can replace the \n with to get your breaks in HTML.
$numweeks = count($var);
echo "Number of weeks: " . $numweeks . "\n";
you have to allow others to read it.
You have it so only root can access the file. Try this:
chmod 644 test.php
while logged in as root. This should put the file as
-rw-r--r-- 1 root root test.php
HTH
Travis
- Original Message -
From: "Jason Morehouse" <[EMAIL PROTECTED]>
To:
Sent: Mond
18 matches
Mail list logo