Hello,
I have been working with PHP 5.0 and my "register_globals" has always been
Off since PHP 4.1
Today I upgraded to PHP 5.2 and now neither of my include "config.php" work.
Neither of the variables defined in include files are even included. Anyone
knows what has been changed and what can I
On Dec 1, 2007 2:13 PM, Olav Mørkrid <[EMAIL PROTECTED]> wrote:
> thanks, but that won't work. i need to see post data from other people
> out there, not my own data. still a mystery to me why php doesn't let
> developers see incoming raw data.
>
i think this is what youre looking for:
*$HTTP_RAW
thanks, but that won't work. i need to see post data from other people
out there, not my own data. still a mystery to me why php doesn't let
developers see incoming raw data.
On 01/12/2007, Dan <[EMAIL PROTECTED]> wrote:
> ""Olav Mørkrid"" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECT
On Dec 1, 2007 1:10 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> Brad v. Crayon.
> [/snip]
>
> A very small nail up against a small colored wax cylinder is what came
> to mind, and I laughed a great deal at the animation in my head.
In Pennsyltucky, we call them things "candles".
-
[snip]
Brad v. Crayon.
[/snip]
A very small nail up against a small colored wax cylinder is what came
to mind, and I laughed a great deal at the animation in my head.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Nov 30, 2007 11:53 PM, Crayon Shin Chan
<[EMAIL PROTECTED]> wrote:
> You ought to know by now that there is the php-db list. Even so your
> question doesn't belong even there because it has zilch to do with php,
> but it is still slightly more appropriate to post there than here.
Put on you
julian wrote:
I want to open a database connection at program initialization and use
that very same connection via globals initilizating ( loading from db)
other objects.
Basically
index.php
$db=new mysqli(host,us,pass,db);
if(mysqli_connect_errno()){
die('errordb conex');
}
switch
I want to open a database connection at program initialization and use
that very same connection via globals initilizating ( loading from db)
other objects.
Basically
index.php
$db=new mysqli(host,us,pass,db);
if(mysqli_connect_errno()){
die('errordb conex');
}
switch ($var){
On Nov 30, 2007 10:00 PM, tedd <[EMAIL PROTECTED]> wrote:
> At 2:00 PM +1100 11/30/07, Chris wrote:
> >>Out of curiosity, what SQL server (and version) are you using? I
> >>currently have MySQL 5.0.33 on my dev box and I had no problem with the
> >>query I gave you. Perhaps it's a version issue. Th
On 01/12/2007, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> On 01/12/2007, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> > I remember once coming across a bit of php code that displayed the
> > "created" date of a jpeg image. I cannot find it, and I cannot find
> > anything related to that in tfm. Can someo
On 01/12/2007, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> I remember once coming across a bit of php code that displayed the
> "created" date of a jpeg image. I cannot find it, and I cannot find
> anything related to that in tfm. Can someone give me a push in the
> general direction? Thanks in advanc
At 7:10 AM -0500 12/1/07, Christoph Boget wrote:
Why does
sprintf( '%.03f', 0.1525 )
return 0.152 while
sprintf( '%.03f', 0.1575 )
return 0.158?
The 4th significant digit in both cases is '5' but in the first case, it's
rounded down but in the second case it is rounded up. Is sprint
Jochem Maas wrote:
> Per Jessen wrote:
>> Christoph Boget wrote:
>>
>>> Why does
>>>
>>> sprintf( '%.03f', 0.1525 )
>>> return 0.152 while
>>> sprintf( '%.03f', 0.1575 )
>>> return 0.158?
>
> most likely it's an artifact of the fact that
> the binary representations of those floating poi
I remember once coming across a bit of php code that displayed the
"created" date of a jpeg image. I cannot find it, and I cannot find
anything related to that in tfm. Can someone give me a push in the
general direction? Thanks in advance.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.i
At 12:30 AM -0500 11/29/07, Robert Cummings wrote:
On Wed, 2007-11-28 at 22:19 -0700, Jon Westcot wrote:
>
$123,456.78 becomes 123456.78
$24,680 becomes 24680
1234B becomes 1234
$number = ereg_replace( '[^[:digit:].]', '' );
Cheers,
Rob.
Sweet.
Another one of those sta
Jim Lucas wrote:
Dan wrote:
Unfortunatly javascript can't access the filesystem so it can't get
filenames. The closest way you could do something like this would be
to use Java (not javascript, totally different). It's a permissions
thing, just the way JS and everything else is designed.
-
At 2:19 PM +0100 12/1/07, Jochem Maas wrote:
Brad v. Crayon.
any good animators among us up to the challenge?
I'm not good, but I'm childish enough.
http://www.webbytedd.com/aa/brain-v-brain/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
At 11:07 PM -0600 11/30/07, Jay Blanchard wrote:
The Oracle of PHP - 6 Degrees of Separation
I joined PHP to Oracle, Kevin Bacon and temperature all in one shot.
Sounds like an omelette. :-)
Tedd, what did you want to know about joins?
I think I got it -- at least for the problem that wa
Brad v. Crayon.
any good animators among us up to the challenge?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
chris smith wrote:
> On Dec 1, 2007 3:53 PM, Crayon Shin Chan <[EMAIL PROTECTED]> wrote:
>> On Saturday 01 December 2007, tedd wrote:
>>> At 10:21 AM +0800 11/30/07, Crayon Shin Chan wrote:
On Friday 30 November 2007, tedd wrote:
> I'm trying to understand joins,
Ask on a database re
Jay Blanchard wrote:
> [snip]
> If you try you can probably make a connection from php to everything
> under
> the sun, doesn't mean everything under the sun is an appropriate topic
> for this list.
> [/snip]
>
> The Oracle of PHP - 6 Degrees of Separation
>
> I joined PHP to Oracle, Kevin Bac
Crayon Shin Chan wrote:
> On Friday 30 November 2007, Jochem Maas wrote:
>
...
>
> So let me get this straight, only paid up members of the old boys club are
> allowed to make off-topic posts? The rest can lump it?
if by the rest you mean you, then yes, absolutely, please crawl back under the
Per Jessen wrote:
> Christoph Boget wrote:
>
>> Why does
>>
>> sprintf( '%.03f', 0.1525 )
>> return 0.152 while
>> sprintf( '%.03f', 0.1575 )
>> return 0.158?
most likely it's an artifact of the fact that
the binary representations of those floating point
values are not exact e.g. 0.1575
Christoph Boget wrote:
> Why does
>
> sprintf( '%.03f', 0.1525 )
> return 0.152 while
> sprintf( '%.03f', 0.1575 )
> return 0.158?
>
> I am using PHP 4.3.11
I see the same behaviour in 5.2.4
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Why does
sprintf( '%.03f', 0.1525 )
return 0.152 while
sprintf( '%.03f', 0.1575 )
return 0.158?
The 4th significant digit in both cases is '5' but in the first case, it's
rounded down but in the second case it is rounded up. Is sprintf() basing
it's decision on the value of the 3rd si
Dan wrote:
Unfortunatly javascript can't access the filesystem so it can't get
filenames. The closest way you could do something like this would be to
use Java (not javascript, totally different). It's a permissions thing,
just the way JS and everything else is designed.
- Dan
""Andrei Ver
26 matches
Mail list logo