Forum: PHP Feb 14th, 2008 |
| Replies: 36 Views: 3,602 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: 857 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,609 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,609 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,718 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: 3,020 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). ... |