php-general Digest 16 Feb 2011 21:16:38 - Issue 7185
Topics (messages 311359 through 311392):
Re: errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?
311359 by: Richard Quadling
311361 by: Andre Polykanine
311363 by: Richard Quadling
311372 by:
Hi everyone!
after upgrading vomn php 5.2.10 to 5.3.0 I get a lot of errors. I changed
already in some files ereg_replace() to preg_replace(), but it generates more
errors as you can see.
The typo3 installation ins still working.
So - how can I prevent php from printing out this errors on
On 16 February 2011 09:12, fo...@gmx.de wrote:
Hi everyone!
Hi.
Please read the changelog http://docs.php.net/ChangeLog-5.php#5.3.0
and do a search for ereg. You'll notice that it has been deprecated.
As such, old code that relies on this feature may no longer work as
expected and/or give a
Hello Micky,
And I prefer this:
if ($foo==$baz)
:-). I don't know if it's kosher not to put spaces around the == but
still...
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.org/menelion (mostly in Russian)
Twitter: http://twitter.com/m_elensule
Facebook:
Hello Fotoo,
?
error_reporting(0);
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.org/menelion (mostly in Russian)
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion
Original message
From:
Hi, does anybody know, how can I parse (by DOMDocument::loadHTMLFile) content
of td tag, containing string in 3 rows (br)? I need it to split to 3
strings.
Thanks. Fanda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote:
Hello Fotoo,
?
error_reporting(0);
Really?
You consider shoving your head in the sand a REALISTIC option?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP General
[snip]
Hi, does anybody know, how can I parse (by DOMDocument::loadHTMLFile)
content of td tag, containing string in 3 rows (br)? I need it to
split to 3 strings.
[/snip]
http://www.php.net/explode
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
http://www.php.net/explode
I know it, but when I get content of td by $cols-item(0)-nodeValue, it is
without br tags. So I need to:
a) get content with tags also or
b) split content by DOM (if it is possible) and get 3 different parts
--
PHP General Mailing List (http://www.php.net/)
To
[snip]
http://www.php.net/explode
I know it, but when I get content of td by $cols-item(0)-nodeValue,
it is without br tags. So I need to:
a) get content with tags also or
b) split content by DOM (if it is possible) and get 3 different parts
[/snip]
The DOM only exists in the browser, it really
[snip]
The DOM only exists in the browser, it really isn't available
server-side (it is proposed). What does this data look like? Is it just
strings?
[/snip]
Have you tried DOMDocument::loadHTML?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, Feb 16, 2011 at 07:15, Richard Quadling rquadl...@gmail.com wrote:
On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote:
Hello Fotoo,
?
error_reporting(0);
Really?
You consider shoving your head in the sand a REALISTIC option?
Well, at the least, it
On Wed, Feb 16, 2011 at 9:34 AM, Daniel P. Brown
daniel.br...@parasane.net wrote:
On Wed, Feb 16, 2011 at 07:15, Richard Quadling rquadl...@gmail.com wrote:
On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote:
Hello Fotoo,
?
error_reporting(0);
Really?
You consider
On Wed, Feb 16, 2011 at 09:37, David Hutto smokefl...@gmail.com wrote:
What was the intended purpose again?
The hiding of errors.
--
/Daniel P. Brown
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/
--
PHP General Mailing List
Only those who live in glass houses, should hide their errors.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Feb 16, 2011 at 9:41 AM, David Hutto smokefl...@gmail.com wrote:
Only those who live in glass houses, should hide their errors.
if that makes sense.
--
According to theoretical physics, the division of spatial intervals as
the universe evolves gives rise to the fact that in another
On Wed, Feb 16, 2011 at 09:41, David Hutto smokefl...@gmail.com wrote:
On Wed, Feb 16, 2011 at 9:41 AM, David Hutto smokefl...@gmail.com wrote:
Only those who live in glass houses, should hide their errors.
if that makes sense.
Did you even bother to read the whole of what I said? I
On 16 February 2011 14:34, Daniel P. Brown daniel.br...@parasane.net wrote:
On Wed, Feb 16, 2011 at 07:15, Richard Quadling rquadl...@gmail.com wrote:
On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote:
Hello Fotoo,
?
error_reporting(0);
Really?
You consider
Tamara Temple wrote:
On Feb 15, 2011, at 4:17 PM, Donovan Brooke wrote:
[snip]
This is what I show my students:
http://rebel.lcc.edu/sperlt/citw229/brace-styles.php
Cheers,
tedd
I didn't know there were names for bracing styles... but
Neither did I -- just the KR style was the only
On 11-02-16 09:45 AM, Daniel P. Brown wrote:
On Wed, Feb 16, 2011 at 09:41, David Huttosmokefl...@gmail.com wrote:
On Wed, Feb 16, 2011 at 9:41 AM, David Huttosmokefl...@gmail.com wrote:
Only those who live in glass houses, should hide their errors.
if that makes sense.
Did you
Hi.
I have a table called images with 4 columns - `image_id`, `item_name`,
`image_url`, `image_views`
(Where image_id is UNIQUE and AUTO-INCREMENT).
Sometimes, there might be many items with the same name (but not with the
same url).
I want to make sure that each item name has at most 3 images
On 11-02-16 11:37 AM, דניאל דנון wrote:
Hi.
I have a table called images with 4 columns - `image_id`, `item_name`,
`image_url`, `image_views`
(Where image_id is UNIQUE and AUTO-INCREMENT).
Sometimes, there might be many items with the same name (but not with the
same url).
I want to make
On 11-02-16 11:55 AM, Robert Cummings wrote:
On 11-02-16 11:37 AM, דניאל דנון wrote:
Hi.
I have a table called images with 4 columns - `image_id`, `item_name`,
`image_url`, `image_views`
(Where image_id is UNIQUE and AUTO-INCREMENT).
Sometimes, there might be many items with the same name
Hi.
On Wednesday 16 Feb 2011 at 00:49 Simon J Welsh wrote:
As $z is converted to a boolean and exists, that works just the same way as
!empty(). ---
First I'd like to apologise for handing out bad advice, and second, to thank
Simon and Andre for pointing out my mistake. I'll go back to
In my code, I set the optional parameter to NULL and check for triple equals === or !== to see
if the variable has been passed with a value. IMO, this is the safest way.
function MyFunction($x, $y, $z=NULL) {
if ($z !== NULL) {
// Do Something
}
}
Dan Schaefer
Web Developer/Systems Analyst
On 16 February 2011 21:00, Dan Schaefer d...@performanceadmin.com wrote:
In my code, I set the optional parameter to NULL and check for triple equals
=== or !== to see if the variable has been passed with a value. IMO,
this is the safest way.
function MyFunction($x, $y, $z=NULL) {
if ($z !==
Hello Peter,
So is
func_get_args()
the unique way?
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.org/menelion (mostly in Russian)
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion
Original message
On Wed, Feb 16, 2011 at 3:21 PM, Peter Lind peter.e.l...@gmail.com wrote:
On 16 February 2011 21:00, Dan Schaefer d...@performanceadmin.com wrote:
In my code, I set the optional parameter to NULL and check for triple
equals
=== or !== to see if the variable has been passed with a value.
On 16 February 2011 21:45, Andre Polykanine an...@oire.org wrote:
Hello Peter,
So is
func_get_args()
the unique way?
Not really sure what you mean by the unique way. Most things proposed
so far in the thread would be fine for most purposes, I'd say. If you
really need finegrained
On 16 February 2011 21:45, Adam Richardson simples...@gmail.com wrote:
On Wed, Feb 16, 2011 at 3:21 PM, Peter Lind peter.e.l...@gmail.com wrote:
On 16 February 2011 21:00, Dan Schaefer d...@performanceadmin.com wrote:
In my code, I set the optional parameter to NULL and check for triple
On Wed, Feb 16, 2011 at 09:21:20PM +0100, Peter Lind wrote:
On 16 February 2011 21:00, Dan Schaefer d...@performanceadmin.com wrote:
In my code, I set the optional parameter to NULL and check for triple
equals
=== or !== to see if the variable has been passed with a value. IMO,
this is
On 16 February 2011 22:04, Paul M Foster pa...@quillandmouse.com wrote:
On Wed, Feb 16, 2011 at 09:21:20PM +0100, Peter Lind wrote:
On 16 February 2011 21:00, Dan Schaefer d...@performanceadmin.com wrote:
In my code, I set the optional parameter to NULL and check for triple
equals
=== or
hello,
i need some quick help integrating the iVery payment gateway in a
wordpress site
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here you go:
http://lmgtfy.com/?q=how+to+integrate+the+iVeri+payment+gateway+in+a+wordpress+site
On Wed, Feb 16, 2011 at 4:27 PM, Michael Simiyu simiyu.mich...@gmail.comwrote:
hello,
i need some quick help integrating the iVery payment gateway in a
wordpress site
thanks
--
PHP
Is there any way to pass LIBXML_PARSEHUGE to DOMDocument::loadHTML ?
I'm trying to load an in-memory html document and I'm hitting this
limit, DOMDocument::load and DOMDocument::loadXML both look like they
accept options but DOMDocument::loadHTML does not.
--
PHP General Mailing List
On Feb 16, 2011, at 3:34 PM, Mujtaba Arshad wrote:
Here you go:
http://lmgtfy.com/?q=how+to+integrate+the+iVeri+payment+gateway+in+a+wordpress+site
On Wed, Feb 16, 2011 at 4:27 PM, Michael Simiyu
simiyu.mich...@gmail.comwrote:
hello,
i need some quick help integrating the iVery
Aha! I am working for the company that was the root of PHP!
http://www.panasonic.net/history/founder/chapter3/story3-02.html
;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 15, 2011, at 11:23 PM, Brian Waters wrote:
On Tue, Feb 15, 2011 at 11:46 PM, Tamara Temple tamouse.li...@gmail.com
wrote:
I was unlucky enough to find someone who coded a
function that went on for 30 pages one (this was in C, not PHP) and
*that*
was hard to untangle.
On Wed, Feb 16, 2011 at 18:15, Daevid Vincent dae...@daevid.com wrote:
Aha! I am working for the company that was the root of PHP!
http://www.panasonic.net/history/founder/chapter3/story3-02.html
;-)
I'm surprised you found that. Very few people know that PHP is
actually just a
Can anyone please tell me how the addslashes output (note = Everyone''s a
card on the \earth) in the following example is possible. It is
addslashes output but this result is consistent with the output from
post when runtime is set: 1): a single quote is inserted before a single
quote and nothing
On Feb 16, 2011 7:07 PM, Paul S pau...@roadrunner.com wrote:
Can anyone please tell me how the addslashes output (note = Everyone''s a
card on the \earth) in the following example is possible. It is
addslashes output but this result is consistent with the output from
post when runtime is set:
Thanks for the replies, I got caught up in another project and
wasn't able to get back to this. The problem is that I've located a
couple of scripts that are already on the system and are acting up
and I believe it's due to magic quotes being on. Is there a way I
could
42 matches
Mail list logo