for which the cookie is valid.
session.cookie_domain = www.mydomain.com
As always, thanks for your help.
PHPCoder [EMAIL PROTECTED]
07/24/02 01:50 PM
To: Matthew Bielecki [EMAIL PROTECTED]
cc: php-general [EMAIL PROTECTED]
Subject:Re: [PHP] Help
On Thu, 25 Jul 2002, Matthew Bielecki wrote:
session.save_path = C:/Program Files/Apache
Group/Apache/web/php/dir/files/temp
Considering using something like: c:/temp, sure beats typing and
remembering that path :)
How are you setting the cookie in the code?
--
PHP General Mailing
Hello Matthew,
Thursday, July 25, 2002, 5:06:09 PM, you wrote:
MB Hello again,
MB I got the fetch_array problems fixed. I was using the actual server name,
MB when I switched back to localhost everything worked!!
MB Now I have a question about how to make cookies work on a Windows machine.
PROTECTED]
Alexander Kuznetsov [EMAIL PROTECTED]
07/25/02 10:15 AM
Please respond to Alexander Kuznetsov
To: Matthew Bielecki [EMAIL PROTECTED]
cc: php-general [EMAIL PROTECTED]
Subject:Re[2]: [PHP] Help with msql_fetch_array() FIXED ! Now cookie
I have a couple of scripts that fail with the error of:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in...
I'm new to both SQL and PHP and I'm wondering if I have some setting
turned off or what.
Here's the piece of code that is failing (the second line
I can almost guarantee that it's not the second line that is failing,
the problem here is that $result is not containing naything, and that is
normally due to the fact that you are not connecting to the db, or the
table tablename is not there.
I use the following format as my standard MySQL
main script so that you can protect your useranme
and password.
Good luck.
-Kevin
- Original Message -
From: Matthew Bielecki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 10:34 AM
Subject: [PHP] Help with msql_fetch_array()
I have a couple of scripts that fail
- Original Message -
From: PHPCoder [EMAIL PROTECTED]
To: Matthew Bielecki [EMAIL PROTECTED]
Cc: php-general [EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 11:50 AM
Subject: Re: [PHP] Help with msql_fetch_array()
I can almost guarantee that it's not the second line that is failing
PROTECTED]
To: Matthew Bielecki [EMAIL PROTECTED]
Cc: php-general [EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 11:50 AM
Subject: Re: [PHP] Help with msql_fetch_array()
I can almost guarantee that it's not the second line that is failing,
the problem here is that $result is not containing naything
.
-Kevin
- Original Message -
From: PHPCoder [EMAIL PROTECTED]
To: Matthew Bielecki [EMAIL PROTECTED]
Cc: php-general [EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 11:50 AM
Subject: Re: [PHP] Help with msql_fetch_array()
I can almost guarantee that it's not the second line that is failing
At 11:26 AM 7/24/2002 Wednesday, Martin Clifford wrote:
Shouldn't it be:
$result = mysql_query($sql, $link_id);
Actually mysql_query should default to the last database connection opened
if no link identifier has been specified.
So the link identifier to not absolutely required.
Phillip
--
On Thursday 25 July 2002 00:34, Matthew Bielecki wrote:
I have a couple of scripts that fail with the error of:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in...
I'm new to both SQL and PHP and I'm wondering if I have some setting
turned off or what.
PROTECTED]
07/24/02 01:50 PM
To: Matthew Bielecki [EMAIL PROTECTED]
cc: php-general [EMAIL PROTECTED]
Subject:Re: [PHP] Help with msql_fetch_array()
I can almost guarantee that it's not the second line that is failing,
the problem here is that $result
PROTECTED]; [EMAIL PROTECTED]
Cc: php-general [EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 2:07 PM
Subject: Re: [PHP] Help with msql_fetch_array()
Well I think you were correct about not connecting to the db, but I don't
understand why. I wrote another little script just to test the
connection
14 matches
Mail list logo