DEV_RANDOM? #morbidcuriosity
-nathan
On Fri, May 31, 2013 at 12:40 AM, Nathan Nobbe wrote:
> Hi folks,
>
> This code:
>
> $iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256,
> MCRYPT_MODE_CBC), MCRYPT_DEV_RANDOM);
> var_dump($iv);
>
> Takes just over a m
Hi folks,
This code:
used the SAML one, so YMMV.
-nathan
bash-3.2$ ls -1 modules/
InfoCard
adfs
aggregator
aggregator2
aselect
authX509
authYubiKey
authcrypt
authfacebook
authlinkedin
authmyspace
authorize
authtwitter
authwindowslive
autotest
cas
casserver
cdc
consent
consentAdmin
consentSimpleAdmin
core
cron
discop
On Fri, Dec 21, 2012 at 4:10 PM, Nathan Nobbe wrote:
>
>
> On Fri, Dec 21, 2012 at 3:27 PM, Jim Giner
> wrote:
>
>> On 12/21/2012 5:16 PM, Tedd Sperling wrote:
>>
>>> On Dec 21, 2012, at 4:58 PM, Jim Giner
>>> wrote:
>>>
>>>>
&g
gt;>
>> From what I do know, there shouldn't be an a[4].
> In any case, let's assume that there is a bug in the string logic that
> you're using. Why not just use substr?
>
> $topic = substr($topic,0,-1);
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Neat idea Tedd, but judging by a quick test, I don't think changing the
value of the string is entirely supported though that notation.
php > $str = 'blah';
php > $str[3] = '';
php > echo $str . PHP_EOL;
bla
php > echo strlen($str);
4
-nathan
using a syntax error.
>
> How do I retrieve the value of this variable and over come the “minus”
> sign that is really a hyphen?
>
php > ${distributor-42-2} = 5;
php > echo ${distributor-42-2};
5
I think that's it.
-nathan
;);
>
> $query = $db->prepare("SELECT id, title, date FROM bloggen ORDER BY date
> DESC LIMIT 0,5");
> if (!$query) {die("Execute query error, because: " . $db->errorInfo());}
>
That looks like you've not connected to the database successfully inside of
db.php.
-nathan
avior could be implemented.
Your feedback appreciated,
-nathan
On Thu, Jul 12, 2012 at 9:23 PM, Nathan Nobbe wrote:
> On Thu, Jul 12, 2012 at 8:38 PM, Tommy Pham wrote:
>
>> On Thu, Jul 12, 2012 at 7:19 PM, Nathan Nobbe
>> wrote:
>> > Hi all,
>> >
>> > Strangely PHP seems to let each class have its own layer
On Thu, Jul 12, 2012 at 8:38 PM, Tommy Pham wrote:
> On Thu, Jul 12, 2012 at 7:19 PM, Nathan Nobbe
> wrote:
> > Hi all,
> >
> > Strangely PHP seems to let each class have its own layer of private scope
> > for member variables. If a subclass defines a member vari
method A::tryToCallMeFromB() from context
'B'
so why the special treatment for member variables, is this supposed to be a
feature?
-nathan
Hi,
I'm having trouble loading a PHP extension that I made.
When starting PHP, I get the following error:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626/libtg.so' - /usr/lib/php5/20090626/libtg.so: undefined
symbol: __gxx_personality_v0 in Unknown on line
On Wed, Apr 25, 2012 at 10:44 PM, Simon J Welsh wrote:
> On 26/04/2012, at 4:40 PM, Nathan Nobbe wrote:
>
> > Hi everyone,
> >
> > Does anybody know what might influence the output of the date() function
> > besides date.timezone setting?
> >
> > Runni
er of mine and I've
verified date.timezone is consistent in both environments.
Something's going on in the first case, but I'm unsure what; any ideas?
Your help appreciated as always.
-nathan
Hey gang,
Anyone looking for solid PHP gigs in the Denver area, (or would consider
moving to Denver b/c it's so awesome!) contact me offline; I've got the
hookup!
-nathan
27;s based on mysql fulltext, not something i would go for, but may be
viable on your shared hosting solution.
-nathan
On Fri, Oct 28, 2011 at 5:26 PM, Eric Butera wrote:
> On Fri, Oct 28, 2011 at 7:24 PM, Nathan Nobbe
> wrote:
> >
> >
> > On Fri, Oct 28, 2011 at 5:23 PM, Eric Butera
> wrote:
> >>
> >> On Fri, Oct 28, 2011 at 7:07 PM, Daniel Brown wrote:
>
On Fri, Oct 28, 2011 at 5:23 PM, Eric Butera wrote:
> On Fri, Oct 28, 2011 at 7:07 PM, Daniel Brown wrote:
> > On Fri, Oct 28, 2011 at 18:36, Nathan Nobbe
> wrote:
> >> Hi gang,
> >>
> >> Thinking database i/o would be the slowest part of a
Hi gang,
Thinking database i/o would be the slowest part of a request in your new zf
/ amf app?
Leave it to Zend_Amf to burn more cycles marshaling the protocol!
http://s289.photobucket.com/albums/ll238/quickshiftin/?action=view¤t=ScreenShot2011-10-24at74724PM.png
Happy Halloween!
-nathan
hema (think keys) and queries; then investigate a reverse
proxy like varnish to cache the generated html.
you'll be able to handle a couple thousand requests per second against the
proxy in no time.
might be worth pre-generating some of the pages if they are still really
slow after db optimization.
-nathan
gramming, teaching programming, and reading
> about programming.
>
> Maybe I'm just getting too old for this stuff.
>
> Cheers,
>
> tedd
>
tedd, even older folks are getting on there these days. sure there are lame
aspects as there are w/ just about anything; but it is a nice way to stay in
touch w/ folks youd probly otherwise have lost touch w/. my 2c.
-nathan
Friday :P
On Fri, Oct 21, 2011 at 10:35 AM, Daniel Brown wrote:
> On Fri, Oct 21, 2011 at 12:34, Nathan Nobbe
> wrote:
> > nice one!
>
>Quit top-posting! ;-P
>
> --
>
> Network Infrastructure Manager
> http://www.php.net/
>
nice one!
On Fri, Oct 21, 2011 at 10:27 AM, Daniel Brown wrote:
>I'll get this week's Friday distraction kicked off here with
> something shared with me by a Facebook friend. If you're on Facebook,
> try this. It's pretty sweet (and safe for work and kids).
>
>http://www.takethislo
;
>
wait, it sounds like we could use another answer .., yes ppl like to answer
things many times here, often with almost identical suggestions, and many
spins on how to approach the problem, including alternative perspectives on
life..; the ebb-&-flow of php-general ;)
-nathan
On Tue, Aug 23, 2011 at 4:06 PM, Nathan Nobbe wrote:
> Hey gang,
>
> Wondering where the installer for php 5.3 on Windows is?
>
> Not seeing it here:
>
> http://windows.php.net/download/
>
> Any clues appreciated,
>
> -nathan
>
Hmm,
I have found
Hey gang,
Wondering where the installer for php 5.3 on Windows is?
Not seeing it here:
http://windows.php.net/download/
Any clues appreciated,
-nathan
On Mon, Jun 20, 2011 at 5:16 AM, Ford, Mike wrote:
> > -Original Message-
> > From: Nathan Nobbe [mailto:quickshif...@gmail.com]
> > Sent: 16 June 2011 17:51
>
> [...]
>
> > Here's what's going on, I instantiate a model object for th
On Fri, Jun 17, 2011 at 1:19 PM, Jim Lucas wrote:
> On 6/16/2011 3:15 PM, Nathan Nobbe wrote:
> > what it really amounts to is php is good at doing 1 thing and 1 thing
> only,
> > generating web pages. for anything else, including command line scripts
> > that run
11 2:58 PM
> >> To: Daevid Vincent
> >> Cc: php-general@lists.php.net
> >> Subject: Re: [PHP] Doctrine madness!
> >>
> >> On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent
wrote:
> >> >> -Original Message-
> >> >> From
gt; Subject: Re: [PHP] Doctrine madness!
> >
> > On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent
wrote:
> > >> -Original Message-
> > >> From: Nathan Nobbe [mailto:quickshif...@gmail.com]
> > >> Sent: Thursday, June 16, 2011 9:51 AM
> > >
On Thu, Jun 16, 2011 at 3:58 PM, Eric Butera wrote:
> On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent wrote:
> >> -Original Message-
> >> From: Nathan Nobbe [mailto:quickshif...@gmail.com]
> >> Sent: Thursday, June 16, 2011 9:51 AM
> >> To: php-g
On Thu, Jun 16, 2011 at 1:58 PM, Eric Butera wrote:
> On Thu, Jun 16, 2011 at 12:51 PM, Nathan Nobbe
> wrote:
> > Hi gang,
> >
> > If anyone out there has some experience w/ Doctrine now would be a great
> > time to share it!
> >
> > So I'm wr
ing to call an unknown method.
Any help would be greatly appreciated as google hasn't been able to point me
to the answer thus far.
thx,
-nathan
the 'real' version of the project. when i looked into quercus
a few years ago there wasn't support for things like spl and i'm not sure
where they stand w/ 5.3 features like closures and namespaces. not only that
but on any given minor release of php where is the parallel from quercus.
also, the professional version of resin costs money.
these are probly the main reasons why the resin community isn't blowing up.
-nathan
On Sat, May 28, 2011 at 1:34 PM, Andre Polykanine wrote:
> Hello Nathan,
>
> Do you mean $x{8}?
>
yup, that or $x[8];
> That is good but not for all situations.
> I need sometimes to make an array with letters as keys and numbers as
> values, like this (I give Eng
Strings are already accessible through array notation anyway, seems like ol
dude may benefit from a php-general membership as well.
-nathan
t;>
>
> What a whiner!
>
> Many of the things listed are things which give PHP character and history.
>
Too bad it's not a blog post with a comments section.
I'd point him to the internals list :)
-nathan
owned upon thing to do and even more of a
> performance hit.
>
>
>
> The irony is that I'm using shared memory (and signals) exactly for
> performance reasons L
perhaps try pcntl_signal() to signal the c program rather than
sem_release().
-nathan
David Mehler wrote:
Hello,
I am trying to use php to put a copyright notice in a page footer. I'm
using the date function with the "Y" value for the year. Here's the
code:
echo implode(",", range(2011,date("Y")));
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
tedd wrote:
At 4:58 PM -0400 4/27/11, Robert Cummings wrote:
Tedd who?
;)
Cheers,
Rob.
Rob what?
;-)
Cheers,
tedd
flirting?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jim Lucas wrote:
On 4/24/2011 8:44 AM, Ron Piggott wrote:
I am trying to figure out a syntax that will replace each instance of % with a
different letter chosen randomly from the string $puzzle_filler. $puzzle_filler
is populated with the letters of the alphabet, roughly in the same ratio as the
chrome will prevent execution because the code was
sent in the request, just check the javascript console and you'll see
something like:
"Refused to execute a JavaScript script. Source code of script found
within request."
Best,
Nathan
--
PHP General Mailing List (http://www.ph
On Thu, Apr 14, 2011 at 2:53 AM, Stuart Dallas wrote:
> On Thursday, 14 April 2011 at 07:11, Nathan Nobbe wrote:
> On Wed, Apr 13, 2011 at 3:30 PM, Stuart Dallas wrote:
> > > On Wednesday, 13 April 2011 at 19:47, Nathan Nobbe wrote:
> > > I never make any assumptions
On Wed, Apr 13, 2011 at 3:30 PM, Stuart Dallas wrote:
> On Wednesday, 13 April 2011 at 19:47, Nathan Nobbe wrote:
> > On Wed, Apr 13, 2011 at 12:34 PM, Stuart Dallas wrote:
> > > On Wednesday, 13 April 2011 at 19:15, Nathan Nobbe wrote:
> > > On Wed, Apr 13, 2011
On Wed, Apr 13, 2011 at 12:34 PM, Stuart Dallas wrote:
> On Wednesday, 13 April 2011 at 19:15, Nathan Nobbe wrote:
> On Wed, Apr 13, 2011 at 12:04 PM, Stuart Dallas wrote:
> > > On Wednesday, 13 April 2011 at 18:55, Nathan Nobbe wrote:
> > > On Wed, Apr 13, 201
Shrug, it's called reply-all and it's been brought up here before :)
-nathan
On Wed, Apr 13, 2011 at 12:25 PM, Jim Giner wrote:
> No need to email me AND send to the list. Is that the standard practice on
> this forum? Not encountered it before.
>
>
On Wed, Apr 13, 2011 at 12:04 PM, Stuart Dallas wrote:
> On Wednesday, 13 April 2011 at 18:55, Nathan Nobbe wrote:
> On Wed, Apr 13, 2011 at 11:49 AM, Jim Giner >wrote:
> >
> > > Can one create a set of $_POST vars within a script or is that not
> do-able?
> >
it's
typically populated by the environment.
It would probly be cleaner to have the display portion of your script read
from an arbitrary array.
Said arbitrary array could be populated by $_POST in one case and the
results of a query in another case.
-nathan
On Mon, Mar 28, 2011 at 5:14 PM, Curtis Maurand wrote:
>
>
> Nathan Nobbe wrote:
> > On Mon, Mar 28, 2011 at 3:34 PM, Bostjan Skufca wrote:
> >
> >> If you need high performance you probably already know that it will be
> >> very
> >> expensive
est to have it
fork for the same reason apache is typically configured to fork. right?
-nathan
rol.
i guess you can see where im going with this, basically, why reinvent the
wheel w/ the daemon code when xinetd is available. i suppose those php
libraries you mentioned are an argument against that, but then there is the
speed benefit of xinetd. i guess it just comes down to a battle of
tradeoffs.
-nathan
than php-based implementation
xinetd cons
. time tradeoff learning xinetd configuration vs coding in support directly
in php implementation
. potentially less maintainable depending on staff, likely php dev team
more capable of maintaining 100% php solution
Interested in your thoughts!
-nathan
On Fri, Mar 18, 2011 at 11:58 AM, Richard Quadling wrote:
> On 18 March 2011 17:36, Nathan Nobbe wrote:
> > On Fri, Mar 18, 2011 at 11:19 AM, Stuart Dallas wrote:
> >
> >> On Friday, 18 March 2011 at 17:14, Torsten Rosenberger wrote:
> >>
> >> > I
On Fri, Mar 18, 2011 at 11:56 AM, Stuart Dallas wrote:
> On Friday, 18 March 2011 at 17:36, Nathan Nobbe wrote:
> On Fri, Mar 18, 2011 at 11:19 AM, Stuart Dallas wrote:
> > > On Friday, 18 March 2011 at 17:14, Torsten Rosenberger wrote:
> > > > > I'm curious
tarily. Storing session data in cookies has it's
merits, but I think they start to loose their benefits on large sites. The
way I see it they can be a great way to cope with startup costs and
server-side complexity on low traffic sites.
-nathan
s not add a persistent store; membase offers replication +
persistent store so it seems well suited for session storage.
-nathan
se backed sessions until
they actually become a performance bottleneck.
Here's the post from google groups if you're interested:
http://groups.google.com/group/memcached/browse_thread/thread/7ed750db888e6b1b?pli=1
-nathan
On Wed, Mar 9, 2011 at 3:18 AM, Richard Quadling wrote:
> On 7 March 2011 23:37, Nathan Nobbe wrote:
> > On Fri, Mar 4, 2011 at 7:29 AM, Richard Quadling
> > wrote:
> >>
> >> On 3 March 2011 18:30, Nathan Nobbe wrote:
> >> > Hey gang,
> &
lication layer.
from a performance perspective i think pre-compiling large complex queries
may be advantageous, but i suspect for trivial queries the difference may be
marginal. some benchmarks would be helpful in this area if anyone knows
where to find them.
-nathan
On Fri, Mar 4, 2011 at 7:29 AM, Richard Quadling wrote:
> On 3 March 2011 18:30, Nathan Nobbe wrote:
> > Hey gang,
> >
> > (Yes Tedd, I like your style, when it pertains to how you address the
> list
> > :))
> >
> > I have a new curiosity that&
Mark Kelly wrote:
Hi.
I'm hoping someone can help me extract text between double quotes from a
string.
$regex = 'some magic';
$r = preg_match($regex, $sentence, $phrases);
So, if
$sentence = 'Dave said "This is it". "Nope, that is the wrong colour" she
replied.';
I want $phrases to cont
Richard Quadling wrote:
At a fundamental level, my PHP code isn't concerning itself with any
physical data structures. As much as possible my PHP code treats the
sql data source as a processor ready to supply data in a standardized
form (even hierarchical) and to accept data for storage (again
hi
Hi Nathan,
Nathan Nobbe wrote:
Also, bear in mind that personally I tend to favor OO paradigms for
application development so would prefer feedback that incorporates that
tendency.
Initial thoughts are
Bad:
. Not well suited for ORM, particularly procedures which return multiple
result sets
Richard Sharp wrote:
I have been banging my head trying to figure out how to delay
$(document).ready() command until my php script finish running and load
data into a csv file. Any ideas
*which* PHP script? are you returning an HTML document then keeping the
script going in the background, /o
On Thu, Mar 3, 2011 at 12:59 PM, Paul M Foster wrote:
> On Thu, Mar 03, 2011 at 11:30:49AM -0700, Nathan Nobbe wrote:
>
> > Hey gang,
> >
> > (Yes Tedd, I like your style, when it pertains to how you address the
> list
> > :))
> >
> > I have a new
On Thu, Mar 3, 2011 at 12:23 PM, Steve Staples wrote:
> On Thu, 2011-03-03 at 11:30 -0700, Nathan Nobbe wrote:
> > Hey gang,
> >
> > (Yes Tedd, I like your style, when it pertains to how you address the
> list
> > :))
> >
> > I have a new curiosity that&
fers are the
features folks are really looking, one of those 80/20 things...
I stumbled into this link on a google search, it's from '04 but looks to be
relevant to this day
http://www.codinghorror.com/blog/2004/10/who-needs-stored-procedures-anyways.html
Your thoughts appreciated,
-nathan
Richard Quadling wrote:
On 3 March 2011 10:09, Webforlaget.dk wrote:
I need help to know Why this dont work ?
-
$thisdate =date("Y-m-d",mktime(0,0,0,$mth, $day, $year));
$sql = "SELECT id,case,startdate,enddate FROM table WHERE s
Andre Polykanine wrote:
and here goes the question: is there a way to make these four in one
so strictly one random question is selected from all of the four
categories?
"SELECT * FROM `CandidateQuestions` WHERE `Category` IN(1,2,3,4) ORDER
BY RAND() LIMIT 4"
note the limit 4, you'll
ke a message body construction template.
It's worth reading up on both HTTP and HTML Forms when using PHP, since
PHP is a "Pre Hypertext Processor" and HTTP is the Hypertext transfer
protocol, and HTML is the Hypertext markup language :)
Best,
Nathan
--
PHP General Mailing Lis
ke a message body construction template.
It's worth reading up on both HTTP and HTML Forms when using PHP, since
PHP is a "Pre Hypertext Processor" and HTTP is the Hypertext transfer
protocol, and HTML is the Hypertext markup language :)
Best,
Nathan
--
PHP General Mailing Lis
Nathan Rixham wrote:
Admin wrote:
$categorys = array('home', 'services', 'gallery', 'about_us',
'contact_us', 'testimonials');
If(in_array($_GET['page'], $categories))
{
echo ''.str_replace("_","
Admin wrote:
$categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us',
'testimonials');
If(in_array($_GET['page'], $categories))
{
echo ''.str_replace("_","
",$_GET['page']).'';
}else{
echo ''.str_replace("_"," ",$_GET['page']).'';
}
I normally never write someones code for t
kbai...@howlermonkey.net wrote:
Your turn! :-D
just in case I totally misunderstood, and you simply have the string and
want to rip out the component parts of the query string, then:
Or similar, watch out for parse_str though as it'll swap out spaces and
. for _ - which is nice.
--
PHP
kbai...@howlermonkey.net wrote:
...Holy cow... nothing to extract the query string, it's automatically
part of the environment. So I just do work with the $_GET string, it's
in there already... yikes.
yup
OK, so $_GET is an array keyed to keywords; plug in the key, out comes
the value. What
David McGlone wrote:
Hi everyone,
I think the subject is right, or somewhere close. Anyway I am trying to
perform a little trickery here with links. In the following code you can see
where I am trying to replace the link on the current page so it's not a link
when on that page. I think I got
kbai...@howlermonkey.net wrote:
Your turn! :-D
$_GET
and if you do post.. (can you guess?)
$_POST
usage:
http://www.foo.org/item1/delivery.php?item=name&code=DATA
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he two of those, then you're doing well :)
Best,
Nathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing of strings to numbers under
> > the proper conditions. You'll scratch your head for quite a while once
> > you hit that one.
> >
> > Paul
> >
> > --
> > Paul M. Foster
> > http://noferblatz.com
> >
> >
> or the ($needle, $haystack) vs ($haystack, $needle)... i still get it
> screwed up... thankfully php.net/{function_name} is easy to use :P
php --rf
is also pretty handy.
-nathan
On Fri, Jan 7, 2011 at 2:52 PM, tedd wrote:
> At 1:24 PM -0700 1/7/11, Nathan Nobbe wrote:
>
>> On Fri, Jan 7, 2011 at 12:53 PM, tedd <<mailto:tedd.sperl...@gmail.com>
>> tedd.sperl...@gmail.com> wrote:
>> much of the gripe comparing php to python
>>
On Fri, Jan 7, 2011 at 12:53 PM, tedd wrote:
> At 12:16 PM -0700 1/7/11, Nathan Nobbe wrote:
>
>> On Fri, Jan 7, 2011 at 11:54 AM, Joshua Kehn wrote:
>>
>> Why bother learning other languages? Is this a joke? Why should someone
>>> stop learning *ever
On Fri, Jan 7, 2011 at 11:54 AM, Joshua Kehn wrote:
> On Jan 7, 2011, at 1:48 PM, Nathan Nobbe wrote:
>
> shrug, you must not be too familiar with php then. 9 times out of 10 it's
> the natural, perfect choice for a cli program. there are situations where
> you get past w
t might not make sense
> to learn another language as well.
why bother learning 2 languages when 1 will suit most needs perfectly? for
most folks who work with the web and a typical deployment environment like a
linux server, the second language of choice most likely would be a client
side one like javascript.
-nathan
To whoever did it,
"it" being http://docs.php.net/ - congrats, v nice, and v quick!
Best,
Nathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Jan 5, 2011 at 4:27 PM, Nathan Nobbe wrote:
> On Wed, Jan 5, 2011 at 3:40 PM, Paul Halliday wrote:
>
>> Say you have 10 or so scripts and a single config file. If you have
>> main.php, functions1.php, functions2.php, functions3.php..
>>
>> Does is hurt to do
ad_config() available in all your files,
via something like require_once on the file which defines load_config().
the result is the configuration will only be read once on a given page
load, thereafter its contents will come from memory.
this is actually very similar to the singleton approach in OOP.
-nathan
Ethan Rosenberg wrote:
At 07:11 AM 12/31/2010, Nathan Rixham wrote:
Ethan Rosenberg wrote:
FYI [to all the list] -- I thank all for their input. I only needed
US phones, and I am forcing the user of the form to conform to
xxx-xxx- as the input format.
out of interest, why are you
Ethan Rosenberg wrote:
FYI [to all the list] -- I thank all for their input. I only needed US
phones, and I am forcing the user of the form to conform to xxx-xxx-
as the input format.
out of interest, why are you forcing you're users to conform to that
input format? you could simply stri
Tamara Temple wrote:
Sorry, I was mislead by your use of the phrase "Users should not be
copy-pasting passwords or usernames" above. I'd love to hear what you
think is an alternative to identifying with web app that keeps track of
information about someone that is more secure.
client side ssl
Tamara Temple wrote:
On Dec 28, 2010, at 2:11 PM, Joshua Kehn wrote:
Specifically:
Dotan Cohen wrote:
I seem to have an issue with users who copy-paste their usernames and
passwords coping and pasting leading and trailing space characters.
Users should not be copy-pasting passwords or use
can just avert their eyes - it was hardly 4chan grade trolling!
Best & happy new year to you,
Nathan
Daniel Brown wrote:
First, I have to admit that what I did was wrong. I had assumed
(ASS-umed) that the other party in a discussion under a different
thread would understand and appreci
Dotan Cohen wrote:
On Tue, Dec 28, 2010 at 22:30, Joshua Kehn wrote:
indeed, and on reflection, if you're putting this much effort in to it, and
security is a worry, then forget username and passwords, and issue each user
with a client side RSA v3 certificate and identify them via the public ke
Joshua Kehn wrote:
On Dec 28, 2010, at 3:18 PM, Dotan Cohen wrote:
I'm toying with the idea of having the passwords hashed twice: they're
already in the database hashed, and javascript hashes them on the
client before sending them over, but I'm thinking about sending an
additional salt to the c
Dotan Cohen wrote:
On Tue, Dec 28, 2010 at 21:57, Nathan Rixham wrote:
Don't trim or limit the range of input characters, but far more importantly
/don't send passwords in clear text/, indeed don't generate passwords at
all, let users enter there desired password, then they wo
Joshua Kehn wrote:
Trim usernames but not passwords.
agree. nice catch, I was thinking about passwords specifically and
forgot usernames was in the topic too!
On Dec 28, 2010, at 2:57 PM, Nathan Rixham wrote:
Dotan Cohen wrote:
I seem to have an issue with users who copy-paste their
x27;t included any additional spaces".
Best,
Nathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
just clean up the array definition:
$services = array('lawn_maintenance', 'core_areation', 'over_seeding',
'hedge_trimming', 'mulch_installation', 'natural_debris_removal',
'leaf_cleanup_removal', 'snow_plowing');
> Could anyone give me a hand? Obviously I don't understand arrays very well
> :-/
>
looks more like it's the strings you're struggling with ;)
-nathan
e(true);
>php > $foo = new Foo();
>php > $foo->bar();
you just have to invoke the function from the context of the
ReflectionMethod instance
setAccessible(true);
$m->invokeArgs(new Foo(), array());
?>
-nathan
On Thu, Dec 16, 2010 at 3:21 PM, Kris Deugau wrote:
> Nathan Nobbe wrote:
>
>> Why not test for the type of $name at each point of interest in the
>> SelectBoxOption
>> constructor? If you're passing a string value to the constructor it
>> almost
>
On Thu, Dec 16, 2010 at 4:04 PM, Kris Deugau wrote:
> Nathan Nobbe wrote:
>
>> probly something screwy going on w/ the old style of naming constructors.
>> 2
>> things,
>>
>> 1. can you post the Tag constructor as it reads now?
>>
>
> function Tag
1 - 100 of 2379 matches
Mail list logo