[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? --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 PROTECTED]
[PHP-DB] FYI: Partnerprogramm
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: Wir beteiligen Sie ab dem ersten Klick mit einer erstaunlichen Provision. Plazieren Sie einfach Ihren Partnerlink wo immer Sie wollen (selbstverständlich auch in Newsletter, Linklisten, Emails) - und sichern Sie sich so ein beachtliches Nebeneinkommen. Es gibt definitiv keinen Hacken an der Sache! Im Gegenteil: Als Partner-Begrüßungsgeschenk erhalten Sie von uns kostenlos eine bekannte CD mit allen Hacker-Tools für Ihre Sicherheit. (Name der CD wird hier nicht genannt, um SPAM-Vorwürfe zu verhindern) Alle Details zum Partnerprogramm finden Sie unter http://www.utechmedia.net/partner.htm Schöne Grüße aus dem Norden! UTECH Verlag, Oldenburg --- Sorry, but this mail is for german-speaking audience only. Just delete this mail if you received it accidentally - we won't contact you again. -- 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 PROTECTED]
Re: [PHP-DB] Authenticate problem
$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: Harpreet [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 26, 2001 4:19 PM Subject: RE: [PHP-DB] Authenticate problem I tried doing the following it still deosnt work ?php include('global1.inc'); $USER=($HTTP_POST_VARS[USER]); $PASSWORD=($HTTP_POST_VARS[PASSWORD]); $strconnectionuser=mysql_connect(123.345.567.789,$USER); if ($strconnectionuser==Resource id #1) { header(Location: 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 Inc. -Original Message- From: Indioblanco [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 9:59 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Authenticate problem Two things right off the top: 1. You won't execute the header functions if you exit (die) the script. 2. Your header functions won't work if you allow warnings to print.. Try testing for a valid connection, then passing the error string into the redirection url of a header call if it returns false and then exit. -ib -- 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 PROTECTED] -- 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 PROTECTED]
[PHP-DB] get the record id of the last addition in a table
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
[PHP-DB] MySQL Can't Create UNIX socket (55)
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 PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] problems in connecting Access database
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] -- 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 PROTECTED]