At 7:19 AM +0530 6/10/10, Shreyas wrote:
PHP'ers,
I am reading a PHP book which explains foreach and at the end says : *'When
foreach starts walking through an array, it moves the pointer to
the beginning of the array. You don't need to reset an array before
walking through it with foreach.'*
*
On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
> At 7:19 AM +0530 6/10/10, Shreyas wrote:
>> PHP'ers,
>>
>> I am reading a PHP book which explains foreach and at the end says : *'When
>> foreach starts walking through an array, it moves the pointer to
>> the beginning of the array. You don'
All,
I tried and tested it but wanted a solid confirmation on it. I felt foreach
usage is better than manual way of next(), prev() et al.
Thanks for the comments. I consider the thread answered and solved unless
someone has anything more to add.
Regards,
Shreyas
On Thu, Jun 10, 2010 at 7:02 PM,
Dan Joseph wrote:
Hi,
This is slightly OT...
We're wrapping up a new PHP/MySQL driven web site built on the Zend
Framework. We're anticipating a couple hundred thousand members with
several thousand of them coming to the site at once. I'm trying to figure
out how to determine how many servers
On 9 June 2010 11:59, Richard Quadling wrote:
> On 9 June 2010 09:08, Amit Bobade wrote:
> > Hi friends,
> > I am new in PHP. I want to know that how to send an email in HTML
> > format(i.e. with proper header, footer, etc) in PHP.
> > Please suggest me with code.
> >
> > --
> > Thanks and Reg
At 9:32 AM -0400 6/10/10, Paul M Foster wrote:
On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
> This is one of those questions that you can test very easily, just
initialize an array and try it.
+1
This is Tedd's modus operandi. His website(s) are full of exactly this
type of thing.
Hi folks,
I know that this is not a php question, but I'm sure it some kind
related to it. I need to put my public files under "public" folder, and
other includes files and database config in other folder not shown to
the public, but i don't know how to do that. I hope if some one show me
how
On Thu, Jun 10, 2010 at 14:06, Ahmed Mohsen wrote:
[snip!]
>
> I don't want to enter (example.com/public) to view index.php file. I just
> want to enter (example.com) and it redirects to the public folder and shows
> only (example.com/index.php) in the URL. And for login.php should display
> (ex
On Thu, 2010-06-10 at 21:06 +0300, Ahmed Mohsen wrote:
> Hi folks,
> I know that this is not a php question, but I'm sure it some kind
> related to it. I need to put my public files under "public" folder, and
> other includes files and database config in other folder not shown to
> the public,
Hi all,
Using 5.2.9
I'm trying to create a directory but it is being created with incorrect
permissions. I'm following the online manual.
This is the command being used:
mkdir('/srv/www/domain/data/R1276190214358/thumbs', 0770, true);
This is what is created:
drwxr-x--- 2 apache a
On Thu, 2010-06-10 at 11:32 -0700, Mike Wright wrote:
> Hi all,
>
> Using 5.2.9
>
> I'm trying to create a directory but it is being created with incorrect
> permissions. I'm following the online manual.
>
> This is the command being used:
>
> mkdir('/srv/www/domain/data/R1276190214358/
Ashley Sheridan wrote:
On Thu, 2010-06-10 at 11:32 -0700, Mike Wright wrote:
Hi all,
Using 5.2.9
I'm trying to create a directory but it is being created with incorrect
permissions. I'm following the online manual.
This is the command being used:
mkdir('/srv/www/domain/data/R1276190
On Thu, Jun 10, 2010 at 11:16:08AM -0400, tedd wrote:
> At 9:32 AM -0400 6/10/10, Paul M Foster wrote:
>> On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
>>
>> > This is one of those questions that you can test very easily, just
>>> initialize an array and try it.
>>
>> +1
>>
>> This is Te
I know that i should use the full open tag in php but i want to
know if its good to use this tag instead of
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Paul M Foster
> On Thu, Jun 10, 2010 at 11:16:08AM -0400, tedd wrote:
>
>> At 9:32 AM -0400 6/10/10, Paul M Foster wrote:
>>> On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
>>>
>>
>> Paul:
>>
>> Now, if I could get the old memory to "lock in" and remember it, it
>> would be great!
>>
Thanks for help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2010-06-11 at 01:34 +0300, Ahmed Mohsen wrote:
> I know that i should use the full open tag in php but i want to
> know if its good to use this tag instead of
>
Depends who you ask, there was a discussion of this on the list a while
back, and the result was pretty split 50/50. Perso
Please could you not send out these auto messages Brandon as I believe
this is the second time a message has hit both my email address and the
mailing list with a request for Google chat from you.
Thanks,
Ash
http://www.ashleysheridan.co.uk
On Thu, 2010-06-10 at 13:46 -0700, Brandon Rampersad w
---
Brandon Rampersad wants to stay in better touch using some of Google's
coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-b89a7a894d-87f44ca42c-QxVqdDj-Y-taKgwQ_V0g-Q8WRBY
You
On Thu, Jun 10, 2010 at 3:34 PM, Ahmed Mohsen wrote:
> I know that i should use the full open tag in php but i want to
> know if its good to use this tag instead of
>
According to some PHP 6 will remove support for short tags. They won't be
disabled by default--the feature simply won't exist.
On Thu, Jun 10, 2010 at 19:35, David Harkness wrote:
>
> According to some PHP 6 will remove support for short tags. They won't be
> disabled by default--the feature simply won't exist.
>
> http://www.slideshare.net/thinkphp/php-53-and-php-6-a-look-ahead
I don't know why Stefan said that,
On 6/11/2010 2:49 AM, Daniel Brown wrote:
On Thu, Jun 10, 2010 at 19:35, David Harkness wrote:
According to some PHP 6 will remove support for short tags. They won't be
disabled by default--the feature simply won't exist.
http://www.slideshare.net/thinkphp/php-53-and-php-6-a-look-ahead
On Thu, Jun 10, 2010 at 4:49 PM, Daniel Brown wrote:
> You'll still see short_open_tags,
That's good to hear. Not that we're in any rush to jump into PHP6 given that
we're only just now *close* to deploying 5.3.
> but you'll no
> longer have ASP-style tags or the little-known
Chew on this...
develo...@mypse:~$ cat ./md5test.php
#!/usr/bin/php
develo...@mypse:~$ ./md5test.php
25d55ad283aa400af464c76d713c07ad
25d55ad283aa400af464c76d713c07ad
2d05c0e3d6d22343123eae7f5678e34c
2d05c0e3d6d22343123eae7f5678e34c
develo...@mypse:~$ php -r "echo md5(strtoupper('12345678'));"
I use them ALL the time. MUCH cleaner IMHO than the alternatives.
And *IF* someday it is ever depricated, it's trival to:
s/ -Original Message-
> From: Ahmed Mohsen [mailto:mre...@gmail.com]
> Sent: Thursday, June 10, 2010 3:35 PM
> To: php-general@lists.php.net
> Subject: [PHP]
On 11/06/2010, at 12:49 PM, Daevid Vincent wrote:
> Chew on this...
>
> develo...@mypse:~$ cat ./md5test.php
> #!/usr/bin/php
> $password = '12345678';
> echo md5(strtoupper($password));
> echo "\n";
> echo md5(strtoupper('12345678'));
> echo "\n";
>
> $password = '$12345678';
> echo md5(strto
On Thu, 2010-06-10 at 17:49 -0700, Daevid Vincent wrote:
> Chew on this...
>
> develo...@mypse:~$ cat ./md5test.php
> #!/usr/bin/php
> $password = '12345678';
> echo md5(strtoupper($password));
> echo "\n";
> echo md5(strtoupper('12345678'));
> echo "\n";
>
> $password = '$12345678';
> echo md5
On Thursday 10 June 2010 11:16:08 tedd wrote:
> At 9:32 AM -0400 6/10/10, Paul M Foster wrote:
> >On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
> > > This is one of those questions that you can test very easily, just
> >>
> >> initialize an array and try it.
> >
> >+1
> >
> >This is Ted
On Thu, Jun 10, 2010 at 20:53, Daevid Vincent wrote:
> I use them ALL the time. MUCH cleaner IMHO than the alternatives.
>
> And *IF* someday it is ever depricated, it's trival to:
>
> s/
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
We
On Jun 10, 2010, at 8:53 PM, Daevid Vincent wrote:
I use them ALL the time. MUCH cleaner IMHO than the alternatives.
And *IF* someday it is ever depricated, it's trival to:
s/
-Original Message-
From: Ahmed Mohsen [mailto:mre...@gmail.com]
Sent: Thursday, June 10, 2010 3:35 P
30 matches
Mail list logo