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 t
On Feb 16, 2011 7:07 PM, "Paul S" 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: 1): a si
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 no
On Wed, Feb 16, 2011 at 18:15, Daevid Vincent 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 cover-up for Pan-Asi
On Feb 15, 2011, at 11:23 PM, Brian Waters wrote:
On Tue, Feb 15, 2011 at 11:46 PM, Tamara Temple > 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.
Why!?!?!?!?!?!?!
- BW
(un?)fortu
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 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
> wrote:
>
>> hello,
>>
>> i need some quick help integrating the iVery payment gateway i
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 (http://www.
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 wrote:
> hello,
>
> i need some quick help integrating the iVery payment gateway in a
> wordpress site
>
> thanks
>
> --
> PHP General Mailing List
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
On 16 February 2011 22:04, Paul M Foster wrote:
> On Wed, Feb 16, 2011 at 09:21:20PM +0100, Peter Lind wrote:
>
>> On 16 February 2011 21:00, Dan Schaefer wrote:
>> > In my code, I set the optional parameter to NULL and check for triple
>> equals
>> > "===" or "!==" to see if the variable has bee
On Wed, Feb 16, 2011 at 09:21:20PM +0100, Peter Lind wrote:
> On 16 February 2011 21:00, Dan Schaefer 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.
On 16 February 2011 21:45, Adam Richardson wrote:
> On Wed, Feb 16, 2011 at 3:21 PM, Peter Lind wrote:
>
>> On 16 February 2011 21:00, Dan Schaefer wrote:
>> > In my code, I set the optional parameter to NULL and check for triple
>> equals
>> > "===" or "!==" to see if the variable has been pass
On 16 February 2011 21:45, Andre Polykanine 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 control, I'd su
On Wed, Feb 16, 2011 at 3:21 PM, Peter Lind wrote:
> On 16 February 2011 21:00, Dan Schaefer 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.
> >
> >
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
From
On 16 February 2011 21:00, Dan Schaefer 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 !== NULL) {
> // Do
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
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 kee
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
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 su
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 ima
On 11-02-16 09:45 AM, Daniel P. Brown wrote:
On Wed, Feb 16, 2011 at 09:41, David Hutto wrote:
On Wed, Feb 16, 2011 at 9:41 AM, David Hutto 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 sai
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 K&R style was the only n
On 16 February 2011 14:34, Daniel P. Brown wrote:
> On Wed, Feb 16, 2011 at 07:15, Richard Quadling wrote:
>> On 16 February 2011 11:25, Andre Polykanine wrote:
>>> Hello Fotoo,
>>>
>>> >> error_reporting(0);
>>
>> Really?
>>
>> You consider shoving your head in the sand a REALISTIC op
On Wed, Feb 16, 2011 at 09:41, David Hutto wrote:
> On Wed, Feb 16, 2011 at 9:41 AM, David Hutto 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 wasn't
advocating it as a solution,
On Wed, Feb 16, 2011 at 9:41 AM, David Hutto 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 timeline,
your interd
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 09:37, David Hutto wrote:
>
> What was the intended purpose again?
The hiding of errors.
--
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Wed, Feb 16, 2011 at 9:34 AM, Daniel P. Brown
wrote:
> On Wed, Feb 16, 2011 at 07:15, Richard Quadling wrote:
>> On 16 February 2011 11:25, Andre Polykanine wrote:
>>> Hello Fotoo,
>>>
>>> >> error_reporting(0);
>>
>> Really?
>>
>> You consider shoving your head in the sand a REALIS
On Wed, Feb 16, 2011 at 07:15, Richard Quadling wrote:
> On 16 February 2011 11:25, Andre Polykanine wrote:
>> Hello Fotoo,
>>
>> > error_reporting(0);
>
> Really?
>
> You consider shoving your head in the sand a REALISTIC option?
Well, at the least, it would shut the errors up in
I think you can do it any of both, is only a matter of taste.
Gerardo.
On Wed, Feb 16, 2011 at 1:26 AM, Tamara Temple wrote:
>
>
> Dear list,
>
> I want to extend the original question to a discussion about the relative
> merits of doing this within PHP vs. doing it afterwards in JavaScript. I
No I have not. Should I? Works it different way from
DOMDocument::loadHTMLFile()? Data looks like this:
Name Address Contact
ID: 3517438CategoryDate
""Jay Blanchard"" píse v diskusním príspevku
news:E6996B6DBDAC894FAEC7E807EE4482E308E696@ygex01wal.onecall.local...
[snip]
The DOM onl
[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: http://www.php.net/unsub.php
[snip]
> http://www.php.net/explode
I know it, but when I get content of by $cols->item(0)->nodeValue,
it is without 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 i
> http://www.php.net/explode
I know it, but when I get content of by $cols->item(0)->nodeValue, it is
without 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 unsubscr
[snip]
Hi, does anybody know, how can I parse (by DOMDocument::loadHTMLFile)
content of tag, containing string in 3 rows ()? 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/unsub.php
On 16 February 2011 11:25, Andre Polykanine 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 Mailing List (
Hi, does anybody know, how can I parse (by DOMDocument::loadHTMLFile) content
of tag, containing string in 3 rows ()? 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
Hello Fotoo,
http://oire.org/menelion (mostly in Russian)
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion
Original message
From: fo...@gmx.de
To: php-general@lists.php.net
Date created: , 11:12:13 AM
Subject: [PHP] errors after u
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: http:
On 16 February 2011 09:12, 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 warning - jus
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 t
43 matches
Mail list logo