php-general Digest 15 Apr 2007 17:07:25 - Issue 4736
Topics (messages 252959 through 252968):
Re: isset
252959 by: Jochem Maas
252968 by: afan.afan.net
secure login
252960 by: Ross
252961 by: Alain Roger
252962 by: Stut
252966 by: tedd
Re:
Afan Pasalic wrote:
Jochem Maas wrote:
Richard Kurth wrote:
What do you do when isset does not work? If I send data in a
$_REQUEST['var'] like
if (isset($_REQUEST['var'])) {
}
Put var has no data it still says it is set. Because $_REQUEST['var'] =
and isset thinks is set
I am creating a single user secure login based on this:
http://www.phpnoise.com/tutorials/26/1
Can anyone see any potential security issues with this method? Where should
I store the password/username can I just have it located in the pagehead?
R.
--
PHP General Mailing List
Hi Ross,
I previously worked on this theme and the general feeling / feedback from
the mailing list was the following one :
- access to your login window, via HTTPS (SSL)
- hash you password (inspired by :
http://phpsec.org/articles/2005/password-hashing.html)
- when user is authenticated, you
Ross wrote:
I am creating a single user secure login based on this:
http://www.phpnoise.com/tutorials/26/1
Can anyone see any potential security issues with this method? Where should
I store the password/username can I just have it located in the pagehead?
I would be careful about using any
At 3:27 PM -0400 4/14/07, Robert Cummings wrote:
Statistics are easy to find:
http://www.frontpagewebmaster.com/m-281187/tm.htm#281187
Okay, so read them.
I did just before I posted the link :)
In the first post you'll find (from my old college CSUN) this:
On Sun, 2007-04-15 at 08:23 -0400, tedd wrote:
At 3:27 PM -0400 4/14/07, Robert Cummings wrote:
Statistics are easy to find:
http://www.frontpagewebmaster.com/m-281187/tm.htm#281187
Okay, so read them.
I did just before I posted the link :)
In the first post
2007. 04. 14, szombat keltezéssel 08.15-kor Afan Pasalic ezt írta:
Tijnema ! wrote:
On 4/14/07, Afan Pasalic [EMAIL PROTECTED] wrote:
hi,
this one I can't figure out:
I have to assign value of an array to variable named after key of the
array several times in my project to , e.g.
I am creating a single user secure login based on this:
http://www.phpnoise.com/tutorials/26/1
Can anyone see any potential security issues with this method? Where should
I store the password/username can I just have it located in the pagehead?
R.
Ross:
Yes, as Stut pointed out, the
In your regex, you have a greedy matcher, i.e. .* will match as much
as it can to satisfy its condition. I believe you can do .*? and it
will work, as .*? will match as little as it can to be satisfied.
-Logan
-Original Message-
From: Travis Moore [mailto:[EMAIL PROTECTED]
Sent:
Afan Pasalic wrote:
Jochem Maas wrote:
Richard Kurth wrote:
What do you do when isset does not work? If I send data in a
$_REQUEST['var'] like
if (isset($_REQUEST['var'])) {
}
Put var has no data it still says it is set. Because $_REQUEST['var']
=
and isset thinks is set
php -r '
On Sunday 15 April 2007 12:07 pm, [EMAIL PROTECTED] wrote:
of course it's your call whether you write/run code that spits out
E_NOTICEs all over the place due to usage of uninitialized vars.
not quite sure. if $_GET['var'] doesn't exists it's DEFINITLY not equal to
'foo', right?
how I
how I understand:
clause one: isset($_GET['var'])
clause two: ($_GET['var'] == 'foo')
if clause two is true, clause one MUST be true.
if clause one is true, clause two could be true or false.
means, if I look for solutions where ($_GET['var'] == 'foo') they wil
lautomaticaly cover
I have said I would host a couple of friends CV's as a web page,here's the
situation I'd like to set it up so that it can updated it via a simple
form.I've googled the subject a fair bit and all I can come up with is big
full solutions when I only need a simple form and say a flat file
I want to sort directories according there modification time and thought
accociative arrays would be perfect. But when I add an element like
$dirs = array (filemtime($d) = $d)
the previous ones are lost. I tried array_push but that doesn't seems to
work, at least I always get syntax errors.
Tijnema ! wrote:
*ROFLMFAO*...Did you actually try google for json.php?
Second result:
http://mike.teczno.com/JSON/JSON.phps
This doesn't have a json_encode but needs a $json object which then
could be used as $json-encode(...). Thanks anyway.
O. Wyss
--
PHP General Mailing List
2007. 04. 15, vasárnap keltezéssel 21.20-kor Otto Wyss ezt írta:
I want to sort directories according there modification time and thought
accociative arrays would be perfect. But when I add an element like
$dirs = array (filemtime($d) = $d)
why not simply
$dirs[] = array (filemtime($d) =
Satyam wrote:
www.json.org lists all json resources in any language you care to think of.
I must admit I haven't checked each reference but the ones I have have
only packages to install and not a PHP source. Maybe I wasn't clear when
asking.
O. Wyss
--
PHP General Mailing List
2007. 04. 15, vasárnap keltezéssel 21.20-kor Otto Wyss ezt írta:
I want to sort directories according there modification time and thought
accociative arrays would be perfect. But when I add an element like
$dirs = array (filemtime($d) = $d)
(sorry the previous one is incorrect, I
On Sun, 2007-04-15 at 20:36 +0100, Alister Bulman wrote:
On 15/04/07, Zoltán Németh [EMAIL PROTECTED] wrote:
2007. 04. 15, vasárnap keltezéssel 21.20-kor Otto Wyss ezt írta:
I want to sort directories according there modification time and thought
accociative arrays would be perfect. But
On 15/04/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Sun, 2007-04-15 at 20:36 +0100, Alister Bulman wrote:
On 15/04/07, Zoltán Németh [EMAIL PROTECTED] wrote:
2007. 04. 15, vasárnap keltezéssel 21.20-kor Otto Wyss ezt írta:
I want to sort directories according there modification time
On Sunday 15 April 2007 20:56, Joker7 wrote:
I have said I would host a couple of friends CV's as a web page,here's the
situation I'd like to set it up so that it can updated it via a simple
form.I've googled the subject a fair bit and all I can come up with is big
full solutions when I only
Richard Lynch wrote:
On Fri, April 13, 2007 12:54 am, Arthur Erdös wrote:
It can if you're trying to process a borked image...
I've had imagecreatefromjpeg() eat memory up to almost 50x the size
of
the image before finally deciding it can't handle it and crapping
out.
That was *after* running
I'm building a website right now that will be a database of attractions in
the Carolina and Virginia area.
The idea is that attraction owners can submit data to the database and the
database will automatically generate a page containing that information.
What I'm trying to figure out is how to
What you're looking for is basically what PHP is all about. Just read
any PHP MySQL book and you'll find whatever you need.
On 4/15/07, Jeremy Adams [EMAIL PROTECTED] wrote:
I'm building a website right now that will be a database of attractions in
the Carolina and Virginia area.
The idea is
25 matches
Mail list logo