On Tue, Apr 1, 2008 at 11:49 PM, Sanjay Mantoor
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am new to PHP and PHP community.
>
> Following program outputs different values with print_r and var_dump.
>
> $array = array(null, NULL);
>
> print_r($array); prints values like below
> Array
> (
>
Hello,
I am new to PHP and PHP community.
Following program outputs different values with print_r and var_dump.
$array = array(null, NULL);
print_r($array); prints values like below
Array
(
[0] =>
[1] =>
)
where as var_dump($array) prints values like below
array(2) {
[0]=>
NULL
I used to use a script to grab a random image from a folder of images by
scanning the folder, returning the list of images, getting one of them
randomly and displaying it.
Isn't that what the code is doing? Maybe I'm missing something but
you've only mentioned one method.
What's the second
On Wed, 2008-04-02 at 00:26 -0400, Joey wrote:
> Hi All,
>
> [-- SNIPPITY SNIP SNIP --]
>
> Assuming only 25-30 images am I splitting hairs here? Does this make
> sense?
> Of course if I have 200 pictures, then this is the way to go but would
> this
> really make a difference?
Randomizing the
I haven't been keeping an eye on this list so if this has come up before
please point me in the right direction. :)
Playing around with dev PHP 5.3 and namespaces, I'm finding it hard to
write an autoload function. Since autoload will be triggered on any
namespace call, the request could be fo
Ray Hauge írta:
tedd wrote:
At 9:23 AM -0500 4/1/08, Ray Hauge wrote:
Don't forget to check your phpinfo() page for the annual easter egg.
--
Ray Hauge
www.primateapplications.com
You got me.
Cheers,
tedd
Here's the image that I see on PHP 5.1.0. My 5.2.5 site has a distorted
image in
Thanks :-)
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Insert is for a new row
>
> Alter or Update is for an exsisting row
>
>
>
>
>
> /*I'm trying to insert values from an array into MySQL DB but the insert
> begins at the last record in the table and not at first record in th
Insert is for a new row
Alter or Update is for an exsisting row
/*I'm trying to insert values from an array into MySQL DB but the insert
begins at the last record in the table and not at first record in the table.
I have added the cellSuffixes column after I already populated 30 records in
ot
/*I'm trying to insert values from an array into MySQL DB but the insert
begins at the last record in the table and not at first record in the table.
I have added the cellSuffixes column after I already populated 30 records in
other columns*/
Code:
foreach($list as $key=>$value)
{
$query = "IN
> >> Wobbly PHP logo on mine (PHP-5.2.5 debian)
> > That's all I see for PHP-5.2.1. Should there be something more?
> Probably not, but check the source. :-)
I checked the source. I didn't notice anything unusual...
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsu
On Tue, 2008-04-01 at 17:16 +0100, Colin Guthrie wrote:
> Robert Cummings wrote:
> > On Tue, 2008-04-01 at 17:00 +0100, Colin Guthrie wrote:
> >> Stut wrote:
> >>> Daniel Brown wrote:
> Off-list.
>
> Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the
> >>> And l
Robert Cummings wrote:
> On Tue, 2008-04-01 at 17:00 +0100, Colin Guthrie wrote:
>> Stut wrote:
>>> Daniel Brown wrote:
Off-list.
Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the
>>> And less of the real name on the interweb please, I'm undercover!
>> Hey don't
On Tue, 2008-04-01 at 17:00 +0100, Colin Guthrie wrote:
> Stut wrote:
> > Daniel Brown wrote:
> >> Off-list.
> >>
> >> Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the
> >
> > And less of the real name on the interweb please, I'm undercover!
>
> Hey don't worry, half way th
On Tue, Apr 1, 2008 at 11:37 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 1, 2008 at 11:35 AM, Eric Butera <[EMAIL PROTECTED]>
> wrote:
> >
> > It's April 1st regardless if he said to ignore it or not. :(
>
> Eric,
>
>That was actually the line I expected very few to refute, b
Stut wrote:
> Daniel Brown wrote:
>> Off-list.
>>
>> Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the
>
> And less of the real name on the interweb please, I'm undercover!
Hey don't worry, half way through next week, Bobby will come out the
shower and it'll turn out all the
On Tue, April 1, 2008 9:39 am, tedd wrote:
> At 4:33 PM +0200 4/1/08, Paul Scott wrote:
>>On Tue, 2008-04-01 at 10:28 -0400, tedd wrote:
>>> You got me.
>>>
>>
>>Wobbly PHP logo on mine (PHP-5.2.5 debian)
>>
>>--Paul
>
>
> Ahhh, now I see it.
>
> The one I was checking was 4 something.
And appa
Daniel Brown wrote:
Off-list.
Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the
n00bs sweat it out just a bit, y'know. ;-P
Sorry mate, bit too quick on the trigger there.
And less of the real name on the interweb please, I'm undercover!
-Stut
--
http://stut.net/
On
On Tue, Apr 1, 2008 at 11:35 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
>
> It's April 1st regardless if he said to ignore it or not. :(
Eric,
That was actually the line I expected very few to refute, but it's
exactly why I worded it that way. ;-P
--
Forensic Services, Senior Unix Eng
On Tue, Apr 1, 2008 at 11:14 AM, Stut <[EMAIL PROTECTED]> wrote:
> Daniel Brown wrote:
> > Hey, folks, ignore the coincidence of the date when reading this
> email.
>
>
> I'm thinking you're full of it...
>
> http://lxr.php.net/search?string=remote_bytecode_include
>
> Since it doesn't appear
Damn you, Reply-All
--
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Off-list.
Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the
n00bs sweat it out just a bit, y'know. ;-P
On Tue, Apr 1, 2008 at 11:14 AM, Stut <[EMAIL PROTECTED]> wrote:
> Daniel Brown wrote:
> > Hey, folks, ignore the coincidence of the date when reading this email.
>
Daniel Brown wrote:
Hey, folks, ignore the coincidence of the date when reading this email.
I'm thinking you're full of it...
http://lxr.php.net/search?string=remote_bytecode_include
Since it doesn't appear in the PHP source code I'm guessing it won't
have any effect. Nice try.
-Stut
On Tue, April 1, 2008 9:38 am, Christoph Boget wrote:
>> > You got me.
>> Wobbly PHP logo on mine (PHP-5.2.5 debian)
>
> That's all I see for PHP-5.2.1. Should there be something more?
Probably not, but check the source. :-)
I like the bunny of version 4 better, personally...
--
Some peopl
On Tue, Apr 1, 2008 at 10:04 AM, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> PHP runs as the Apache user.
>
> chown/chmod the source files to not be writable by that user.
>
> Problem solved.
Let's not ignore phpSuExec or suhosin, which are fast-becoming
standard. If I'm not mistaken, the
Hey, folks, ignore the coincidence of the date when reading this email.
During the Scranton PHP Group's meeting last night, the topic was
security - go through all of the PHP engine's source code and identify
and find patches for possible security issues. In the process, we
detected a hug
tedd wrote:
At 9:23 AM -0500 4/1/08, Ray Hauge wrote:
Don't forget to check your phpinfo() page for the annual easter egg.
--
Ray Hauge
www.primateapplications.com
You got me.
Cheers,
tedd
Here's the image that I see on PHP 5.1.0. My 5.2.5 site has a distorted
image instead of the dog.
Jim Lucas wrote:
I work for a telephone & internet company. Currently we have a tool
that allows us to track the allocation of IP's to customers. What I am
looking for is a tool that will allow me to track the allocation of
phone numbers to our customers.
Building the tool for IP allocati
Same here... It is shaky.. on version 5.2.0..
On Tue, Apr 1, 2008 at 8:12 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Apr 1, 2008, at 10:38 AM, Christoph Boget wrote:
> >>> You got me.
> >> Wobbly PHP logo on mine (PHP-5.2.5 debian)
> >
> > That's all I see for PHP-5.2.1. Should there
Studied that thing for last 15 minutes before realizing you got me.
Richard L. Buskirk
Don't forget to check your phpinfo() page for the annual easter egg.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
On Apr 1, 2008, at 10:38 AM, Christoph Boget wrote:
You got me.
Wobbly PHP logo on mine (PHP-5.2.5 debian)
That's all I see for PHP-5.2.1. Should there be something more?
Same here on 5.2.0 Although... Did the Zend logo always look like
that? It looks a little Jaggy to me... Along the s
At 4:33 PM +0200 4/1/08, Paul Scott wrote:
On Tue, 2008-04-01 at 10:28 -0400, tedd wrote:
You got me.
Wobbly PHP logo on mine (PHP-5.2.5 debian)
--Paul
Ahhh, now I see it.
The one I was checking was 4 something.
tedd
--
---
http://sperling.com http://ancientstones.com http://ear
> > You got me.
> Wobbly PHP logo on mine (PHP-5.2.5 debian)
That's all I see for PHP-5.2.1. Should there be something more?
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2008-04-01 at 10:28 -0400, tedd wrote:
> You got me.
>
Wobbly PHP logo on mine (PHP-5.2.5 debian)
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm
--
PHP General Mailing List (http://www.php.net/)
To un
At 9:23 AM -0500 4/1/08, Ray Hauge wrote:
Don't forget to check your phpinfo() page for the annual easter egg.
--
Ray Hauge
www.primateapplications.com
You got me.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (ht
Extract them from what?
Without more context, we can't really help...
So far a GREEDY pcre with quote on each end fits all the inputs.
And *WHY* do you have so many backslashes?
Whatever is causing that (MagicQuotes, cough, cough) is your REAL
problem. Fix the problem, not the symptom.
On Sat
On Sun, March 30, 2008 7:20 am, jeffry s wrote:
> my client ask me about this problem 2 weeks ago. he want the text to
> automatically
> go to new line after user type until the end of the line. The only
> possible
> solutions so
> far is using wrap='hard' or wrap='soft'
> eg:
> but wrap only wor
On Sat, March 29, 2008 11:26 pm, Mary Anderson wrote:
> I have a php script which produces text which is to be displayed
> in
> a textarea. I have the wrap for the text area set to 'hard'. I need
Do NOT set the wrap to "hard"
It will only cause you grief in the long run.
It's going to inse
On Sun, March 30, 2008 4:27 am, Alain Roger wrote:
> i want to implement on my web portal electronic invoicing system.
> basically data will be stored into PostgreSQL DB.
>
> I would like to know if someone already have experiences with such
> feature
> or where could i find some tutorials or help
Don't forget to check your phpinfo() page for the annual easter egg.
--
Ray Hauge
www.primateapplications.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 6:53 AM -0700 4/1/08, Jim Lucas wrote:
Think the opposite from what you just described. What I want to be
able to do is have a pool of numbers from which I can assign a range
or individual numbers to a given customer. But this tool is not to
track the customers, but rather allow me to keep
On Sun, March 30, 2008 5:03 pm, php wrote:
> Thanks Greg...I am aware of the allow_url_fopen/allow_url_include
> relationship.
>
> Your suggestion to look into curl was implemented and there still
> seems to
> be something else afoot.
>
> I created a simple set of curl functions which just printe
On Sun, March 30, 2008 8:15 pm, [EMAIL PROTECTED] wrote:
> As LDAP can have SQL back-end (I saw an example with PostgreSQL) - is
> it
> a very wild idea to implement (a simple) LDAP server in php?
>
> We have all the address data already in PostgreSQL and a php
> application
> managing all of it.
>
I work with and design VIOP IVR Applications, and have probably found or made
everything you’re looking for. I can tell who provides database's for free or
at a cost the cheapest and if you’re doing ANI cross population I have that as
well.
WARNING some of the database are around 250 million re
On Mon, March 31, 2008 3:21 am, Hamar Gábor wrote:
> I am a new php user and I have a question, for which I couldn't find
> any
> answer.
>
> I'd like to restrict php code to access the filesystem. I'd like to
> have
> only one directory where the php code can write, create or read files,
> and an
On Tue, Apr 1, 2008 at 9:53 AM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> Think the opposite from what you just described. What I want to be able
> to do is have a pool of numbers from which I can assign a range or
> individual numbers to a given customer. But this tool is not to track
> the cus
On Mon, March 31, 2008 11:01 am, Sándor Tamás (HostWare Kft.) wrote:
> I wrote a little registration routine, which will send a confirmation
> letter to the user with a random number in the message body (my site
> is on a host, so I can't write in the subject, and ask the user to
> reply), which ca
Jim Lucas wrote:
> Think the opposite from what you just described. What I want to be
> able to do is have a pool of numbers from which I can assign a range
> or individual numbers to a given customer. But this tool is not to
> track the customers, but rather allow me to keep track of which
> nu
If you want the DAY before, you can use the -1 for the day, and get
what you want.
mktime() will "wrap" the month as needed.
But, yeah, if you try to hit a MONTH before by putting in a month
before AND the day, it will "slingshot" back and forth to get what you
don't want.
If you want the MONTH
Your doing the same thing i did look at date(d)
When its the 31 like yesteday of course it can not find the 31 of months that
do not have them.
Thats why it errored.
String worked up till monday which explained alot. I just did not look at what
i was doing. changed the code to
$zomonth =
tedd wrote:
At 5:21 PM -0700 3/31/08, Jim Lucas wrote:
I work for a telephone & internet company. Currently we have a tool
that allows us to track the allocation of IP's to customers. What I
am looking for is a tool that will allow me to track the allocation of
phone numbers to our customers
Jason Pruim wrote:
On Mar 31, 2008, at 8:21 PM, Jim Lucas wrote:
I work for a telephone & internet company. Currently we have a tool
that allows us to track the allocation of IP's to customers. What I
am looking for is a tool that will allow me to track the allocation of
phone numbers to
I generally use 1 hour after midnight with mktime() to avoid the edge
cases of daylight savings etc...
mktime(1, 0, 0, date('m') - 1, date('d'), date('Y'));
You also have to consider that you *COULD* call this right on the cusp
of midnight, and the call to date('d') could happen one day, and the
At 5:21 PM -0700 3/31/08, Jim Lucas wrote:
I work for a telephone & internet company. Currently we have a tool
that allows us to track the allocation of IP's to customers. What I
am looking for is a tool that will allow me to track the allocation
of phone numbers to our customers.
Building
On Mar 31, 2008, at 8:21 PM, Jim Lucas wrote:
I work for a telephone & internet company. Currently we have a tool
that allows us to track the allocation of IP's to customers. What I
am looking for is a tool that will allow me to track the allocation
of phone numbers to our customers.
I understood it was April 1st in Australia.
How that relates to a PHP general list is beyond me though.
A funny joke about PHP would have been more acceptable. Otherwise, I
consider this spam. Using this mailing list to push a Digg article's
popularity is pathetic. I wouldn't have said anything i
55 matches
Mail list logo