Search Results

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: Walkere
Forum: PHP Feb 14th, 2008
Replies: 36
Views: 3,521
Posted By Walkere
Well, the best way to do that would be to remember the password you used.

In lieu of that, you can log in as the root user and modify the password for the user 'pma' to something new.

Here's...
Forum: PHP Feb 2nd, 2008
Replies: 7
Views: 847
Posted By Walkere
I'm not sure if this would be the best way to do it...

However, the basic functions you'll need to use are PHP's file functions. The simplest way to do it would be...

$fileContents =...
Forum: PHP Jan 22nd, 2008
Replies: 4
Views: 1,569
Posted By Walkere
Yes... and no.

Take a look at the output of this snippet.
$cypher = crypt ( time() );
echo $cypher . '<br />';
echo crypt('password', $cypher) . '<br />';
echo crypt('password1', $cypher) ....
Forum: PHP Jan 19th, 2008
Replies: 4
Views: 1,569
Posted By Walkere
According to this comment on php.net (http://us3.php.net/manual/en/function.crypt.php#47761), certain situations will cause crypt() to only look at the first eight characters.

For example, in this...
Forum: PHP Jan 18th, 2008
Replies: 3
Views: 6,606
Posted By Walkere
Most of your code seems to be fine, but I'm a little confused as to what the $week_cycle is supposed to do.

I took your code and worked out the example script (at the bottom of this post).

It...
Forum: PHP Jan 15th, 2008
Replies: 5
Views: 2,953
Posted By Walkere
Aye, I was wondering the same thing.

addslashes() (http://us.php.net/manual/en/function.addslashes.php) is slightly different - it escapes a couple of extra characters (including '\' and NUL). ...
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC