This issue has probably been discussed more than I've been able to find
in the archive, so I'm sorry if I'm going over old ground.
I'm trying to make sure my email form cannot be used for spam or
injecting additional code and addresses in any way.
So far I'm able to remove bcc, cc, to, etc but
This issue has probably been discussed more than I've been able to find
in the archive, so I'm sorry if I'm going over old ground.
I'm trying to make sure my email form cannot be used for spam or
injecting additional code and addresses in any way.
So far I'm able to remove bcc, cc, to, etc but
I'm having a little struggle getting a PHP file to upload 2 files
simultaneously.
The code follows. The first image always gets uploaded but the second one
sometimes does but when it does it is a duplicate of the first image but
named as the second.
There's probably a real simple solution but obvi
I am trying to find a way to list files alphabetically.
" . "$entryName\n";
}
}
closedir($mydirectory);
?>
I've looked through old messages on the subject but even though on Win32 it
lists in the right way but not on the Apache Webserver.
Thanks.
Martin.
--
PHP General Mailing List (
ious updates that I must
have done to get Access 97 on Win 95 to work and also to do the same from
Access 2K on Win 98.
On both I have installed myODBC and MDAC2.5 but I'm still pulling my hair
out.
Any help will save my hair. Thanks.
Martin E. Koss
M: 07946-706459
E: [EMAIL PROTECTED]
--
When getting the data out of a mySQL table with PHP, use:
$TextArea = nl2br($TextField);
If you are opening it into a form you shouldn't need any formatting as it
will detect the new lines and if using a TEXTAREA the lines will be as you
typed them initially.
If you want to save s when saving t
I have been trying to get a new column added to a table (vips) via a PHP
script, but having exhausted all the things I can find, I'm still
struggling. I've referred to TFM for all those who just can't wait to tell
me
to do so, and I believe my SQL statement is correct:
$NewCol = $Prod_Code;
$defa
PRINT "";
How do I get all this info from the table?
Thanks for any help.
Martin E. Koss
M: 07946-706459
E: [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]
Hi,
I use a product database for 2 sites, one of which adds sales tax and rounds
to the nearest .10 and on the other site there is no tax and also no
rounding.
I am unable to figure out why a price of 1000.00 is being displayed as 1.00
and any price over 1000 does the same thing. 100.00 works fin
Try the number_format
example:
$Price = number_format($BasePrice,2);
Martin.
-Original Message-
From: Michael Hall [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2001 10:35
To: PHP List
Subject: [PHP] money maths
I'm building a demo shopping cart and have sorted out most things but
this
Original Message-
From: Dominick Vansevenant [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2001 11:54
To: Martin E. Koss; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] Run a script for 20minutes
I think there are timeouts on php as well:
This is taken from the php.ini file.
max
Hi,
I have PHP3 and MySQL on Win98 and am trying to run a script that loops
through a file making process and it needs about 20 - 30 minutes to run. It
generates static HTML files based on content in a database. I've increased
Internet Explorer's timeout to allow for this but for some reason only
12 matches
Mail list logo