Re: [PHP-WIN] MySQL Connection

2003-06-17 Thread Anthony M. Saffer
This is message (not generated by or associated with PHP at all) that is telling you that your users (probably supposed to be root) doesn't have the right to perform the action you're trying to do. If you're trying to administer MySQL from the console try typing this: mysql --user=root mysql T

[PHP-WIN] Re: [PHP-DB] MySQL Connection

2003-06-17 Thread John W. Holmes
[EMAIL PROTECTED] wrote: Would be grateful if someone couldkindly point me in the right direction. Whenever I try to connect to mysql server, I get these messsage back 1. mysql> GRANT ALL PRIVILEGES ON *.* TO moses@"%" IDENTIFIED BY "cludiana"; ERROR 1045: Access denied for user: '@127.0.0.1' (U

[PHP-WIN] MySQL Connection

2003-06-17 Thread moses . johnson
Hello, Would be grateful if someone couldkindly point me in the right direction. Whenever I try to connect to mysql server, I get these messsage back 1. mysql> GRANT ALL PRIVILEGES ON *.* TO moses@"%" IDENTIFIED BY "cludiana"; ERROR 1045: Access denied for user: '@127.0.0.1' (Using password: NO)

[PHP-WIN] Re: Subject: Re: User Authentication...

2003-06-17 Thread Neil Smith
Well what I would probably do is this : Store the users authenticated directory name in a session from the login form. Add a mod_rewrite directive to the top level users directory which redirects to a PHP script on attempted direct access to the specified directories. Use this PHP script to de

Re: [PHP-WIN] problems with variables

2003-06-17 Thread Felipe Lorente
Ok, thanks, now it is working!! "Sven" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > your vars you want to send to your next page are stored in these arrays. > > so if you POSTed a form with $name and $email use $_POST['name'] or > $HTTP_POST_VARS['email'] in your script

php-windows Digest 17 Jun 2003 21:05:04 -0000 Issue 1781

2003-06-17 Thread php-windows-digest-help
php-windows Digest 17 Jun 2003 21:05:04 - Issue 1781 Topics (messages 20370 through 20393): Re: PHP mySQL testing server does not map to the URL 20370 by: malte Re: Using the installshield vs manually 20371 by: Daniel Crompton 20379 by: Phil Driscoll 20383 by

[PHP-WIN] Re: Subject: Re: User Authentication...

2003-06-17 Thread Guru P Chaturvedi
Hi Cristian, Well what wanted to tell u is all the files that i wanna secure are kind of Word Documents, PDFs, .EXEs which users can access. If i use .htaccess files it works fine. But i want to provide a HTML login form. can u now explain me how i can go about... ? Regards, Guru. "Cristian Ma

[PHP-WIN] Re: Password generator

2003-06-17 Thread Andrei BEJENARU
Here's a little function that could help you... It uses the ASCII table to generate the characters and it still needs to be customized for any length and to deny the use of the special characters... Don't forget to set the mt seed! function generatePassword() { $passwd = ""; while(strlen($passwd

[PHP-WIN] Installation

2003-06-17 Thread Anand Tomar
Hi, i tried installing mysql-4.1.0-alpha, apache, php4.3.2. now the issue is that i have all the 3 application running and interacting with each other in sync but every time i try to connect to mysql through php it gives me this error: Warning: mysql_connect(): Client does not support authent

Re: [PHP-WIN] Back button error

2003-06-17 Thread Cristian MARIN
This is not an error, this is a security issue: Your form has passed the form variable thru 'post' method and when you are hitting back button or reloading with a JScript the history page you see the message because the IE do not re-submit automatically the form because is a security leak. If you

Re: [PHP-WIN] Back button error

2003-06-17 Thread Cristian MARIN
Also you have to call all the form vars thru $HTTP_GET_VARS instead of $HTTP_POST_VARS into the page which interpret the form's data. The message you see is not an error is a security warning. Just like when you are deleting files. If the user is sure he want the IE to resend the data and reload t

Re: [PHP-WIN] Back button error

2003-06-17 Thread Stephen
You misunderstood what I meant. As far as I know there is NO way to go back to a page where a form was submitted to. By a back button, I meant something like Go Back. Alternatively, if you use a header( "location: newpage.php"), then the end user never sees the post submit page. For example form.

Re: [PHP-WIN] Back button error

2003-06-17 Thread Harpreet
Also the back button works for regular pages . It gives me the below error only when i try to go back to a page that was an action to a form - a page where a form is processed. Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no

[PHP-WIN] Re: Subject: Re: User Authentication...

2003-06-17 Thread Cristian MARIN
Create the authentication form which submit the page to a php ... there you verify first if the user and password are ok then you make something like this: if ($username='ok' && $password='ok') session_start(); session_register('username'); session_register('id_user'); } after this in

Re: [PHP-WIN] Back button error

2003-06-17 Thread Harpreet
I tried a manual back button and also session_cache_limiter('private'); But none worked. Ne other ideas. Regards, Harpreet - Original Message - From: "Stephen" <[EMAIL PROTECTED]> To: "Harpreet" <[EMAIL PROTECTED]> Cc: "Windows Helplist (PHP)" <[EMAIL PROTECTED]> Sent: Monday, June

Re: [PHP-WIN] Using the installshield vs manually

2003-06-17 Thread Phil Driscoll
On Tuesday 17 June 2003 4:10 pm, John Lim wrote: > I am building a new IIS installer that includes FastCGI and Turck MMCache > bundled in. It's still in beta (because Turck MMCache has some issues with > FastCGI that the author is fixing). If you are interested in finding out > more, > let me know

Re: [PHP-WIN] Using the installshield vs manually

2003-06-17 Thread John Lim
"Phil Driscoll" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > As mentioned, this may be fine for a test setup - but for a production setup > you are quite likely to want the extra performance you would get from a sapi > installation and you may well need some extension modules whi

Re: [PHP-WIN] PHP i need help please

2003-06-17 Thread Kevin Ison
hehehe that worked thank you! amazing what correct syntax can do! Danke! "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] At 07:25 17.06.2003 -0400, Kevin Ison wrote: >Im trying to make calls to java classes and I keep getting class not found >errors... I got th

Re: [PHP-WIN] PHP i need help please

2003-06-17 Thread Daniel Beulshausen
At 07:25 17.06.2003 -0400, Kevin Ison wrote: Im trying to make calls to java classes and I keep getting class not found errors... I got this idea from a tutorial. I have the extensions uncommented as well in the PHP ini file. my set up follows: php.ini: [Java] java.class.path = C:\apache\ph

Re: [PHP-WIN] Re: Undefined variables

2003-06-17 Thread DvDmanDT
I have never used E_ALL, still I don't have lots of bugs in my PHP apps, and when I get one, I track it down in secs anyway... Let me show you an example of how my code looks like: $exp=preg_replace(array("#(\+|\-)([a-z])#i","#(\+|\-) #"),array("\\11\\2","\\1"),$exp); echo $exp," = ";$s=split(" ",

Re: [PHP-WIN] Using the installshield vs manually

2003-06-17 Thread Phil Driscoll
> I'm not asking a newbie question about how to setup a server!!, im asking > specifically about the php installation only. In this respect, both methods are identical. You will end up with the same php.ini file. If you then want to further modify the file, you need to get in there with a text

[PHP-WIN] PHP i need help please

2003-06-17 Thread Kevin Ison
Im trying to make calls to java classes and I keep getting class not found errors... I got this idea from a tutorial. I have the extensions uncommented as well in the PHP ini file. my set up follows: php.ini: [Java] java.class.path = C:\apache\php\JAVA\php_java.jar;c:\apache\htdocs\ktest\;

Re: [PHP-WIN] Password generator

2003-06-17 Thread toby z
and how did you accomplish that ? toby --- Davy Obdam <[EMAIL PROTECTED]> wrote: > Thanks for you reactions people, i have found the solution > > Best regards, > > Davy Obdam > > Met vriendelijke groeten uit Den Haag;-) > > Daniel Beulshausen wrote: > > > At 11:45 17.06.2003 +0200, Davy

Re: [PHP-WIN] Password generator

2003-06-17 Thread toby z
and how did you accomplish that ? toby --- Davy Obdam <[EMAIL PROTECTED]> wrote: > Thanks for you reactions people, i have found the solution > > Best regards, > > Davy Obdam > > Met vriendelijke groeten uit Den Haag;-) > > Daniel Beulshausen wrote: > > > At 11:45 17.06.2003 +0200, Davy

Re: [PHP-WIN] Password generator

2003-06-17 Thread Davy Obdam
Thanks for you reactions people, i have found the solution Best regards, Davy Obdam Met vriendelijke groeten uit Den Haag;-) Daniel Beulshausen wrote: At 11:45 17.06.2003 +0200, Davy Obdam wrote: Hi people, I have to make a password generator, but i have a little problem. - It needs to gene

Re: [PHP-WIN] Password generator

2003-06-17 Thread Luis Moreira
Have you tried to insert an "IF" statement, checking if the index on the "FOR" cycle is equal to "1" or to the last possible value ? :-) - Original Message - From: "Davy Obdam" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]>; "PHP-WIN" <[EMAIL PROTECTED]>; "PHP-DB" <[EMAIL PROTECTED]>

Re: [PHP-WIN] Password generator

2003-06-17 Thread Daniel Beulshausen
At 11:45 17.06.2003 +0200, Davy Obdam wrote: Hi people, I have to make a password generator, but i have a little problem. - It needs to generate password 8 characters long, and including 1 or 2 special characters(like #$%&*@). - Those special characters can never appear as the first or last char

[PHP-WIN] Password generator

2003-06-17 Thread Davy Obdam
Hi people, I have to make a password generator, but i have a little problem. - It needs to generate password 8 characters long, and including 1 or 2 special characters(like #$%&*@). - Those special characters can never appear as the first or last character in the string... anywhere between is f

Re: [PHP-WIN] Using the installshield vs manually

2003-06-17 Thread Daniel Crompton
Hi Thanks for the feedback. I think we are talking about different things here. I am asking specifically about the PHP installshield vs the manual way and any security issues/differences the installsheild in itself creates. The other things you mention like making sure win2k is patched with the

Re: [PHP-WIN] Fw: PHP mySQL testing server does not map to the URL

2003-06-17 Thread malte
PhpMyAdmin needs to be in your webservers document root. If that is the case you can access it through your webserver (http://localhost/phpmyadmin/index.php) note that the link above may vary depending on your configuration malte - Original Message - From: "Ildiko Nyari" <[EMAIL PROTECTED

php-windows Digest 17 Jun 2003 08:35:30 -0000 Issue 1780

2003-06-17 Thread php-windows-digest-help
php-windows Digest 17 Jun 2003 08:35:30 - Issue 1780 Topics (messages 20360 through 20369): PHP 4.3.2 is Slower & Can't Echo to the CLI 20360 by: Jon Harrell 20366 by: Adam Goossens Re: Undefined variables 20361 by: DvDmanDT 20369 by: Per Lundberg Re: PHP my

Re: [PHP-WIN] Re: Undefined variables

2003-06-17 Thread Per Lundberg
On Tue, 2003-06-17 at 01:20, DvDmanDT wrote: > Because if you are reading a book, and want to try the samples, chances are > quite big you want to try it exactly bit by bit, not modifying it on your > own... And even more, if you get like a CD or something, it must feel VERY > bad to have to rewrit

[PHP-WIN] Re: Subject: Re: User Authentication...

2003-06-17 Thread Guru P Chaturvedi
Hi Neil, Well is it basically to collect user name and password from user? What actually i am looking for is skipping this screen and having the same functionality thru a HTML form. Lemme explain you in details... I have a set of files protected using the Auth Directives. So user's need to provid

[PHP-WIN] Re: Back button error

2003-06-17 Thread Adam Goossens
Harpeet, Try: session_cache_limiter('private'); See if that makes any difference. -Adam. Harpreet wrote: I am getting the following error when i use the IE back button. Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no lo

[PHP-WIN] Re: PHP 4.3.2 is Slower & Can't Echo to the CLI

2003-06-17 Thread Adam Goossens
It does? I'm running CLI 4.3.2, and it echo()'s when told to. My scripts also run as quick as they normally would. Are you certain it's not a scripting issue? Or provide some sample code? -Adam. Jon Harrell wrote: I noticed that compared w/ 4.2.3 (the last working fdf/tk until now) that the CLI