php-general Digest 11 Jan 2010 04:40:24 - Issue 6532
Topics (messages 300941 through 300959):
Re: To add the final ? or not...
300941 by: Michael A. Peters
300942 by: Michael A. Peters
300943 by: Stuart Dallas
300944 by: Michael A. Peters
300945 by:
Don O'Neil wrote:
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
#0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200,
iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
aff=0x0)
at
Daevid Vincent wrote:
What do you guys all do?
I keep it there, and just make sure not to have white space where it
should not be.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stuart Dallas wrote:
That's a massive assumption. There are a number of editors that
automatically add a blank line to the end of source files. I stand by
taking the option that requires the least conscious thought from your
developers - they have enough important stuff to occupy their brain
On 10 Jan 2010, at 14:44, Michael A. Peters wrote:
Stuart Dallas wrote:
That's a massive assumption. There are a number of editors that
automatically add a blank line to the end of source files. I stand by
taking the option that requires the least conscious thought from your
developers -
Stuart Dallas wrote:
On 10 Jan 2010, at 14:44, Michael A. Peters wrote:
Stuart Dallas wrote:
That's a massive assumption. There are a number of editors that
automatically add a blank line to the end of source files. I stand by
taking the option that requires the least conscious thought from
Stuart Dallas wrote:
That's a massive assumption. There are a number of editors that automatically
add a blank line to the end of source files.
A single \n after the final ? doesn't matter anyways. Even if the following
example was two different files where the second included the first,
On Sun, 2010-01-10 at 08:52 -0800, Jim Lucas wrote:
Stuart Dallas wrote:
That's a massive assumption. There are a number of editors that
automatically add a blank line to the end of source files.
A single \n after the final ? doesn't matter anyways. Even if the following
example
I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE=
and
X11BASE=, but I still get the same error.
Remove them. This makes sure they are not defined, not even
empty (as in #define BLA - symbol 'BLA' is defined).
Where to go from here? Do I have and old version of
Hi,
I am hoping someone can help me??
I currently run Fedora 11 on an Apple PowerMac G4 and recently performed
an upgrade to it which rendered my site completely unsee able for a
while but then after re-saving it showed up through my browsers however
my menu bar was slightly altered
On Mon, 2010-01-11 at 02:52 +0200, Kaya Saman wrote:
Hi,
I am hoping someone can help me??
I currently run Fedora 11 on an Apple PowerMac G4 and recently performed
an upgrade to it which rendered my site completely unsee able for a
while but then after re-saving it showed up through
On Mon, 2010-01-11 at 02:52 +0200, Kaya Saman wrote:
Hi,
I am hoping someone can help me??
I currently run Fedora 11 on an Apple PowerMac G4 and recently performed
an upgrade to it which rendered my site completely unsee able for a
while but then after re-saving it showed up through
Ashley Sheridan wrote:
On Mon, 2010-01-11 at 02:52 +0200, Kaya Saman wrote:
Hi,
I am hoping someone can help me??
I currently run Fedora 11 on an Apple PowerMac G4 and recently performed
an upgrade to it which rendered my site completely unsee able for a
while but then after re-saving
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,
Ash
http://www.ashleysheridan.co.uk
Thanks for both comments Ashley!
I will attempt it now. An editor with syntax checking??
On Mon, 2010-01-11 at 03:06 +0200, Kaya Saman wrote:
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,
Ash
http://www.ashleysheridan.co.uk
Thanks for both comments
I use Kate which comes with KDE on Linux. With KDE's Kioslaves I can
edit files directly over SSH via the SFTP protocol.
Thanks,
Ash
http://www.ashleysheridan.co.uk
Thank you for the suggestion!
Your idea about using echo OUTPUT
worked and I now have access to the files again :-)
I am
On Mon, 2010-01-11 at 03:15 +0200, Kaya Saman wrote:
I use Kate which comes with KDE on Linux. With KDE's Kioslaves I can
edit files directly over SSH via the SFTP protocol.
Thanks,
Ash
http://www.ashleysheridan.co.uk
Thank you for the suggestion!
Your idea about using echo
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 are coming from a windows machine, you can use Cygwin or Xming
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 = $.number_format($old_price, 2, ., ,);
and this returns $0.109 when I am looking for $0.11.
I tried:
$newprice =
Testing this out a little:
matt...@mumin:~$ php -r 'echo \$.number_format(0.109, 2, ., ,).\n;'
$0.11
matt...@mumin:~$ php -r 'echo $.number_format(0.109, 2, ., ,).\n;'
$0.11
matt...@mumin:~$ php -r 'echo $.number_format(0.109, 2, .,
,).\n;'
$0.11
I think the $ should be escaped with a
Hi all,
I am trying to use http://code.google.com/p/xmpphp/ package. It uses
stream_socket_client to connect to XMPP servers. I am behind a proxy
server so obviously this is not working. Tried proxychains but to no
avail.
Am I missing something obvious?
Kranthi.
--
PHP General Mailing List
Emacs/xemacs does syntax highlighting too.
On 1/10/10, Kaya Saman samank...@netscape.net 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
Hello Guys,
I am trying to validate a form for user input , such that when something is
missing load the form again by focusing on the wrong field.Say i don not
enter my address so when the form loads everything else is saved and the
form points to address field.
Thanks
Aditya
On Sun, Jan 10, 2010 at 06:41:19AM -0800, Michael A. Peters wrote:
Daevid Vincent wrote:
What do you guys all do?
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.
Paul
--
Paul M. Foster
--
On Sun, Jan 10, 2010 at 11:37:06PM -0600, aditya shukla wrote:
Hello Guys,
I am trying to validate a form for user input , such that when something is
missing load the form again by focusing on the wrong field.Say i don not
enter my address so when the form loads everything else is saved
25 matches
Mail list logo