php-general Digest 5 Mar 2012 19:11:46 - Issue 7713
Topics (messages 316877 through 316913):
'?=' with PHP5.3.10
316877 by: Lester Caine
316878 by: Ashley Sheridan
316879 by: Lester Caine
316880 by: Alejandro Michelin Salomon
316911 by: Marc ct
I am presuming that one of my customers hosts has upgraded to PHP5.3.10 over the
weekend, and now the site is broken! It is currently codeignighter based,
something which I am in the process of replacing anyway, but I need to get
http://eveshamselfdrive.co.uk/ working again as it was last week.
Lester Caine les...@lsces.co.uk wrote:
I am presuming that one of my customers hosts has upgraded to PHP5.3.10
over the
weekend, and now the site is broken! It is currently codeignighter
based,
something which I am in the process of replacing anyway, but I need to
get
Ashley Sheridan wrote:
You can set it in php.ini itself, or possibly from .htaccess. failing that,
find/replace on the old short echo tags would do it.
But I thought that '?=' was SUPPOSED to have been protected? When did that
change ...
--
Lester Caine - G8HFL
Leste Wrote:
-Mensagem original-
De: Lester Caine [mailto:les...@lsces.co.uk]
Enviada em: segunda-feira, 5 de março de 2012 08:18
Para: php-general@lists.php.net
Assunto: Re: [PHP] '?=' with PHP5.3.10
Ashley Sheridan wrote:
You can set it in php.ini itself, or possibly from .htaccess.
Hi all,
I have a problem with PHP passthru() blocking when it is supposed to start a
daemon and return.
I have a Node.js daemon with a bash script wrapper around it. Users can call
this bash script directly, but it is also used by our deployment system. Our
deployment system uses Phing, and
I have a MySQL server A, a server B with PHP 5.3.8 and a server C with
PHP 5.3.3. I'm connecting to the MySQL server on A via TCP from B and C
using an internal network. Server B and C use the same PHP application.
There are also same PHP scripts that get data from the database and then
Good morning PHP groupies!
I am off on my next tangent now and I have not really thought about this
too much yet but have you seen a method to convert a nested unordered
list into JSON using PHP?
Thanks!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On 5 Mar 2012, at 15:50, Jay Blanchard wrote:
I am off on my next tangent now and I have not really thought about this too
much yet but have you seen a method to convert a nested unordered list into
JSON using PHP?
There's a very useful search function for the PHP manual on the PHP site.
On 3/5/2012 9:53 AM, Stuart Dallas wrote:
On 5 Mar 2012, at 15:50, Jay Blanchard wrote:
I am off on my next tangent now and I have not really thought about this too
much yet but have you seen a method to convert a nested unordered list into
JSON using PHP?
There's a very useful search
On 5 Mar 2012, at 16:02, Jay Blanchard wrote:
On 3/5/2012 9:53 AM, Stuart Dallas wrote:
On 5 Mar 2012, at 15:50, Jay Blanchard wrote:
I am off on my next tangent now and I have not really thought about this
too much yet but have you seen a method to convert a nested unordered list
into
[snip]
$json = json_encode($nested_unordered_list); As I said, whether that
works or not depends on what type $nested_unordered_list is. If it's not
made of standard types you'll need to massage it into a structure using
standard types. :D
[/snip]
Stewie, Stewie, Stewie. :)
So what
On 5 Mar 2012, at 16:24, Jay Blanchard wrote:
[snip]
$json = json_encode($nested_unordered_list); As I said, whether that works or
not depends on what type $nested_unordered_list is. If it's not made of
standard types you'll need to massage it into a structure using standard
types. :D
Jay Blanchard jay.blanch...@sigmaphinothing.org wrote in message
news:4f54e388.7010...@sigmaphinothing.org...
On 3/5/2012 9:53 AM, Stuart Dallas wrote:
On 5 Mar 2012, at 15:50, Jay Blanchard wrote:
I am off on my next tangent now and I have not really thought about this
too much yet but
[snip]
Difficult to answer without knowing how your data is currently stored.
Gimme a var_dump or var_export of your data and I'll be able to give you
an answer. -Stuart
[/snip]
It is an unordered nested list as in the following example -
ul
lifoo/li
libar
ul
liglorp/li
/ul
/li
/ul
--
PHP
[snip]
Sounds like your tangents are efforts to accomplish things that you know
too little about and don't want to spend too much time getting
acquainted with. To borrow from your crude response to Mr. Dallas: You
may have RTFM, now try DTFW. :)
[/snip]
Seriously Jim? I have been a member
On 5 Mar 2012, at 16:45, Jay Blanchard wrote:
[snip]
Difficult to answer without knowing how your data is currently stored. Gimme
a var_dump or var_export of your data and I'll be able to give you an answer.
-Stuart
[/snip]
It is an unordered nested list as in the following example -
[snip]
Ahh, the list is in an HTML document, suddenly it all becomes clear.
DOMDocument is probably your best bet here. Other HTML parsers are also
available. -Stuart
[/snip]
Ah! Thanks for the heads up on that Stuart - I'll start my work there
this afternoon.
--
PHP General Mailing List
An appl that has been working fine for a year now and fine up through last
week, suddenly is not working on my iphone. The only differences between
using it on a pc, ipad or iphone are for font sizes and such (handled by JS)
so I'm puzzled as to what is going on. I do the same exact thing on
On 5 Mar 2012, at 17:16, Jim Giner wrote:
An appl that has been working fine for a year now and fine up through last
week, suddenly is not working on my iphone. The only differences between
using it on a pc, ipad or iphone are for font sizes and such (handled by JS)
so I'm puzzled as to
Stuart Dallas stu...@3ft9.com wrote in message
news:a42f15bf-48a9-4118-bef5-ebc374fcb...@3ft9.com...
On 5 Mar 2012, at 17:16, Jim Giner wrote:
An appl that has been working fine for a year now and fine up through last
week, suddenly is not working on my iphone. The only differences between
On Mar 5, 2012, at 12:30, Jim Giner jim.gi...@albanyhandball.com wrote:
Download dolphin browser, it's a free safari replacement using webkit. Try you
app in there and post back the results.
Mike Mackintosh
ZCE PHP5.3
www.highonphp.com
--
PHP General Mailing List (http://www.php.net/)
To
[snip]In the last few mins I re-booted my phone and it is now doing
something even worse! [/snip]
Have you also cleared the cache and the cookies?
You can also add Firebug to your iPhone -
http://www.iphone-my.com/ipad/geting-firebug-iphone-ipad/
--
PHP General Mailing List
Jay Blanchard jay.blanch...@sigmaphinothing.org wrote in message
news:4f54faf8.4030...@sigmaphinothing.org...
[snip]In the last few mins I re-booted my phone and it is now doing
something even worse! [/snip]
Have you also cleared the cache and the cookies?
You can also add Firebug to your
On Mar 5, 2012, at 12:52, Jim Giner jim.gi...@albanyhandball.com wrote:
Jay Blanchard jay.blanch...@sigmaphinothing.org wrote in message
news:4f54faf8.4030...@sigmaphinothing.org...
[snip]In the last few mins I re-booted my phone and it is now doing
something even worse! [/snip]
Have
On Mar 5, 2012, at 9:52 AM, Jim Giner wrote:
Jay Blanchard jay.blanch...@sigmaphinothing.org wrote in message
news:4f54faf8.4030...@sigmaphinothing.org...
[snip]In the last few mins I re-booted my phone and it is now doing
something even worse! [/snip]
Have you also cleared the cache
- Original Message -
From: Mari Masuda mari.mas...@stanford.edu
To: Jim Giner jim.gi...@albanyhandball.com
Cc: php-general@lists.php.net
Sent: Monday, March 05, 2012 12:57 PM
Subject: Re: [PHP] iphone php
On Mar 5, 2012, at 9:52 AM, Jim Giner wrote:
Jay Blanchard
Jim Giner jim.gi...@albanyhandball.com wrote in message
news:35.42.35539.06df4...@pb1.pair.com...
Jay Blanchard jay.blanch...@sigmaphinothing.org wrote in message
news:4f54faf8.4030...@sigmaphinothing.org...
[snip]In the last few mins I re-booted my phone and it is now doing
something
Jim Giner jim.gi...@albanyhandball.com wrote:
Jim Giner jim.gi...@albanyhandball.com wrote in message
news:35.42.35539.06df4...@pb1.pair.com...
Jay Blanchard jay.blanch...@sigmaphinothing.org wrote in message
news:4f54faf8.4030...@sigmaphinothing.org...
[snip]In the last few mins I
Ashley Sheridan a...@ashleysheridan.co.uk wrote in message
news:caba1578-d923-4fa8-b824-db8f5ffea...@email.android.com...
Jim Giner jim.gi...@albanyhandball.com wrote:
Jim Giner jim.gi...@albanyhandball.com wrote in message
news:35.42.35539.06df4...@pb1.pair.com...
Jay Blanchard
On 5 Mar 2012, at 18:12, Jim Giner wrote:
Okay - here's the scoop - although this is not the forum for it.
Ipads and Iphones respect an html input tag's type=number attribute
in
order to trigger the device's different keyboard configurations. This
is a
neat trick that I found on a couple
Solution!
Found this post from last Fall. Didn't experience the problem because my
appl is a NASCAR one and the season ended before this problem was created,
apparently by an Apple update on my phone.
Here's a link to the story:
https://discussions.apple.com/thread/3408352?tstart=0
To
Stuart Dallas stu...@3ft9.com wrote in message
news:797e930f-368c-43d1-8159-9608b6d53...@3ft9.com...
On 5 Mar 2012, at 18:12, Jim Giner wrote:
Okay - here's the scoop - although this is not the forum for it.
Ipads and Iphones respect an html input tag's type=number attribute
in
order to
And if you change your input type to date, because it's a date, does
that bring up the numeric keys as well?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2012/3/5 Alejandro Michelin Salomon amichel...@hotmail.com:
Leste Wrote:
-Mensagem original-
De: Lester Caine [mailto:les...@lsces.co.uk]
Enviada em: segunda-feira, 5 de março de 2012 08:18
Para: php-general@lists.php.net
Assunto: Re: [PHP] '?=' with PHP5.3.10
Ashley Sheridan wrote:
Marc Guay marc.g...@gmail.com wrote in message
news:CAL0DAJq0y-iOMvt4Ko+D4Z_t+oo3PT9SYmR+9foa=9q9gsr...@mail.gmail.com...
And if you change your input type to date, because it's a date, does
that bring up the numeric keys as well?
actually I have not seen anything that suggests that is a
Marc ct wrote:
And also as you say that it is based with codeigniter you can use a
feature of the framework for emulate it.
http://codeigniter.com/user_guide/general/alternative_php.html
That was probably the other sort of hint I was looking for 9 hours ago ;)
Maintaining something one has not
On 3/5/12 11:58, Jim Giner jim.gi...@albanyhandball.com wrote:
Marc Guay marc.g...@gmail.com wrote in message
news:CAL0DAJq0y-iOMvt4Ko+D4Z_t+oo3PT9SYmR+9foa=9q9gsr...@mail.gmail.com...
And if you change your input type to date, because it's a date, does
that bring up the numeric keys as well?
Robert Williams rewilli...@thesba.com wrote in message
news:cb7a5dd7.828c6%rewilli...@thesba.com...
On 3/5/12 11:58, Jim Giner jim.gi...@albanyhandball.com wrote:
Marc Guay marc.g...@gmail.com wrote in message
news:CAL0DAJq0y-iOMvt4Ko+D4Z_t+oo3PT9SYmR+9foa=9q9gsr...@mail.gmail.com...
And if
On 03/05/2012 11:16 AM, Jim Giner wrote:
An appl that has been working fine for a year now and fine up through last
week, suddenly is not working on my iphone. The only differences between
using it on a pc, ipad or iphone are for font sizes and such (handled by JS)
so I'm puzzled as to
On Mon, 2012-03-05 at 14:43 -0500, Jim Giner wrote:
Robert Williams rewilli...@thesba.com wrote in message
news:cb7a5dd7.828c6%rewilli...@thesba.com...
On 3/5/12 11:58, Jim Giner jim.gi...@albanyhandball.com wrote:
Marc Guay marc.g...@gmail.com wrote in message
Hey gang,
Anyone looking for solid PHP gigs in the Denver area, (or would consider
moving to Denver b/c it's so awesome!) contact me offline; I've got the
hookup!
-nathan
I'll be damned! Russian spam. Use Google translate if you want to,
then please ban this idiot.
--
Vince Aggrippino
Ghodmode Development
http://www.ghodmode.com
2012/3/5 Deti
Детям требуется Ваша помощь!
--
PHP General Mailing List
On Mon, Mar 5, 2012 at 7:33 AM, php-l...@dubistmeinheld.de wrote:
I have a MySQL server A, a server B with PHP 5.3.8 and a server C with
PHP 5.3.3. I'm connecting to the MySQL server on A via TCP from B and C
using an internal network. Server B and C use the same PHP application.
There
Hi,
I'm just wondering, what is the right output of below code should be
ob_start(function($o) { fwrite(STDERR, $o); });
echo 'hello';
ob_end_clean();
Does it should print hello or does it should print nothing?
In PHP 5.3, it prints hello, but in 5.4.0 it prints nothing.
Looking at the C code
45 matches
Mail list logo