Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Noncify
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Markshall" data-source="post: 441451" data-attributes="member: 1872"><p>It would do if I had an '<span style="font-family: 'courier new'">if</span>' beforehand. It would cause an error anyway because I'm not giving a result of the <span style="font-family: 'courier new'">if</span> statement.</p><p></p><p>It's assigning <span style="font-family: 'courier new'">$salt</span> a random string, placing that in the string, and then using it later on down the line in <span style="font-family: 'courier new'">sha1("{$salt}.{$timestamp}.{$key}")</span></p><p><span style="font-family: 'courier new'">$salt</span> is being called from when it was assigned at <span style="font-family: 'courier new'">$salt=self::randString($timeout)</span></p></blockquote><p></p>
[QUOTE="Markshall, post: 441451, member: 1872"] It would do if I had an '[FONT=courier new]if[/FONT]' beforehand. It would cause an error anyway because I'm not giving a result of the [FONT=courier new]if[/FONT] statement. It's assigning [FONT=courier new]$salt[/FONT] a random string, placing that in the string, and then using it later on down the line in [FONT=courier new]sha1("{$salt}.{$timestamp}.{$key}") $salt[/FONT] is being called from when it was assigned at [FONT=courier new]$salt=self::randString($timeout)[/FONT] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Noncify
Top