php-general Digest 12 Jan 2010 05:08:45 - Issue 6534
Topics (messages 300992 through 301012):
Re: To add the final ? or not...
300992 by: Bipper Goes!
Re: Formatting Decimals
300993 by: Rick Dwyer
300996 by: Paul M Foster
301002 by: tedd
301005 by:
Paul M Foster wrote:
I leave it off. I don't want to have to worry about which editor I'm
using or whether I accidentally left some whitespace where it shouldn't
be.
I also use different editors in different situations, both terminal based
and GUI. For instance I find Midnight Commander's
Check it out at http://mediabeez.ws/htmlMicroscope
Last modified Mon, 11 Jan 2010, 13:00 UTC+0100
Latest changes:
* Javascript hm() support added
* Added ability to view HTML strings as rendered HTML.
I admit there are still problems with some HTML taking over the
..and I haven't for a while. Is anyone else having this problem? If you
are you will not see this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
..and I haven't for a while. Is anyone else having this problem? If you
are you will not see this.
If they are, how can they wonder if they have this problem ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Jay Blanchard wrote:
..and I haven't for a while. Is anyone else having this problem? If
you
are you will not see this.
If they are, how can they wonder if they have this problem ?
[/snip]
exactly
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Mon, 2010-01-11 at 03:27 +0200, Kaya Saman wrote:
Depending on the latency and bandwidth you could use X11 forwarding
(granted the server supports it) so you could use a non-CLI editor. I
think joe has some syntax highlighting, but I've never edited PHP
files with it.
If you
From: Kaya Saman
I also forgot to mention, it's worth getting an editor that comes
with
syntax highlighting, as this would have shown you the problem right
away.
Thanks for both comments Ashley!
I will attempt it now. An editor with syntax checking?? Currently my
data center is in the
Hi gang:
I recently installed MAPA on my new system (Mac X 10.6.2) to use use
Eclipse and PHP 5.
The EasyEclipse for PHP download is located at:
http://www.easyeclipse.org/site/distributions/php.html
However, the installation fails.
I posted an error report, but there are other reports
Bob McConnell wrote:
From: Kaya Saman
I also forgot to mention, it's worth getting an editor that comes
with
syntax highlighting, as this would have shown you the problem right
away.
Thanks for both comments Ashley!
I will attempt it now. An editor with syntax
On Mon, 2010-01-11 at 16:21 +0200, Kaya Saman wrote:
Bob McConnell wrote:
From: Kaya Saman
I also forgot to mention, it's worth getting an editor that comes
with
syntax highlighting, as this would have shown you the problem right
away.
Thanks for
Bob McConnell wrote:
From: Kaya Saman
I also forgot to mention, it's worth getting an editor that comes
with
syntax highlighting, as this would have shown you the problem right
away.
Thanks for both comments Ashley!
I will attempt it now. An editor with syntax checking?? Currently my
data
Ashley Sheridan wrote:
I never bother with X-forwarding for development work, it is too slow I
agree.
My development box is a Dell Optiplex G50 I found discarded in an
illegal trash pile. Hard drive was bad, I had a spare. Heat sink was
dislodged, I had thermal paste. CDROM is not
-Original Message-
From: aditya shukla [mailto:adityashukla1...@gmail.com]
Sent: 11 January 2010 07:37 AM
To: php-general
Subject: [PHP] Form validation and save the form
Hello Guys,
I am trying to validate a form for user input , such that when something is
missing load the form
Angelo Zanetti wrote:
-Original Message-
From: aditya shukla [mailto:adityashukla1...@gmail.com]
Sent: 11 January 2010 07:37 AM
To: php-general
Subject: [PHP] Form validation and save the form
Hello Guys,
I am trying to validate a form for user input , such that when something is
My development box is a Dell Optiplex G50 I found discarded in an
illegal trash pile. Hard drive was bad, I had a spare. Heat sink was
dislodged, I had thermal paste. CDROM is not reliable, but reliable
enough to boot off of a 4MB CentOS boot.iso and network install. Video
gives snow, but
Thanks for the reply guys.Do you guys know a good resource where i can read
from about form validation through PHP.There a lot on google but please
suggest something if you guys know.
Thanks
Aditya
Hi,
...
I had this (I think) recently; mail simply stopped coming from the
list and I can't remember unsubscribing (though that's not saying
much...). I simply re-subscribed and all was dandy again.
--
Richard Heyes
HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 9th January)
On Mon, Jan 11, 2010 at 10:10, Richard rich...@php.net wrote:
I had this (I think) recently; mail simply stopped coming from the
list and I can't remember unsubscribing (though that's not saying
much...). I simply re-subscribed and all was dandy again.
Quite possibly caused by malformed
-Original Message-
From: aditya shukla [mailto:adityashukla1...@gmail.com]
Sent: 11 January 2010 05:03 PM
To: Robert Cummings
Cc: Angelo Zanetti; php-general
Subject: Re: [PHP] Form validation and save the form
Thanks for the reply guys.Do you guys know a good resource where i can read
On Mon, 2010-01-11 at 10:17 -0500, Daniel Brown wrote:
On Mon, Jan 11, 2010 at 10:10, Richard rich...@php.net wrote:
I had this (I think) recently; mail simply stopped coming from the
list and I can't remember unsubscribing (though that's not saying
much...). I simply re-subscribed and
Hi,
...
It's not a problem at all, it just takes me a few months to realise... :-)
--
Richard Heyes
HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 9th January)
Lots of PHP and Javascript code - http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To
Kaya Saman wrote:
Thanks for that info I do admit that old computers do make the coolest
machines especially home servers and when running something like FreeBSD
they end up being awsome!
However we were talking about SSH over continents not local LAN! With
local LAN you get round
$newprice = sprintf($%.2f, 15.109);
On Sun, Jan 10, 2010 at 8:36 PM, Rick Dwyer rpdw...@earthlink.net wrote:
Hello List.
Probably an easy question, but I am not able to format a number to round up
from 3 numbers after the decimal to just 2.
My code looks like this:
$newprice =
On Mon, Jan 11, 2010 at 10:18 AM, Angelo Zanetti ang...@zlogic.co.za wrote:
-Original Message-
From: aditya shukla [mailto:adityashukla1...@gmail.com]
Sent: 11 January 2010 05:03 PM
To: Robert Cummings
Cc: Angelo Zanetti; php-general
Subject: Re: [PHP] Form validation and save the
On Mon, Jan 11, 2010 at 10:17 AM, Daniel Brown danbr...@php.net wrote:
On Mon, Jan 11, 2010 at 10:10, Richard rich...@php.net wrote:
I had this (I think) recently; mail simply stopped coming from the
list and I can't remember unsubscribing (though that's not saying
much...). I simply
But what you can do is keep your dev box local, and then use rsync
over ssh to publish to the production (or dev) server that is across
ocean(s).
I use .devel as my TLD for my dev hosts (IE www.something.devel) but
otherwise have the dev box configured identical to the production
On Wed, Jan 6, 2010 at 5:04 PM, Bob Strasser bstras...@noccorp.com wrote:
Hi,
Just went online and saw an SVG generated from Python, and wanted to
do the similar thing by loading the SVG into an PHP script. Here is the
script that I have:
?php
#Load the Map
$ourFileName=
Ever write a string replace function on a closing ? //somecomment here like
end junk
I have written some systems and gone back two to three years later and found
myself having to do such. Sloppy, sure. Minimize cost to the client? Oh
yeah.
I keep em, and comment 'em as I feel I should.
On
I have been asked to further modify the value to the nearest half cent.
So if the 3rd decimal spot ends in 1 or 2, it gets rounded down to 0
If it ends in 3, 4, 5, 6 it gets rounded to 5. And if it 7, 8 or 9 it
gets rounded up to full cents.
Can this be done fairly easily? Not knowing PHP
sorry for this - previous email didn't get through?!!?!?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I tried again and got this error message:
Hi. This is the qmail-send program at outbound-mail-319.bluehost.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
php-general@lists.php.net:
On Mon, Jan 11, 2010 at 02:55:33PM -0500, Rick Dwyer wrote:
I have been asked to further modify the value to the nearest half cent.
So if the 3rd decimal spot ends in 1 or 2, it gets rounded down to 0
If it ends in 3, 4, 5, 6 it gets rounded to 5. And if it 7, 8 or 9 it
gets rounded up to
On Mon, Jan 11, 2010 at 15:52, LAMP l...@afan.net wrote:
I tried again and got this error message:
Hi. This is the qmail-send program at outbound-mail-319.bluehost.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry
Daniel Brown wrote:
On Mon, Jan 11, 2010 at 15:52, LAMP l...@afan.net wrote:
I tried again and got this error message:
Hi. This is the qmail-send program at outbound-mail-319.bluehost.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent
Hi,
This seems like a pretty simple problem, but I can't seem to be able to
figure it out. I have a lot of elements in an array, and some of them are
duplicates, but I don't want to delete them because I have other purposes for
it. Is it possible for me to find out the number of certain
On Mon, Jan 11, 2010 at 6:21 PM, Alice Wei aj...@alumni.iu.edu wrote:
Hi,
This seems like a pretty simple problem, but I can't seem to be able to
figure it out. I have a lot of elements in an array, and some of them are
duplicates, but I don't want to delete them because I have other
Date: Mon, 11 Jan 2010 18:31:43 -0300
Subject: Re: [PHP] Count the Number of Certain Elements in An Array
From: tapi...@gmail.com
To: aj...@alumni.iu.edu
CC: php-general@lists.php.net
On Mon, Jan 11, 2010 at 6:21 PM, Alice Wei aj...@alumni.iu.edu wrote:
Hi,
This seems like a
At 2:55 PM -0500 1/11/10, Rick Dwyer wrote:
I have been asked to further modify the value to the nearest half cent.
So if the 3rd decimal spot ends in 1 or 2, it gets rounded down to 0
If it ends in 3, 4, 5, 6 it gets rounded to 5. And if it 7, 8 or 9
it gets rounded up to full cents.
Can
Hi,
The company I work for, hosts online events registration applications.
After a registered registered himself for an event he will get a
confirmation email saying he registered successfully.
Currently, in the header part of the mail(), in From it says e.g.
ord...@computility.com - because
-Original Message-
From: LAMP [mailto:l...@afan.net]
Sent: Monday, January 11, 2010 2:17 PM
To: PHP-General List
Subject: [PHP] corect way to use mail() function
Hi,
The company I work for, hosts online events registration
applications.
After a registered registered himself
On Jan 11, 2010, at 4:56 PM, tedd wrote:
At 2:55 PM -0500 1/11/10, Rick Dwyer wrote:
I have been asked to further modify the value to the nearest half
cent.
So if the 3rd decimal spot ends in 1 or 2, it gets rounded down to 0
If it ends in 3, 4, 5, 6 it gets rounded to 5. And if it 7, 8
Ok.. just for grins I installed a new instance of 6.1, NO Patches, just
straight off the ISO...
I loaded the ports that came WITH the distro, and was able to make php 5.1.2
ok...
When I did a portsnap fetch, portsnap extract, then went into the
/usr/ports/lang/php5 and just typed make I get the
tedd wrote:
At 2:55 PM -0500 1/11/10, Rick Dwyer wrote:
I have been asked to further modify the value to the nearest half cent.
So if the 3rd decimal spot ends in 1 or 2, it gets rounded down to 0
If it ends in 3, 4, 5, 6 it gets rounded to 5. And if it 7, 8 or 9
it gets rounded up to full
On Mon, Jan 11, 2010 at 7:45 PM, Mattias Thorslund matt...@thorslund.uswrote:
tedd wrote:
At 2:55 PM -0500 1/11/10, Rick Dwyer wrote:
I have been asked to further modify the value to the nearest half cent.
So if the 3rd decimal spot ends in 1 or 2, it gets rounded down to 0
If it ends in
On Mon, Jan 11, 2010 at 04:56:03PM -0500, tedd wrote:
--Rick:
The above described rounding algorithm introduces more bias than
simply using PHP's round() function, which always rounds down. IMO,
modifying rounding is not worth the effort.
The best rounding algorithm is to look at the last
On Mon, Jan 11, 2010 at 04:17:30PM -0600, LAMP wrote:
Hi,
The company I work for, hosts online events registration applications.
After a registered registered himself for an event he will get a
confirmation email saying he registered successfully.
Currently, in the header part of the mail(),
-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com]
Sent: Monday, January 11, 2010 8:51 PM
To: php-general@lists.php.net
Subject: Re: [PHP] corect way to use mail() function
On Mon, Jan 11, 2010 at 04:17:30PM -0600, LAMP wrote:
Hi,
The company I work
There are only 11 types of people in this world. Those that think binary
jokes are funny, those that don't, and those that don't know binary.
ErUmmm.shouldn't that read ...only 10 types of people... ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
49 matches
Mail list logo