You could help by saying what you mean by "the result is strange"
There is a increment of $tot at the end so it should be incrementing,
but is it? What does your echo statement say?
You could move most of the file checking out of the loop, test and open
before the loop, if the file is okay th
What's wrong with the while loop ?
You mean besides the fact that you are accessing an array and not
specifying the index ?
$rand_key[] = $key_chars{$rand_pos};
Other than that, saying te result is strange is not good enough.
If you want help, you have to be more specific.
As to the "50 millio
> Following my code is to write a 15digit random generated password into a
> file named test.txt. I was trying to keep it random generating 100
> passwords
> and be written into test.txt by using a while loop, however, the result is
> strange.
>
> Take a look at the code (most of it is from php.ne
Following my code is to write a 15digit random generated password into a
file named test.txt. I was trying to keep it random generating 100 passwords
and be written into test.txt by using a while loop, however, the result is
strange.
Take a look at the code (most of it is from php.net) and what
ntain my lazy programming approach -
not having to think about where the arg is coming from.
Cheers
George in Oxford
> -Original Message-
> From: Michael Adams [mailto:[EMAIL PROTECTED]
> Sent: 24 November 2004 9:45 am
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] What's
On Tue, 23 Nov 2004 15:15:49 +1000
"Michael Purdy" <[EMAIL PROTECTED]> wrote:
> Anthony
>
> Assuming you have not omitted any of the code for script 2:
>
> You need to have a get the posted value at the start of script 2 i.e.
>
> $username = $_REQUEST['userName'];
>
> Mike
And assuming both A
to point you in that direction as a possibility.
-TG
> -Original Message-
> From: aomarlow [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 22, 2004 10:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] What's wrong with these two programs?
>
>
> Hi,
&
TED]>
Sent: Tuesday, November 23, 2004 1:36 PM
Subject: [PHP-WIN] What's wrong with these two programs?
> Hi,
>
> Can anyone tell me what's wrong with the two following
> programs? The first (whatsName.html) is straight
> HTML, and is supposed to build a form th
L PROTECTED]
Sent: November 22, 2004 9:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] What's wrong with these two programs?
Hi,
Can anyone tell me what's wrong with the two following programs? The
first (whatsName.html) is straight HTML, and is supposed to build a form
that asks a que
Hi,
Can anyone tell me what's wrong with the two following
programs? The first (whatsName.html) is straight
HTML, and is supposed to build a form that asks a
question. The second program, (hiUser.php) is
supposed to read the value input by the user, and
process it. I'm not having any trouble w
Hi _GeS_,
Tuesday, November 19, 2002, 12:45:03 PM, I've got:
_> Hi!
_> Can someone change this line so that it works, please ?
_> echo '' .
_> $line["url"] . '';
It seems to me, that You must add slashes before single quote, if You
enclose the string within single quotes.
Like this:
echo ''
Hi!
Can someone change this line so that it works, please ?
echo '' . $line["url"] . '';
12 matches
Mail list logo