php-general Digest 1 Aug 2008 18:31:15 - Issue 5601
Topics (messages 277575 through 277593):
HTTP PUT for file uploads
277575 by: mike
277577 by: Micah Gersten
277578 by: mike
PHP 5.3.0alpha1
277576 by: Lukas Kahwe Smith
Re: Back to Basics - Why Use Single
It appears that PHP can support the PUT method using php://stdin and
appropriately configuring the webserver to accept it.
My company needs a file upload solution that will support large file
uploads (2GB limit is optional - if we have to tell them less than 2GB
that's fine) that will keep
Hello!
Johannes has packed PHP 5.3.0alpha1 yesterday evening, which you can
find here:
http://downloads.php.net/johannes/
Please test it carefully, and report any bugs in the bug system, but
only if you have a short reproducable test case. The final release is
expected sometime between
Is this a repetitive thing your clients will do many times? I recently
created a backup solution using ssh keys and the pecl ssh extension to
automate backups. Then a cronjob sorts the files on the server. It's a
lot more secure than allowing PUTs.
Thank you,
Micah Gersten
onShore Networks
On 8/1/08, Micah Gersten [EMAIL PROTECTED] wrote:
Is this a repetitive thing your clients will do many times? I recently
created a backup solution using ssh keys and the pecl ssh extension to
automate backups. Then a cronjob sorts the files on the server. It's a
lot more secure than
Eric Butera wrote:
On Wed, Jul 30, 2008 at 6:51 PM, Stephen [EMAIL PROTECTED] wrote:
I have traditionally used double quotes going back to my PASCAL days.
I see many PHP examples using single quotes, and I began to adopt that
convention.
Even updating existing code.
And I broke some stuff
Hi Everyone,
I am looking at writing my own web based user forum somewhat for my
own knowledge, and because I know that I don't know enough to be able
to tie in authentication so they only need 1 user account.
Does anyone have any examples short of downloading something like
phpbb and
?php
#User authentication should not be a problem at all.
#If you want it simple just serialize a user class and write it to a
file or into a DB.
class user {
var $username;
var $pw;
function set_user($name, $pw) {
$this-pw = md5($pw);
$this-username = $name;
return true;
}
}
$new_user
So are you suggesting, create the users in the forum, and then just
serialize/unserialize when needed to store the info so when they go to
the picture upload side it queries the forum database?
On Aug 1, 2008, at 8:07 AM, Bernhard Kohl wrote:
?php
#User authentication should not be a
If I fully understood the question you were asking then no.
Since it seems you are using a database there is no need to serialize.
You can write a simple function that fetches user data from a DB query
and then creates the object.
If you are going to use sessions you will have to do that only when
The problem with that is I don't have any code to show since I'm going
to be writing it :)
Basically, it's a site where people can upload pictures to compare
with other's (Non-porn) so I need to write an authentication system
for that, but that is taken care of... Another aspect of the
?php
*# Hello Community
# Internationalisation, a topic discussed more than enough and YES, I am
looking forward to PHP6.
# But in reality I still have to develop for PHP4 and that's where the dog
is burried ^^
# We have a customer here who is running a small site, but still in five
different
On Fri, Aug 1, 2008 at 9:50 AM, Yeti [EMAIL PROTECTED] wrote:
?php
*# Hello Community
# Internationalisation, a topic discussed more than enough and YES, I am
looking forward to PHP6.
# But in reality I still have to develop for PHP4 and that's where the dog
is burried ^^
# We have a
Oh right. Doing 1 measurement only is not even worth a theory.
Well, I'm wondering how much PHP can speed that result up, since we are
calling the same function with the same parameter 1 times. Wouldn't it
be even more realistic if we called it with changing strings?
?php
$iterations =
/* snippetty */
foreach ($mb_array as $mb_string) {
strlen('œŸŒ‡Ņ');
}
/* snip */
Oh, this is supposed to be a *strlen($mb_string)*; of course
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yeti
Sent: Friday, August 01, 2008 10:58 AM
To: Andrew Ballard
Cc: PHP General list
Subject: Re: [PHP] Internationalisation and MB strings
Oh right. Doing 1 measurement only is not even worth a
On Fri, 2008-08-01 at 11:12 -0500, Boyd, Todd M. wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yeti
Sent: Friday, August 01, 2008 10:58 AM
To: Andrew Ballard
Cc: PHP General list
Subject: Re: [PHP] Internationalisation and MB strings
On Fri, Aug 1, 2008 at 9:27 AM, Jason Pruim [EMAIL PROTECTED] wrote:
The problem with that is I don't have any code to show since I'm going to be
writing it :)
Basically, it's a site where people can upload pictures to compare with
other's (Non-porn) so I need to write an authentication
On Fri, Aug 1, 2008 at 12:34 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-08-01 at 11:12 -0500, Boyd, Todd M. wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yeti
Sent: Friday, August 01, 2008 10:58 AM
To: Andrew Ballard
Cc:
On Fri, 2008-08-01 at 13:24 -0400, Andrew Ballard wrote:
On Fri, Aug 1, 2008 at 12:34 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-08-01 at 11:12 -0500, Boyd, Todd M. wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yeti
On Fri, Aug 1, 2008 at 2:30 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-08-01 at 13:24 -0400, Andrew Ballard wrote:
On Fri, Aug 1, 2008 at 12:34 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-08-01 at 11:12 -0500, Boyd, Todd M. wrote:
-Original Message-
-Original Message-
From: Andrew Ballard [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2008 2:06 PM
To: PHP General list
Subject: Re: [PHP] Internationalisation and MB strings
---8---
I didn't see the multiplication by 1000 and the above numbers don't
show
any trailing
On Fri, Aug 1, 2008 at 4:18 AM, Peter Ford [EMAIL PROTECTED] wrote:
Now *that's* a good reason... anything that means fewer \'s or \s.
I often go for HEREDOC syntax if the backslashes start taking over -
readability is much more important to me than nanoseconds of performance.
There's also
On Fri, 2008-08-01 at 15:36 -0400, Eric Butera wrote:
On Fri, Aug 1, 2008 at 4:18 AM, Peter Ford [EMAIL PROTECTED] wrote:
Now *that's* a good reason... anything that means fewer \'s or \s.
I often go for HEREDOC syntax if the backslashes start taking over -
readability is much more
I'm creating a website in php and I've noticed that many websites seem
to remember where the user is on the page, so that, for example, the
user can click on a link and go to another page, but, when the user
comes back to the original page, it is displayed so that the user is
looking at the
Rod Clay wrote:
I'm creating a website in php and I've noticed that many websites seem
to remember where the user is on the page, so that, for example, the
user can click on a link and go to another page, but, when the user
comes back to the original page, it is displayed so that the user is
Rod Clay wrote:
I'm creating a website in php and I've noticed that many websites seem
to remember where the user is on the page, so that, for example, the
user can click on a link and go to another page, but, when the user
comes back to the original page, it is displayed so that the user is
At 3:41 PM -0400 8/1/08, Robert Cummings wrote:
*lol* Yeah, I hate how HEREDOC ruins my nice formatting too.
Cheers,
Rob.
Yeah, me too.
I just slam everything full-left and then I know it's a HEREDOC.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com
At 4:24 PM -0400 8/1/08, Rod Clay wrote:
I'm creating a website in php and I've noticed that many websites
seem to remember where the user is on the page, so that, for
example, the user can click on a link and go to another page, but,
when the user comes back to the original page, it is
Does this look right?
Obviously you still want to know about production errors, so I'd like
to log them.
Development I want to see -everything- and I want it to display on the
page. The assumption is production won't have any notices as the code
should be clean and our higher priority are fixing
On Fri, 2008-08-01 at 17:30 -0700, mike wrote:
Does this look right?
Obviously you still want to know about production errors, so I'd like
to log them.
Development I want to see -everything- and I want it to display on the
page. The assumption is production won't have any notices as the
31 matches
Mail list logo