Re: [PHP-DB] Authenticate problem

2001-11-26 Thread Indioblanco
Also, not sure about your situation, I'm not sure your resource id can always be counted on to be == 1. The sort of syntax I would suggest: if (!$conn=mysql_connect(SERVER,USER,PWD)) { header("Location: http://.notlogged.htm";); } else { header("Location: http://.logged.htm";); }

Re: [PHP-DB] problems in connecting Access database

2001-11-26 Thread Miles Thompson
This might be a stupid answer ... Sounds like ODBC is looking for a Data Source Name ( .DSN ) file. If you have MDAC installe,d you can probably right click on your desk top and add one. These things are text files which tell the ODBC where the database is, whatalias to use, etc. But that' p

[PHP-DB] problems in connecting Access database

2001-11-26 Thread Mihail Bota
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

[PHP-DB] MySQL Can't Create UNIX socket (55)

2001-11-26 Thread Jonathan Hilgeman
I occasionally receive an error message saying that PHP was unable to create a UNIX socket (55). Anyone else have this error or know what it is? - Jonathan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP-DB] get the record id of the last addition in a table

2001-11-26 Thread LeTortorec, Jean-Louis
Hi: I've created a table. The fields are "id" (auto-increment, integer), "field1","field2),... When I do "insert into mytable (field1..) values (...)", how to get in return the value of "id"? Thanks Jean-Louis

Re: [PHP-DB] Authenticate problem

2001-11-26 Thread koelwebdesign
> $strconnectionuser=mysql_connect("123.345.567.789","$USER"); I think it should be: > $strconnectionuser=mysql_connect("123.345.567.789","$USER","$PASSWORD"); Leo Kuiper "Building a map in order to find what's not lost but left behind." - Beth Orton - Original Message - From: Harpr

[PHP-DB] RE: postgres optimization

2001-11-26 Thread Andrew Chase
You'll probably want to familiarize yourself with the VACUUM command and VACUUMDB utility: http://www.postgresql.org/idocs/index.php?sql-vacuum.html http://www.postgresql.org/idocs/index.php?app-vacuumdb.html -Andy > -Original Message- > From: Ric Manalac [mailto:[EMAIL PROTECTED]] > S

RE: [PHP-DB] Authenticate problem

2001-11-26 Thread Harpreet
I tried doing the following it still deosnt work http://123.345.567.789/frame_main.htm";); } else { header("Location: http://123.345.567.789/notlogged.htm";); } ?> How do i check for a valid connection?? He;p is appreciated, regards, Harpreet Kaur Software Developer Crispin Corporations In

SV: [PHP-DB] Execution of non-PHP code from within PHP

2001-11-26 Thread Trond Erling Hundal
heh.. Cool. > -Opprinnelig melding- > Fra: Andrey Hristov [mailto:[EMAIL PROTECTED]] > Sendt: 26. november 2001 12:15 > Til: Matthew Tedder > Kopi: [EMAIL PROTECTED] > Emne: Re: [PHP-DB] Execution of non-PHP code from within PHP > > > $result = `ls -al`; > var_dump($result); >

Re: [PHP-DB] Execution of non-PHP code from within PHP

2001-11-26 Thread Andrey Hristov
- Original Message - From: "Matthew Tedder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 26, 2001 1:50 AM Subject: [PHP-DB] Execution of non-PHP code from within PHP > > Using PHP, how can I spawn a process and execute non-PHP code > off the console? > > --Matt

Re: [PHP-DB] Execution of non-PHP code from within PHP

2001-11-26 Thread Kodrik
Yes, you can make an exec call. This is how I made the pipe to Zork at http://phpzork.com On Sunday 25 November 2001 03:50 pm, Matthew Tedder wrote: > Using PHP, how can I spawn a process and execute non-PHP code > off the console? > > --Matthew -- PHP Database Mailing List (http://www.php.net/

[PHP-DB] FYI: Partnerprogramm

2001-11-26 Thread
In zweimonatiger Testphase mit über 50.000 Unique Clicks hat sich unser neues Partnerprogramm als sehr zuverlässig bewährt. Wir sprechen Sie direkt unter [EMAIL PROTECTED] an, da der Beta-Test beendet ist und Sie sich ab sofort wieder kostenlos und unverbindlich anmelden können. Der Vorteil: Wi

[PHP-DB] Execution of non-PHP code from within PHP

2001-11-26 Thread Matthew Tedder
Using PHP, how can I spawn a process and execute non-PHP code off the console? --Matthew -- PHP Database 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 PROTECTE