Yes, it turns out the production server did not have a
php.ini file!!!
I copied the php.ini-recommended file into place, and it
has magic_quotes_gpc off and that did the trick.
Thanks much!
Skip
Chris wrote:
The ini setting is magic_quotes_gpc (
http://www.php.net/ref.info#ini.magic-quotes
The ini setting is magic_quotes_gpc (
http://www.php.net/ref.info#ini.magic-quotes-gpc ). If that doesn't work
the it's mostly like an issue in your code, make sure there aren't any
differences.
Chris
skip evans wrote:
I'm sorry, I totally misnamed the subject of this email. It's the
slashes
I'm sorry, I totally misnamed the subject of this email.
It's the slashes that are getting inserted, but as I said
only on one server, not the other.
So I don't want to change the code, if I can help it. I
hope there is a setting that will prevent this from
happening.
Skip
base64 wrote:
t
Hey all,
I have the following in a text field in the database.
'u',0,'account',1
One my dev server if I update this in the database I get
the same string. On my production server I get this:
\'u\',0,\'account\',1
I thought setting magic_quotes=Off would disable this,
but it did not.
Can
Isn't this a PHP list? Why is there discussion about chickens?
if ($this == "PHP List") {
unset('chicken discussion!');
}
On 7/6/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Fri, 2007-07-06 at 21:40 -0400, tedd wrote:
> At 10:24 AM -0400 7/6/07, Robert Cummings wrote:
> >On Fri, 2007-07-06
On Fri, 2007-07-06 at 23:03 -0400, Robert Cummings wrote:
> On Fri, 2007-07-06 at 21:51 -0500, Kenn Murrah wrote:
> > Can anyone help me with a way to determine of two or more variables have
> > the same value? For instance,
> >
> > $a1 = 1000
> > $a2 = 2000
> > $a3 = 2000
> > $a4 = 4000
> > $a5
On Fri, 2007-07-06 at 21:51 -0500, Kenn Murrah wrote:
> Can anyone help me with a way to determine of two or more variables have
> the same value? For instance,
>
> $a1 = 1000
> $a2 = 2000
> $a3 = 2000
> $a4 = 4000
> $a5 = 5000
>
> I want check these five variables and determine whether, as in
Can anyone help me with a way to determine of two or more variables have
the same value? For instance,
$a1 = 1000
$a2 = 2000
$a3 = 2000
$a4 = 4000
$a5 = 5000
I want check these five variables and determine whether, as in this
case, two or more of the variables have the same value.
Any sugg
On Fri, 2007-07-06 at 21:40 -0400, tedd wrote:
> At 10:24 AM -0400 7/6/07, Robert Cummings wrote:
> >On Fri, 2007-07-06 at 10:08 -0400, tedd wrote:
> > > I doubt that one can demarcate the non-chicken parents from the
> >> chicken offspring. So... it is perplexing.
> >
> >We don't need to demarca
On 7/7/07, tedd <[EMAIL PROTECTED]> wrote:
At 4:16 PM +0200 7/6/07, Tijnema wrote:
>From which point in the evolution do you call it a chicken egg? See it
>like bytes, is a fish egg, and is a chicken egg,
>then it went from fish egg to chicken egg like this:
>0001
>0011
At 4:16 PM +0200 7/6/07, Tijnema wrote:
From which point in the evolution do you call it a chicken egg? See it
like bytes, is a fish egg, and is a chicken egg,
then it went from fish egg to chicken egg like this:
0001
0011
0111
0001
0011
0111
111
At 10:24 AM -0400 7/6/07, Robert Cummings wrote:
On Fri, 2007-07-06 at 10:08 -0400, tedd wrote:
> I doubt that one can demarcate the non-chicken parents from the
chicken offspring. So... it is perplexing.
We don't need to demarcate, we only need to know that it happened.
Yes, but knowing t
At 10:32 AM -0400 7/6/07, Daniel Brown wrote:
An article I just read this morning is quite fitting for this
exact discussion:
http://dsc.discovery.com/news/2007/07/02/bigbird_ani.html?category=animals&guid=20070702170030&dcitc=w19-502-ak-
Not a bad article, but just speculation based
At 3:19 PM +0100 7/6/07, David Restall - System Administrator wrote:
Tedd Wrote :-
> As far as eggs are concerned, they predate fish considerably.
As far as I'm aware, eggs don't predate anything. How could they - they
don't have legs or mouths so couldn't eat anything if they could run to
cat
On 7/7/07, Stut <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
> I just noted that my php (CLI and Apache2 SAPI) doesn't read my php.ini
> in /etc
> I have compiled php with --prefix=/usr, and my /usr/etc is symlinked
> to /etc, but it doesn't read the php.ini file..
> when I use the CLI with -c /etc
Tijnema wrote:
I just noted that my php (CLI and Apache2 SAPI) doesn't read my php.ini
in /etc
I have compiled php with --prefix=/usr, and my /usr/etc is symlinked
to /etc, but it doesn't read the php.ini file..
when I use the CLI with -c /etc it works fine :)
php -i on the command line, or ph
Em Sexta 06 Julho 2007 21:24, Kelvin Park escreveu:
> Is it possible to have PHP code completely separate from the HTML page that
> needs to be completely dynamic? (That's how ASP.NET sort of works I think).
> If this is possible, HTML CODE, PHP CODE, AND THE CSS CODE can be
> completely separate,
Is it possible to have PHP code completely separate from the HTML page that
needs to be completely dynamic? (That's how ASP.NET sort of works I think).
If this is possible, HTML CODE, PHP CODE, AND THE CSS CODE can be completely
separate, increasing the clarity of all the source code.
My second q
Hi,
I just noted that my php (CLI and Apache2 SAPI) doesn't read my php.ini in /etc
I have compiled php with --prefix=/usr, and my /usr/etc is symlinked
to /etc, but it doesn't read the php.ini file..
when I use the CLI with -c /etc it works fine :)
Tijnema
--
Vote for PHP Color Coding in Gmail!
On Fri, 2007-07-06 at 22:46 +0100, Alan Milnes wrote:
> I have a piece of code which uses curl to get a web page and puts it
> into a variable. I now need to search that variable and find
> everything between `div class="msgarea"` and the next `/div`
>
> >From what I have found elsewhere I think
I have a piece of code which uses curl to get a web page and puts it
into a variable. I now need to search that variable and find
everything between `div class="msgarea"` and the next `/div`
From what I have found elsewhere I think I will need to use a regular
expression but can anyone point m
PROBLEM SOLVED had wrong db connection file on HOST SERVER.
""kvigor"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
>
> FYI I did this to solved the problem but it didn't work:
> http://webyog
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
FYI I did this to solved the problem but it didn't work:
http://webyog.com/forums/lofiversion/index.php/t1367.html the only thing is
that I'm running MySQL 5.0 (I have a my.ini not my.cfg) and I put the var
fol
You should probably contact squrrelmail or roundcube, I believe they are
both open source and they are more likely to know the cause of have heard of
it before.
- Dan
""Jamie Dahl"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
So after I recently upgraded from php4 to php5 I
On 06/07/07, Greg Donald <[EMAIL PROTECTED]> wrote:
Specifically you need these two options:
CURLOPT_COOKIEFILE
CURLOPT_COOKIEJAR
http://us2.php.net/manual/en/function.curl-setopt.php
Thanks - that was it.
Alan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Greg Donald wrote:
On 7/4/07, Alan Milnes <[EMAIL PROTECTED]> wrote:
I have spent the afternoon trawling the web for how to retrieve a
Yahoo Groups Web Page using PHP. The best option seems to be curl,
which is installed on my host. I need to understand how to set the
cookies so that Yahoo acc
On 7/4/07, Alan Milnes <[EMAIL PROTECTED]> wrote:
I have spent the afternoon trawling the web for how to retrieve a
Yahoo Groups Web Page using PHP. The best option seems to be curl,
which is installed on my host. I need to understand how to set the
cookies so that Yahoo accepts my response.
T
On 7/6/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Fri, 2007-07-06 at 15:19 +0100, David Restall - System Administrator
wrote:
> Hi,
>
> Tedd Wrote :-
>
> > At 11:00 PM -0400 7/5/07, Robert Cummings wrote:
> > >On Thu, 2007-07-05 at 22:44 -0400, tedd wrote:
> > >> At 4:48 PM -0400 7/5/07,
On Fri, 2007-07-06 at 15:19 +0100, David Restall - System Administrator
wrote:
> Hi,
>
> Tedd Wrote :-
>
> > At 11:00 PM -0400 7/5/07, Robert Cummings wrote:
> > >On Thu, 2007-07-05 at 22:44 -0400, tedd wrote:
> > >> At 4:48 PM -0400 7/5/07, Daniel Brown wrote:
> > >> >On 7/5/07, Robert Cumming
On 7/5/07, tedd <[EMAIL PROTECTED]> wrote:
My favorite.
Fan-freaking-tastic! I've never seen it before (I live under a
rock), but it has so many potential uses.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
--
PHP General Mailing List (http://www.php.net
On Fri, 2007-07-06 at 10:08 -0400, tedd wrote:
> At 11:00 PM -0400 7/5/07, Robert Cummings wrote:
> >On Thu, 2007-07-05 at 22:44 -0400, tedd wrote:
> >> At 4:48 PM -0400 7/5/07, Daniel Brown wrote:
> >> >On 7/5/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >> >>On Thu, 2007-07-05 at 15:04 -05
On 7/6/07, Paul Novitski <[EMAIL PROTECTED]> wrote:
Without bothering to run the code I'd say a tisket, a tasket, a green
and yellow basket.
Very close. The RGB values actually give away the colors (brown
and yellow), and through string replacement and appending, the words
`task` and `ticke
Hi,
Tedd Wrote :-
> At 11:00 PM -0400 7/5/07, Robert Cummings wrote:
> >On Thu, 2007-07-05 at 22:44 -0400, tedd wrote:
> >> At 4:48 PM -0400 7/5/07, Daniel Brown wrote:
> >> >On 7/5/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >> >>On Thu, 2007-07-05 at 15:04 -0500, Kaleb Pomeroy wrote:
>
On 7/6/07, tedd <[EMAIL PROTECTED]> wrote:
At 11:00 PM -0400 7/5/07, Robert Cummings wrote:
>On Thu, 2007-07-05 at 22:44 -0400, tedd wrote:
>> At 4:48 PM -0400 7/5/07, Daniel Brown wrote:
>> >On 7/5/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> >>On Thu, 2007-07-05 at 15:04 -0500, Kaleb Po
At 1:34 PM -0700 7/5/07, Kelvin Park wrote:
I'm trying to build a search engine for my website (with php), it will have
functions such as finding product names and their codes from the mysql
database.
Does anyone know any good tutorial or reference on any website, or any good
books out there that
At 7/5/2007 01:45 PM, Daniel Brown wrote:
$objects->original_image =
"http://www.sewterific.com/images/Just%20Baskets/SmPicnicBasket.jpg";;
$_SCRIPT[word] = "task";
$_SCRIPT[otherword] = "ticket";
$update_word1 = $_SCRIPT[word]."et";
$rgb1 = "134,89,32";
$rgb2 = "231,223,48";
$objects->paint(
At 11:00 PM -0400 7/5/07, Robert Cummings wrote:
On Thu, 2007-07-05 at 22:44 -0400, tedd wrote:
At 4:48 PM -0400 7/5/07, Daniel Brown wrote:
>On 7/5/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>>On Thu, 2007-07-05 at 15:04 -0500, Kaleb Pomeroy wrote:
>>> Which came first, the chicken or
Andrew Hutchings wrote:
> I prefer prepared statements and would use them all the time if
> it wasn't for the fact that those queries aren't cached until
> recent versions of MySQL 5.1
Use PDO. It emulates prepared statements and doesn't avoid the query cache:
$db->setAttribute(PDO::ATTR_EMULATE_
A ticket, a tasket, a red and yellow basket
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 2:59 AM
To: Daniel Brown
Cc: Larry Garfield; php-general@lists.php.net
Subject: Re: [PHP] Re: PHP Brain Teasers
Daniel Brown wrote:
>Let's get obscur
Steve Edberg wrote:
> At 7:37 PM -0400 7/5/07, Robert Cummings wrote:
>> On Thu, 2007-07-05 at 16:27 -0700, Steve Edberg wrote:
>>> Proposal -
>>>
>>> Perhaps we could separate Brain Teasers, Obfuscated PHP challenges,
>>> and what-have-you to a separate mailing list, say php-fun (php-phun?
>>>
Steve Edberg wrote:
> At 7:37 PM -0400 7/5/07, Robert Cummings wrote:
>>On Thu, 2007-07-05 at 16:27 -0700, Steve Edberg wrote:
>>> Proposal -
>>>
>>> Perhaps we could separate Brain Teasers, Obfuscated PHP challenges,
>>> and what-have-you to a separate mailing list, say php-fun (php-phun?
>>>
On 05 July 2007 20:19, Dan Shirah wrote:
> There is a "Find and Replace" function in Dreamweaver, but it is very
> specific and will only find specific words/tags.
Not at all true. Dreamweaver has a fully-functional regexp search in both Text
and Source Code modes.
Cheers!
Mike
-
On 7/6/07, tedd <[EMAIL PROTECTED]> wrote:
My favorite.
End of the world. Great!
Brice
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tedd wrote:
> $actions > $words
It pretty much goes without saying. So I wont. My actions say it for me
without words.
Col
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas wrote:
> Daniel Brown wrote:
>>Let's get obscure try to guess it before running the code. It
>> actually shouldn't be difficult.
>
> I tried to figure it out - I couldn't, I ran the code and I still don't
> get it. oh well :-)
I'm guessing it's related to "Don't put all your
tedd wrote:
>
> 2b || !2b
this is not javascript dude.
$_2b | ~$_2b;
that said this is one of the coolest so far, nice one tedd.
>
> Cheers,
>
> tedd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Brown wrote:
>Let's get obscure try to guess it before running the code. It
> actually shouldn't be difficult.
I tried to figure it out - I couldn't, I ran the code and I still don't
get it. oh well :-)
>
>
> class Brainteaser {
>function
> paint($original_image,$rgb_string
So after I recently upgraded from php4 to php5 I noticed that email
attachments > 88k get truncated at 88k within squirrelmail/roundcube,
however those same email attachments work just fine if I hit the imap
server in thunderbird etc...
Has anyone else run across this before? I've seen other bug
sivasakthi wrote:
Hi Guys,
I have a array like that below,
$values = ("name1 %we %tr ", "name2 %de.%ty %sd", "name3 %we 5te %mt/%
Hs");
another one array like that,
$tmp = ("%tr", "%uy", "%xc");
I need to add the array of $tmp in to each element of array
$values.Also i need to add the
49 matches
Mail list logo