On 3/22/07, Jeff <[EMAIL PROTECTED]> wrote:
I want to thank you all for clearing me up on setting the register_globals
to ON issue!! I have refrained from doing so and my code is running great
with the $_GET.
I am having NO trouble passing my "single" variable to the next page using..
echo "Edi
On 3/22/07, Jake McHenry <[EMAIL PROTECTED]> wrote:
Hi everyone,
I just got done going through all my configure options for php5, and finally
configure finished successfully... I didn't install it yet, have a question.
Can I have both 4 and 5 installed temporarily until I'm sure all my scripts
w
# markw@mohawksoft.com / 2007-03-20 23:44:48 -0400:
> I want to write another PHP extension, for no real reason, I've written a
> few and just want to keep up to date.
>
> What sort of API would you like to see?
dup(2)
--
How many Vietnam vets does it take to screw in a light bulb?
You don't kn
# [EMAIL PROTECTED] / 2007-03-21 21:03:35 -0500:
> Mark wrote:
> >[EMAIL PROTECTED] wrote:
> >
> >>Hello,
> >>
> >>I want to add a random unique ID to a Mysql table. Collisions
> >>are unlikely but possible so to handle those cases I'd like to
> >>regenerate the random ID until there is no collisi
On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
# [EMAIL PROTECTED] / 2007-03-21 21:03:35 -0500:
> Mark wrote:
> >[EMAIL PROTECTED] wrote:
> >
> >>Hello,
> >>
> >>I want to add a random unique ID to a Mysql table. Collisions
> >>are unlikely but possible so to handle those cases I'd like
alternatively you can search for 'Rasmus' and 'ProxyPass' in the list
archive and use Rasmus' rather cool ProxyPass solution to running both
php4 and php5 ... his explanation should give you enough info to set it up.
Tijnema ! wrote:
> On 3/22/07, Jake McHenry <[EMAIL PROTECTED]> wrote:
>> Hi ever
Dear All,
I would like to make a script to upload a jpg filewith php to a server; then
make a thumb; save if for later use. And store the path to the image in a
database to display it later. But what is the best practice to do this on a
relatively low traffic website?
I dont know where to begi
On 3/22/07, Dwayne Heronimo <[EMAIL PROTECTED]> wrote:
Dear All,
I would like to make a script to upload a jpg filewith php to a server; then
make a thumb; save if for later use. And store the path to the image in a
database to display it later. But what is the best practice to do this on a
rela
Option one is much better.
--
Shafiq Rehman (ZCE)
http://phpgurru.com | http://shafiq.pk
On 3/22/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
On 3/22/07, Dwayne Heronimo <[EMAIL PROTECTED]> wrote:
> Dear All,
>
> I would like to make a script to upload a jpg filewith php to a server;
then
> make a
Since you're new to this, always be sure to clean up the output you get from
$_GET or $_POST to avoid sql injection.
Fore example: $search_value = htmlentities($_GET['search_value'],
ENT_QUOTES);
If you're casting to something other than a string (such as int) than you're
safe and you don't have t
thx for the input. I was afraid that it would be option 1 because it is more
complex.
I will start googling. ;)
Thx
""Shafiq Rehman"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Option one is much better.
>
> --
> Shafiq Rehman (ZCE)
> http://phpgurru.com | http://shafiq.pk
>
I must configure a site to not use cookie at all.
so i have made a directive in the .htaccess file
to disable cookie and use only trans id:
php_flag session.use_cookies 0
php_flag session.use_trans_sid 1
i have a big problem with form with method post.
the php correclty add the hidden sessio
2007. 03. 22, csütörtök keltezéssel 12.48-kor Dwayne Heronimo ezt írta:
> thx for the input. I was afraid that it would be option 1 because it is more
> complex.
why would resizing and then storing it be more complex than resizing and
then displaying it?
greets
Zoltán Németh
> I will start goog
Tijnema ! wrote:
> On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
>> # [EMAIL PROTECTED] / 2007-03-21 21:03:35 -0500:
>> > Mark wrote:
>> > >[EMAIL PROTECTED] wrote:
>> > >
>> > >>Hello,
>> > >>
>> > >>I want to add a random unique ID to a Mysql table. Collisions
>> > >>are unlikely but p
Sorry about the delivery and read requests.. I was tired and forgot to turn
them off for the list..
> alternatively you can search for 'Rasmus' and 'ProxyPass' in the list
> archive and use Rasmus' rather cool ProxyPass solution to running both
> php4 and php5 ... his explanation should give
Jake McHenry wrote:
> Sorry about the delivery and read requests.. I was tired and forgot to turn
> them off for the list..
>
>> alternatively you can search for 'Rasmus' and 'ProxyPass' in the list
>> archive and use Rasmus' rather cool ProxyPass solution to running both
>> php4 and php5 ...
Myron Turner wrote:
> Jochem Maas wrote:
>> I would have made a similar comment - but I have soap stuck between my
>> teeth atm :-P
>>
> Just use a little of that saliva that you've been wasting on spitballs. ;-)
ok - I'm all soaped up now - I'll try a be nicer in future.
the general point sta
I don't want 2 instances of apache running, your over thinking this... I
only asked if I need to change only the prefix, or if there is anything
else, to get both php versions installed. Once I see my scripts are working
ok, or not, I'll be getting rid of php4. I'm not running a dev machine, this
# markw@mohawksoft.com / 2007-03-22 08:49:59 -0400:
> Tijnema ! wrote:
>
> > On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
> >>
> >> http://www.ossp.org/pkg/lib/uuid
> >
> > Note that this doesn't gonna work when safe mode is on..!
Ralf S. Engelschall's OSSP UUID library wrapped in a P
On 3/22/07, Jake McHenry <[EMAIL PROTECTED]> wrote:
I don't want 2 instances of apache running, your over thinking this... I
only asked if I need to change only the prefix, or if there is anything
else, to get both php versions installed. Once I see my scripts are working
ok, or not, I'll be get
On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
# markw@mohawksoft.com / 2007-03-22 08:49:59 -0400:
> Tijnema ! wrote:
>
> > On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
> >>
> >> http://www.ossp.org/pkg/lib/uuid
> >
> > Note that this doesn't gonna work when safe mode is on..!
On Mar 21, 2007, at 7:14 PM, Chris wrote:
Erik Jones wrote:
That's not true, running with v. 5.2.1:
Outputs:
works
On Mar 21, 2007, at 8:06 AM, itoctopus wrote:
They're basically the same thing, however, you can only use
__construct in
PHP5.
He meant that __construct() doesn't work in php
At 11:18 AM -0600 3/21/07, [EMAIL PROTECTED] wrote:
Hello,
I want to add a random unique ID to a Mysql table. Collisions
are unlikely but possible so to handle those cases I'd like to
regenerate the random ID until there is no collision and only
then add my row. Any suggestions for a newbie as
2007. 03. 22, csütörtök keltezéssel 11.24-kor tedd ezt írta:
> At 11:18 AM -0600 3/21/07, [EMAIL PROTECTED] wrote:
> >Hello,
> >I want to add a random unique ID to a Mysql table. Collisions
> >are unlikely but possible so to handle those cases I'd like to
> >regenerate the random ID until there is
Ave,
I¹m not sure if anyone here is going to be able to help, but I¹ve run into a
permissions snag.
I have Apache Web Server running on Mac OS X with PHP. I have a folder on a
windows machine mounted on my Mac OS X as a share using the ³mount t smbfs
//[EMAIL PROTECTED]/ShareName Share².
The ³us
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
Ave,
I¹m not sure if anyone here is going to be able to help, but I¹ve run into a
permissions snag.
I have Apache Web Server running on Mac OS X with PHP. I have a folder on a
windows machine mounted on my Mac OS X as a share using the
At 4:28 PM +0100 3/22/07, Németh Zoltán wrote:
2007. 03. 22, csütörtök keltezéssel 11.24-kor tedd ezt írta:
At 11:18 AM -0600 3/21/07, [EMAIL PROTECTED] wrote:
>Hello,
>I want to add a random unique ID to a Mysql table. Collisions
>are unlikely but possible so to handle those cases I'd like
2007. 03. 22, csütörtök keltezéssel 11.42-kor tedd ezt írta:
> At 4:28 PM +0100 3/22/07, Németh Zoltán wrote:
> >2007. 03. 22, csütörtök keltezéssel 11.24-kor tedd ezt írta:
> >> At 11:18 AM -0600 3/21/07, [EMAIL PROTECTED] wrote:
> >> >Hello,
> >> >I want to add a random unique ID to a Mysql ta
rahul:~/Documents/XFER rjohari$ ls -la osm
total 26548
drwxr-xr-x 1 rjohari rjohari16384 31 Dec 1969 .
drwxr-xr-x 5 rjohari rjohari 170 22 Mar 12:08 ..
-rwxr-xr-x 1 rjohari rjohari21508 13 Sep 2006 .DS_Store
-rwxr-xr-x 1 rjohari rjohari 82 14 Sep 2006 ._Temporary Items
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
rahul:~/Documents/XFER rjohari$ ls -la osm
total 26548
drwxr-xr-x 1 rjohari rjohari16384 31 Dec 1969 .
drwxr-xr-x 5 rjohari rjohari 170 22 Mar 12:08 ..
-rwxr-xr-x 1 rjohari rjohari21508 13 Sep 2006 .DS_Store
[snip]
> On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
>> # markw@mohawksoft.com / 2007-03-22 08:49:59 -0400:
>> > Tijnema ! wrote:
>> >
>> > > On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
>> > >>
>> > >> http://www.ossp.org/pkg/lib/uuid
>> > >
>> > > Note that this doesn't gonna work w
On 3/22/07, markw@mohawksoft.com wrote:
> On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
>> # markw@mohawksoft.com / 2007-03-22 08:49:59 -0400:
>> > Tijnema ! wrote:
>> >
>> > > On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
>> > >>
>> > >> http://www.ossp.org/pkg/lib/uuid
>> > >
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
Ave,
"Or make sure the user apache runs on has write access to the share."
That's the problem I'm facing. I'm not sure how to do that. If I'm not
mistaken, Apache runs as user "nobody" on my Mac, but I don't know how to
give that user
Ave,
"Or make sure the user apache runs on has write access to the share."
That's the problem I'm facing. I'm not sure how to do that. If I'm not
mistaken, Apache runs as user "nobody" on my Mac, but I don't know how to
give that user write access on the Windows Machine.
Yes, it is quite compli
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
Well chmod is certainly not doing anything. I tried that to begin with. I
don't get an error, but it doesn't change any permissions. Just doesn't do
anything to the permissions of the file/folder. Like it's just ignored.
I did it as ro
Ave,
Certainly looks very promising, but is giving me:
mount_smbfs: -o fmask=: option not supported
Let me google it too, see what I can come up with. Appreciate it a lot mate.
On 3/22/07 12:48 PM, "Tijnema !" <[EMAIL PROTECTED]> wrote:
> On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> w
At 4:53 PM +0100 3/22/07, Németh Zoltán wrote:
2007. 03. 22, csütörtök keltezéssel 11.42-kor tedd ezt írta:
> As for efficiency, that's probably not even worth mentioning in this case.
why not? you would use 2 sql queries while I would use one most of the
time and 2 in case of already reserved
When dealing with large numbers inside of php, I know at the int limit, a
variable is recast into float.
1). How do you return the true number of the float when it reaches the upper
limits of mysql's bigint (9223372036854775807).
2). How do you handle numbers that large, while maintaining p
When dealing with large numbers inside of php, I know at the int limit, a
variable is recast into float.
1). How do you return the true number of the float when it reaches the upper
limits of mysql's bigint (9223372036854775807).
2). How do you handle numbers that large, while maintaining p
Well chmod is certainly not doing anything. I tried that to begin with. I
don't get an error, but it doesn't change any permissions. Just doesn't do
anything to the permissions of the file/folder. Like it's just ignored.
I did it as root using sudo.
On 3/22/07 12:18 PM, "Tijnema !" <[EMAIL PROT
Tijnema ! wrote:
> On 3/22/07, markw@mohawksoft.com wrote:
>> > On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
>> >> # markw@mohawksoft.com / 2007-03-22 08:49:59 -0400:
>> >> > Tijnema ! wrote:
>> >> >
>> >> > > On 3/22/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
>> >> > >>
>> >> > >>
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
Ave,
Certainly looks very promising, but is giving me:
mount_smbfs: -o fmask=: option not supported
Let me google it too, see what I can come up with. Appreciate it a lot mate.
Hmm, i googled a little bit, and i found a norwegian sit
Yes, it does appear that samba on mac os x is not taking any configuration
options. I tried different options for the mount_smbfs command which does
have very specific user/owner/group related permissions options - but all
give me the same "operation not supported" error.
Let me take a closer loo
On 3/22/07, Matt Carlson <[EMAIL PROTECTED]> wrote:
When dealing with large numbers inside of php, I know at the int limit, a
variable is recast into float.
1). How do you return the true number of the float when it reaches the upper
limits of mysql's bigint (9223372036854775807).
2). How
hey dudes,
i want to know that which books are good to read before ZCE exam.
I have read php 5 and php 4 study guides and php 4 practice tests. I have
also read php|architect's guide to php security and bought a 10 slot sample
exam. What else do you suggest?
cheers,
Danial
Get a copy of WinSCP3 or FileZilla ftp utilities, both are free. They will show
you who the owner is for the dirs and files. You can also use a SSH shell
command; but, unless you are already familiar with Unix commands, using the
utilities will be a lot easier and quicker.
To change a file o
Jake McHenry wrote:
> I don't want 2 instances of apache running, your over thinking this... I
whatever, I guess we have different opinions about trying to do things
'properly'.
> only asked if I need to change only the prefix, or if there is anything
> else, to get both php versions installe
On 3/22/07, Al <[EMAIL PROTECTED]> wrote:
Get a copy of WinSCP3 or FileZilla ftp utilities, both are free. They will show
you who the owner is for the dirs and files. You can also use a SSH shell
command; but, unless you are already familiar with Unix commands, using the
utilities will be a lot
Matt Carlson wrote:
> When dealing with large numbers inside of php, I know at the int limit, a
> variable is recast into float.
>
>
>
> 1). How do you return the true number of the float when it reaches the upper
> limits of mysql's bigint (9223372036854775807).
I can't see how that is poss
Ave,
> But i think that when remounting the partitition, the permissions are reset
too.
Unfortunately you're absolutely right! The share is re-mounted on a daily
basis (along with a reboot), and thus, even if the 'copy, delete from
server, copy to server' process were to work, with every unmount
itoctopus wrote:
>Since you're new to this, always be sure to clean up the output you get from
>$_GET or $_POST to avoid sql injection.
>
>Fore example: $search_value = htmlentities($_GET['search_value'],
>ENT_QUOTES);
>If you're casting to something other than a string (such as int) than you're
>
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
Ave,
> But i think that when remounting the partitition, the permissions are reset
too.
Unfortunately you're absolutely right! The share is re-mounted on a daily
basis (along with a reboot), and thus, even if the 'copy, delete from
ser
On 3/22/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
Matt Carlson wrote:
> When dealing with large numbers inside of php, I know at the int limit, a
variable is recast into float.
>
>
>
> 1). How do you return the true number of the float when it reaches the upper
limits of mysql's bigint (92233
although you should be filtering input in order to
avoid sql injection cross-site-scripting and other related nasties
you shouldn't be using htmlentities() in order to protect
against sql injection.
filter the incoming data, e.g.:
$a = intval($_GET['a']); // you want only integers
$a = floatval($
Tijnema ! wrote:
> On 3/22/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
>> Matt Carlson wrote:
>> > When dealing with large numbers inside of php, I know at the int
>> limit, a variable is recast into float.
>> >
>> >
>> >
>> > 1). How do you return the true number of the float when it reaches
>> th
Hi all! This is my first posting to the PHP-General mailing list so please
bear with me J
I have a couple of files that I would like to allow folks to download via a
php script that acts as a download tracker and counter. Basically I want
to:
1) Allow the downloads of said files.
2)
...
> If I don't agree with murder being illegal does that make it right that
> I do it? Of course not, because people smarter than me decided that it
> should be. (Please note that this does not represent my opinion and is
> only being used as an extreme example).
>
> -Stut
>
> Jochem: I think
2007. 03. 22, csütörtök keltezéssel 12.58-kor tedd ezt írta:
> At 4:53 PM +0100 3/22/07, Németh Zoltán wrote:
> >2007. 03. 22, csütörtök keltezéssel 11.42-kor tedd ezt írta:
> >
> > > As for efficiency, that's probably not even worth mentioning in this
> > case.
> >
> >why not? you would use 2 sq
Hi,
Does somebody has benchmarks of what is faster, while or for loop?
Thanks,
Tijnema
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear All,
I was wondering if there are any major date function changes between php4 and
5.
When I say date function I mean mktime() , date() ,strtotime() etc.
Here is my dilemma, I've upgraded from php4 to php5. there is some very old
legacy code that is not working correctly.
Specifically o
Ave,
I can't believe I'm saying this, but SOLVED it!
Took me about 6 hours, and this one website, with this one little snippet in
one corner of a black & white page on the ENTIRE Internet gave me a solution
with this guy who had the same problem - and he wrote "fixed it for me, hope
it helps some
does this help?
http://www.php.lt/benchmark/phpbench.php
Jake
> -Original Message-
> From: Tijnema ! [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 22, 2007 4:38 PM
> To: PHP
> Subject: [PHP] Performance: While or For loop
>
> Hi,
>
> Does somebody has benchmarks of what is fast
On 3/22/07, Jake McHenry <[EMAIL PROTECTED]> wrote:
does this help?
http://www.php.lt/benchmark/phpbench.php
Jake
Well, there wasn't a test between For and While, so i did it myself,
and i'm quite confused about the result.
I let PHP count from 0 to 1 on my 1ghz AMD Athlon.
While did
On 3/22/07, Jon Anderson <[EMAIL PROTECTED]> wrote:
Your test isn't exactly fair. The for loop has no statements in it, and
the while loop has one. Your tests show while as approx 7% faster, while
a modified test shows an approximate 30% speed improvement:
Do this:
for ($i=0;$i<1000;$i++) {
I built a CMS that lets a super user create and manage basic users
(among lots of other things). I want basic users to get an FTP account
that is automatically associated with their website user account, and
managed from my add/edit user form. For example if I create a user
named [EMAIL PROTECTED]
On 3/22/07, PHP Fusebox <[EMAIL PROTECTED]> wrote:
I built a CMS that lets a super user create and manage basic users
(among lots of other things). I want basic users to get an FTP account
that is automatically associated with their website user account, and
managed from my add/edit user form. Fo
[EMAIL PROTECTED] wrote:
> Hello,
>
> I want to add a random unique ID to a Mysql table. Collisions
> are unlikely but possible so to handle those cases I'd like to
> regenerate the random ID until there is no collision and only
> then add my row. Any suggestions for a newbie as to the right
>
>
> On 3/22/07, PHP Fusebox <[EMAIL PROTECTED]> wrote:
> > I built a CMS that lets a super user create and manage basic users
> > (among lots of other things). I want basic users to get an
> FTP account
> > that is automatically associated with their website user
> account, and
> > managed from
I'll think about it.. We only use php for intranet applications I create,
so the server is basically dead at nights, which is when I do most of my
work.
>
> Jake McHenry wrote:
> > I don't want 2 instances of apache running, your over
> thinking this... I
>
> whatever, I guess we have d
Tijnema ! wrote:
On 3/22/07, Jeff <[EMAIL PROTECTED]> wrote:
I want to thank you all for clearing me up on setting the
register_globals
to ON issue!! I have refrained from doing so and my code is running great
with the $_GET.
I am having NO trouble passing my "single" variable to the next page
Jochem Maas wrote:
Jake McHenry wrote:
I don't need them running parallel, only both installed
I think you missed the point. you would have 2 apaches running, that is correct
but the trick is to set it up so that they use the same document roots
for each site that you are trying to con
Paul Nowosielski wrote:
Dear All,
I was wondering if there are any major date function changes between php4 and
5.
I don't think so but check the docs:
http://www.php.net/manual/en/faq.migration5.php
When I say date function I mean mktime() , date() ,strtotime() etc.
Here is my dilemma,
I was going to say the same thing, but was too busy to worry about it
> -Original Message-
> From: Chris [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 22, 2007 7:14 PM
> To: Tijnema !
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Passing variables
>
> Tijnema ! wrote:
> > On
I just asked this a bit ago. Time and Date seem to be the same, but
strtotime is definitly different, as that was what broke in my script in
php4, and I was told it worked as expected in php5.
> -Original Message-
> From: Chris [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 22, 2007
Travis Doherty wrote:
> By default the session cookie expires when the browseris closed.
this is not always true: f.e. FF requires *all* open windows to be closed to
forget that session.
>If the browser refuses the cookie, sessions won't work anyway.
again: this is not always true. Only if "se
Also, on a daily basis last week after a windows update glitch... I had to
kill rogue IE processes after it was closed, which I found kept some of my
users logged in, which was fun...
>
> Travis Doherty wrote:
> > By default the session cookie expires when the browseris closed.
> this is not alwa
Rahul Sitaram Johari wrote:
Ave,
I¹m not sure if anyone here is going to be able to help, but I¹ve run into a
permissions snag.
I have Apache Web Server running on Mac OS X with PHP. I have a folder on a
windows machine mounted on my Mac OS X as a share using the ³mount t smbfs
//[EMAIL PROTECT
Hi everyone,
I decided I would spend the extra time and install separate copies of apache
and php5. All went successfully, I thought. Apache starts and runs on 8080,
I get pages. But not php pages. I added a php.conf file which is included in
httpd.conf, I just copied the layout of the rest of the
In my index.php file, I have this:
HTML Hello World
I get the HTML Hello World output, but not the php? So the
conf/extra/php.conf file is somewhat being included, but I'm not getting any
output And now there is a 200 entry in the log file. So with just php,
I get a 304, with html I get
I got it working... During the php install, it modified httpd.conf with
this: LoadModule php5_modulemodules/libphp5.so .. And I moved
that to my php.conf as it was in apache2 with php4, but it doesn't work in
the newest version of apache that I downloaded.. They must have changed it
so
On Thu, March 22, 2007 2:33 pm, Tijnema ! wrote:
>> > 2). How do you handle numbers that large, while maintaining
>> precision.
>>
>> keep them as strings - and/or use a 64bit machine?
>
> a 64bit machine would make the number larger, not unlimited :)
Even GMP (or BC) isn't unlimited...
It's jus
Juergen Wind wrote:
>Travis Doherty wrote:
>
>
>>By default the session cookie expires when the browseris closed.
>>
>>
>this is not always true: f.e. FF requires *all* open windows to be closed to
>forget that session.
>
>
Personally I think this does make sense. I fully expect the brows
Tijnema ! wrote:
> On 3/22/07, Jon Anderson <[EMAIL PROTECTED]> wrote:
>
>> Your test isn't exactly fair. The for loop has no statements in it, and
>> the while loop has one. Your tests show while as approx 7% faster, while
>> a modified test shows an approximate 30% speed improvement:
>>
>> Do th
PHP Fusebox wrote:
> I built a CMS that lets a super user create and manage basic users
> (among lots of other things). I want basic users to get an FTP account
> that is automatically associated with their website user account, and
> managed from my add/edit user form. For example if I create a u
On Fri, Mar 23, 2007 at 12:24:45AM -0500, Travis Doherty wrote:
> After multiple runs I see that the for pre-increment loop is fastest.
> Note that the while loop with a post-increment runs once more than with
> a pre-increment.
>
> Everytime I run, the results are *very* different, though still
85 matches
Mail list logo