php-general Digest 7 Jul 2009 09:21:04 - Issue 6216
Topics (messages 294974 through 294990):
Re: Simple login form with cookies
294974 by: Jason Carson
Re: How to authnticate and use contents from ${HOME}
294975 by: Isaac Dover
Re: best way to properly build an include
and throw your favorite Linux distro on it
(I'm not touching that holy war with a 10' eth0 cord)
I'll touch it.
It shouldn't be Fedora - Fedora has too short of a lifetime before major
version update is necessary to get patches. The main advantages of
Fedora are how new and shiny the
Govinda wrote:
I want something that will work for calling an include from any file
that
lives n levels deep.
That's where you have to define a variable (or constant) that
tells the system where the web root is located, and then use that to
determine where you are in relation to that. For
Stuart wrote:
2009/7/6 John Allsopp j...@johnallsopp.co.uk:
David Robley wrote:
John Allsopp wrote:
Hi
At the top of a webpage I have:
?php
include_once(furniture.php);
$myFurniture = new furniture();
echo $myFurniture-getTop(my company title);
?
to deliver the first lines
Hi all. I realize this question has been asked before and I've found responses
in the archive, but none of the links work now, or the files they point to are
old or unsuitable.
I'd like to print the most recent PHP manual to paper, so I need it in a format
that's suitable. I've downloaded it
On 7/7/09 1:23 AM, Jeff Weinberger j...@jeffweinberger.com wrote:
On Jul 6, 2009, at 7:47 PM, Paul M Foster wrote:
On Mon, Jul 06, 2009 at 02:16:09PM -0700, Jeff Weinberger wrote:
Hi:
I am hoping someone can help me figure this out
I've just upgraded my PHP installation to 5.3.0.
2009/7/6 Jeff Weinberger j...@jeffweinberger.com:
Hi:
I am hoping someone can help me figure this out
I've just upgraded my PHP installation to 5.3.0. Now I am receiving
thousands of log messages of the form PHP Deprecated:
I know I have a number of scripts that use now-deprecated
2009/7/7 Angus Mann angusm...@pobox.com:
Hi all. I realize this question has been asked before and I've found
responses in the archive, but none of the links work now, or the files they
point to are old or unsuitable.
I'd like to print the most recent PHP manual to paper, so I need it in a
At 1:15 PM +0100 7/6/09, Matthew Croud wrote:
Hi,
I'm going to start my first e commerce website for a small web shoe store.
I think I know enough PHP to keep my head above water, I'm using an
add on shopping cart package to deal with the transactions.
My question is, what's the best way to
On Jul 7, 2009, at 5:50 AM, Richard Quadling wrote:
2009/7/6 Jeff Weinberger j...@jeffweinberger.com:
Hi:
I am hoping someone can help me figure this out
I've just upgraded my PHP installation to 5.3.0. Now I am receiving
thousands of log messages of the form PHP Deprecated:
I know
PJ wrote:
Jason Carson wrote:
On Mon, Jul 6, 2009 at 02:19, Jason Carsonja...@jasoncarson.ca wrote:
ok, I have two sets of scripts here. One uses setcookie() for logging
into
the admin panel and the other uses session_start(). Both are working
fine,
is one more secure than
On Tue, Jul 7, 2009 at 11:03, Jeff Weinbergerj...@jeffweinberger.com wrote:
This seemed like it would be the perfect solution...but alas it did not
work. 22527 seems right, but after changing php.ini to that and restarting
php and apache, I am still getting Deprecated... messages.
Dumb
On Jul 7, 2009, at 8:38 AM, Daniel Brown wrote:
On Tue, Jul 7, 2009 at 11:03, Jeff
Weinbergerj...@jeffweinberger.com wrote:
This seemed like it would be the perfect solution...but alas it did
not
work. 22527 seems right, but after changing php.ini to that and
restarting
php and apache,
2009/7/4 tedd t...@sperling.com
So, if you're having problems with Safari 4.0 on Mac OSX uploading files,
you're not alone.
s/uploading files// ;)
To make this posting useful: The thing might be related to this Bug
http://www.webmasterworld.com/macintosh_webmaster/3300569.htm
But, since
On 7/7/09 11:38 AM, Daniel Brown danbr...@php.net wrote:
On Tue, Jul 7, 2009 at 11:03, Jeff Weinbergerj...@jeffweinberger.com wrote:
This seemed like it would be the perfect solution...but alas it did not
work. 22527 seems right, but after changing php.ini to that and restarting
php and
2009/7/6 Isaac Dover isaacdo...@gmail.com
Hi Chantale, as Bastien mentioned, a preconfigured package might be the
best
way to go. Wikipedia has more information:
http://en.wikipedia.org/wiki/List_of_LAMP_Packages
What are you wanting to build in your interface?
- Isaac
On Mon, Jul 6,
On 7/7/09 12:17 PM, Jeff Weinberger j...@jeffweinberger.com wrote:
On Jul 7, 2009, at 8:38 AM, Daniel Brown wrote:
On Tue, Jul 7, 2009 at 11:03, Jeff
Weinbergerj...@jeffweinberger.com wrote:
This seemed like it would be the perfect solution...but alas it did
not
work. 22527 seems right,
Richard Quadling wrote:
$ pecl install haru
[...]
$ phd -f pdf -t phppdf -d .manual.xml
I installed haru, yet when I try the phd command, I get a class
'HaruDoc' not found error :( Has this happened to anyone else?
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Jul 7, 2009, at 12:30 PM, Tom Worster wrote:
On 7/7/09 12:17 PM, Jeff Weinberger j...@jeffweinberger.com wrote:
On Jul 7, 2009, at 8:38 AM, Daniel Brown wrote:
On Tue, Jul 7, 2009 at 11:03, Jeff
Weinbergerj...@jeffweinberger.com wrote:
This seemed like it would be the perfect
On Tue, Jul 7, 2009 at 17:46, Jeff Weinbergerj...@jeffweinberger.com wrote:
One question - that I for some reason have not found - is there a list of
the numerical values of the E_* constants somewhere?
You bet: http://php.net/manual/en/errorfunc.constants.php
--
/Daniel P. Brown
PHP may not be the thing to do this.. because it sounds like you want
the users to chroot to ${HOME} which php especially on a vhost does not do.
If you want users to access an nfs or ftp I would use either samba or
vsftp or some other scp/ftp software.
Jan G.B. wrote:
2009/7/6 Isaac Dover
The basic model for password authentication is to use one way crypt
routines. MySql has several, PHP also has them. The basic algorithm
would be like this:
1) read the password from the form.
2) read the password from you datastore that matches the user name or
session
3) encrypt the password on
Carl Furst wrote:
The basic model for password authentication is to use one way crypt
routines. MySql has several, PHP also has them. The basic algorithm
would be like this:
1) read the password from the form.
2) read the password from you datastore that matches the user name or
session
3)
These are great ideas.
Another option would be to have the user choose a pin number and use
either the literal pin or the encrypted pin as part of the salt. This
way only when you change the pin do you need to change the password,
which is probably what you would want anyway.
Michael A. Peters
Carl Furst wrote:
?
$salt = 'someglobalsaltstring'; # the salt should be the same salt used
when storing passwords to your database otherwise it won't work
$passwd = crypt($_GET['passwd'], $salt);
I personally use the username and the salt.
That way two users with identical passwords have
25 matches
Mail list logo