php-windows Digest 7 Jun 2009 10:44:04 -0000 Issue 3637
Topics (messages 29384 through 29387):
Re: Secure Login PHP Class
29384 by: Michael
29385 by: Parham Doustdar
GMP not available in XAMPP and WAMP?
29386 by: Parham Doustdar
Re: Win32 snapshot builds.
29387 by: Lester Caine
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Parham Doustdar wrote:
Hi there,
I'm a beginner to PHP, and I was wondering if there is a login class that is
known to be secure. I can build one myself, but I'm not sure what the
vulnorabilities are. I've read up on more than twenty articles, tutorials, and
codes so far, but can't quite find out which one is the best -- I'm looking for
one that is recommended by a few other users.
Thanks!
Write one yourself, you'll learn more from doing it. There are some that
i can think of, but they'll likely bit a bit too involved for you
(Zend_Auth, etc.). You can post the code on php.general etc. to be
reviewed / for help.
If you're working with a framework, use that framework's.
Michael
--- End Message ---
--- Begin Message ---
Ah. Thank you. I'll do so.
--
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email: parham90 at GMail dot com
"Michael" <mich...@mjburgess.co.uk> wrote in message
news:ef.82.30300.7486a...@pb1.pair.com...
> Parham Doustdar wrote:
>> Hi there,
>> I'm a beginner to PHP, and I was wondering if there is a login class that
>> is known to be secure. I can build one myself, but I'm not sure what the
>> vulnorabilities are. I've read up on more than twenty articles,
>> tutorials, and codes so far, but can't quite find out which one is the
>> best -- I'm looking for one that is recommended by a few other users.
>> Thanks!
>
>
>
> Write one yourself, you'll learn more from doing it. There are some that i
> can think of, but they'll likely bit a bit too involved for you
> (Zend_Auth, etc.). You can post the code on php.general etc. to be
> reviewed / for help.
>
> If you're working with a framework, use that framework's.
>
>
> Michael
--- End Message ---
--- Begin Message ---
Hi there,
I was wondering whether it's something wrong on my side, or GMP is not enabled
by default on these systems. Here's my code:
[code]
<?php
$number = gmp_fact(1000);
echo gmp_strval($number);
?>
[/code]
I get:
Fatal error: Call to undefined function gmp_fact() in C:\xampp\htdocs\test.php
on line 2
If this means that it is in fact disabled, how may I enable it?
Thanks!
--
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email: parham90 at GMail dot com
--- End Message ---
--- Begin Message ---
Richard - I'm around the same place as you. I've got this building on a
Vista64 box and have been seeing the same bits ...
Richard Quadling wrote:
Hi.
The x86 Win32 snapshots haven't been built since 2009-May-07 20:00:00
(according to cache.info). (Can see no errors).
The x86 build is building a PECL package (xdebug (vc6/9) and apc (vc6)).
The x64 Win32 snapshots have a build issue also. The tail end of
http://windows.php.net/downloads/snaps/compile-5.3-VC9-x64-latest.log
shows ...
Copying php_xmlrpc.dll from x64\Release_TS to
x64\Release_TS/php-5.3.0RC3-dev/ext
Copying php_xsl.dll from x64\Release_TS to x64\Release_TS/php-5.3.0RC3-dev/ext
WARNING: distro depends on msvcr90.dll, but could not find it on your system
Just put a copy of msvcr90.dll in the vc9/x64/deps/bin directory, then
it can copy it.
WARNING: you don't have a snapshot template
your dist will not be complete
Can ignore that - snapshot template = no, so the message should probably
be hidden as well?
The question probably is - what should the file pointed to by
snapshot_template actual contain? I found this post while looking for an
answer to that ...
cd x64\Release_TS\php-5.3.0RC3-dev
zip.exe -9 -q -r ..\php-5.3.0RC3-dev-Win32-VC9-x64.zip .
cd ..\..
cd x64\Release_TS\pecl-5.3.0RC3-dev
NMAKE : fatal error U1077: 'cd' : return code '0x1'
Stop.
It seems that the main difference here is the presence of the "x64"
folder and the ..\.. does not take into account the extra level.
Do we actually have the code for the PECL packages available? As I've
not got any of that in the snapshot I'm working with ....
The tail of
http://windows.php.net/downloads/snaps/compile-5.3-VC9-x86-latest.log
shows ...
Copying php_apc.dll from Release_TS to Release_TS/pecl-5.3.0RC3-dev
Copying php_xdebug.dll from Release_TS to Release_TS/pecl-5.3.0RC3-dev
WARNING: distro depends on msvcr90.dll, but could not find it on your system
WARNING: you don't have a snapshot template
your dist will not be complete
cd Release_TS\php-5.3.0RC3-dev
zip.exe -9 -q -r ..\php-5.3.0RC3-dev-Win32-VC9-x86.zip .
cd ..\..
cd Release_TS\pecl-5.3.0RC3-dev
zip.exe -9 -q -r ..\pecl-5.3.0RC3-dev-Win32-VC9-x86.zip .
cd ..\..
cd Release_TS\php-test-pack-5.3.0RC3-dev
zip.exe -9 -q -r ..\php-test-pack-5.3.0RC3-dev.zip .
cd ..\..
cd Release_TS
zip.exe -9 -q php-debug-pack-5.3.0RC3-dev-Win32-VC9-x86.zip *.pdb
cd ..\..
No, "x64" folder.
The zips are created but not pecl package.
I'm playing with imagick at the moment, but don't have any of the bits I
need to create the PECL library - but that is probably becuase of the
original ImageMagic source I'm working with. I think I need a 'dynamic
x64' build of that :(
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--- End Message ---