php-windows Digest 27 Nov 2001 22:08:20 -0000 Issue 874
Topics (messages 10615 through 10619):
Re: problems in connecting Access database
10615 by: Piotr Pluciennik
Re: Compiling Questions
10616 by: l0t3k
MySql
10617 by: VoxEcho
Re: Problems with $PHP_AUTH_USER and $PHP_AUTH_PW
10618 by: Raoul Snyman
Simple Session Script hanging in Win 98 PWS
10619 by: MM
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi,
have you defined correct DSN name? Is "test" a name of your database file
(e.g. test.mdb) or a name of the DSN source in ODBC? What kind of DSN are you
using?
$conn = odbc_connect( 'test' , ' ', ' ' );
In this example - "test" should be a name of DSN source of ODBC driver. It is
working - for sure :-)
Let me know if it has helped you.
Greetings
Piotr
Mihail Bota wrote:
> Hello,
>
> I know this may be a stupid question, but I've looked everywhere for help
> and since I could not resolve the problem myself, I am asking your help.
>
> The problem is simple: i have an Access 2000 database (Windows 2000,
> IIS5.0) that
> i want to query it using php4.06.
> I've added the database at the ODBC driver, the path to it is okay, but
> when I try to run the simple thing like:
>
> $conn = odbc_connect( 'test' , ' ', ' ' );
>
> where test is the name of that database, then the output is smth. like
>
> Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not
> found and no default driver specified, SQL state IM002 in SQLConnect in
> c:\inetpub\wwwroot\test.php on line 11
>
> Does anybody have any idea why this thing is happening and how I can solve
> the problems?
>
> Thanks!
> Mihai
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--- End Message ---
--- Begin Message ---
i had to fix a lot of this by hand. this is one of the reasons im sticking
to 4.07dev until the build situation is resolved.
Ali <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> It's my first time trying to compile PHP on Win32 myself. I get lots of
> arpa/inet.h not found errors. Is this usual?
>
> I'm trying to build the apache dll.
>
> ALi
>
>
--- End Message ---
--- Begin Message ---
How would one go about building an intrinsic function for mySql? I am
wanting to make a function which will take a list of columns, strip them of
punctuation and concat them with a space dilim. this would be used for
searching the database. could anyone point me to where I would start?
regards
Echo
--- End Message ---
--- Begin Message ---
Okay,
I've tried unset(), putting empty values in and "false" in them, and it
still doesn't seem to work. I did try sessions a while ago, but never really
caught on how to go about managing them. Could you help please?
thanks,
Raoul Snyman
-----Original Message-----
From: Jura Khrapunov [mailto:[EMAIL PROTECTED]]
Sent: 22 November 2001 12:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Problems with $PHP_AUTH_USER and $PHP_AUTH_PW
Use the sessions or put the empty values to $PHP_AUTH_USER and $PHP_AUTH_PW
on logout.
Sessions - better ;-)
Jura
---
^ This is the End, Beautifull friend ...
--- End Message ---
--- Begin Message ---
I am a newbie running 4.06. Any sample script about sessions I can find just
hangs in Personal Web Server. Session id gets created in data file but
nothing happens on the page.
Has anyone come across this. Have searched on Google and can't find any
reference.
Thanks in advance for the help.
--- End Message ---