[PHP-WIN] RE: ODBC connection parameters

2002-10-08 Thread Uttam
you must be having php manual installed, there is a topic called Unified ODBC Functions. you can refer the same for connecting to odbc databases. you need odbc_connect() to connecto to database, the syntax is: int odbc_connect (string dsn, string user, string password [, int cursor_type]) foll

php-windows Digest 9 Oct 2002 02:28:52 -0000 Issue 1378

2002-10-08 Thread php-windows-digest-help
php-windows Digest 9 Oct 2002 02:28:52 - Issue 1378 Topics (messages 16248 through 16265): Refreshing page 16248 by: Radovan Radic Re: odbc_fetch_array function 16249 by: Uttam 16257 by: Pascal Page has expired 16250 by: Radovan Radic Re: [PHP] Deleting mu

[PHP-WIN] =array within html table=

2002-10-08 Thread Anthony Ritter
I'd like to have the record data - $current - *within* the html table but if I run this script it is on a line outside of the table: http://waterdata.usgs.gov/ny/nwis/uv?format=rdb&period=1&site_no=01427 510"); array_pop($content); $current = array_pop($content

[PHP-WIN] Re: +AFs-PHP-WIN+AF0- postmaster+AEA-bol.net.in

2002-10-08 Thread Nino V
Thanks, Mikey. I've tried to write to php-windows-owner+AEA-list.php.net, but the confirmation was refused+ACE- Well, I'll add that to those things I have to live with Bye, Nino - Original Message - From: +ACI-Mikey+ACI- +ADw-mikey+AEA-splatted.net+AD4- To: +ACI-Nino V+ACI- +ADw-ni

RE: [PHP-WIN] postmaster@bol.net.in

2002-10-08 Thread Mikey
Just one of those things you'll have to live with I'm afraid - I have tried mailing the postmaster as I am sure others have but have as yet received no reply :( regards, Mikey +AD4- -Original Message- +AD4- From: Nino V +AFs-mailto:nino+AEA-vessella.it+AF0- +AD4- Sent: 08 October 2002

[PHP-WIN] Creating files with PHP - need help

2002-10-08 Thread Sviss
Hi NG. I'm having problems creating files at a certain location. If I attemt to create a file it gets created in the rootdir (htdocs) even though I add a path infront of the file name. I've tried severel ways of adding a path but nothing works. eksample: "/nef/articles/54.txt" File 54.txt gets

[PHP-WIN] postmaster+AEA-bol.net.in

2002-10-08 Thread Nino V
Hi, who knows why everytime I send a message to the list I receive the following message? - Original Message - From: +ADw-postmaster+AEA-bol.net.in+AD4- To: +ADw-nino+AEA-vessella.it+AD4- Sent: Tuesday, October 08, 2002 9:54 PM Subject: Re: +AFs-PHP-WIN+AF0- API modules not matching +AD

Re: [PHP-WIN] How to detect the language of the user?

2002-10-08 Thread Dash McElroy
Use the variable: $_SERVER["HTTP_ACCEPT_LANGUAGE"] and redirect from there. Look at a phpinfo() screen and it will tell you what language your browser is. I'm not sure what codes you'll need to know about but my english language'd mozilla returns "en-us, en;q=0.50". -Dash On Tue, 8 Oct 2002, Ait

[PHP-WIN] API modules not matching

2002-10-08 Thread Nino V
Hi, I've installed php4 on Win2k, then I've installed EasyPhp. Now at starting of EasyPhp I receive the following message: -- PHP Warning: cybercash: Unable to initialize module Module compiled with module API=20010901, debug=0, thread-safety=1 PHPcompiled with module AP

[PHP-WIN] How to detect the language of the user?

2002-10-08 Thread Aitor
How can I detect the language of the users that visit my web so I can redirect them?

Re: [PHP-WIN] odbc_fetch_array function

2002-10-08 Thread Pascal
Thanks for your message. The database on which I ran the query which result I am trying to fetch with this function is Pervasive 7. However, the PHP parser does not recognize the function name, so I don't believe the issue is with the db. Even on the php.net site, the function is not documented

[PHP-WIN] Where can I get php_odbc.dll

2002-10-08 Thread Douglas F. Keim
I can't find it anywhere. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: ODBC connection parameters

2002-10-08 Thread Softek
I was trying to just run the connect statement and see if it would just connect and got this message. 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\dbconnect.php on line 16 "Dou

[PHP-WIN] Re: ODBC connection parameters

2002-10-08 Thread Douglas F. Keim
OK - found it. odbc_connect. But now I am looking for a db_query and there is none for odbc. I can do the $Query ok but can't seem to find. "Douglas F. Keim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am trying to connect to an ODBC database that is n

Re: [PHP-WIN] RE: [PHP] Deleting multiple items from database using checkboxes

2002-10-08 Thread 1LT John W. Holmes
Yeah, $dele is probably empty. That's why the original code had a count($dele) in it to make sure there were elements there. You could use is_array() in combination with that, too. ---John Holmes... - Original Message - From: "Davy Obdam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Php

[PHP-WIN] ODBC connection parameters

2002-10-08 Thread Douglas F. Keim
I am trying to connect to an ODBC database that is not Access nor MSSQL. I have the ODBC entry done and have tested the connections within the ODBC manager. I noticed that a connection within PHP begins with $Link, but I can't seem to find the values for the rest of the statement. for Mysql it

RE: [PHP-WIN] RE: [PHP] Deleting multiple items from database using checkboxes

2002-10-08 Thread Davy Obdam
Hi John, I have done this now but it gives an error message : Warning: Bad arguments to implode() in C:\Program Files\Apache Group\Apache2\htdocs\davy\guestbook2002\functions.php on line 318 It seems like the array $dele is empty to me, but i am not sure. This is my code //Make query $ids = "'"

[PHP-WIN] Page has expired

2002-10-08 Thread Radovan Radic
Hello When i have javascript code history.go(-1) and i need to go back to the php page, i get errors page has expired. What should i do? Radovan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] odbc_fetch_array function

2002-10-08 Thread Uttam
trying different values of cursor type in the connect function may help: odbc_connect (string dsn, string user, string password [, int cursor_type]) permitted values are: SQL_CUR_USE_IF_NEEDED SQL_CUR_USE_ODBC SQL_CUR_USE_DRIVER SQL_CUR_DEFAULT however, i was not

[PHP-WIN] Refreshing page

2002-10-08 Thread Radovan Radic
Hi I have a form and buttons insert, update, delete with input boxes. Method is post , action $PHP_SELF (php 4.0.6+MSSQL) When user presses insert button then i have action=$PHP_SELF&operation=insert&name=SomeName&lname= &SomeLName&... After submit it all goes well and data are inserted into the

php-windows Digest 8 Oct 2002 12:43:26 -0000 Issue 1377

2002-10-08 Thread php-windows-digest-help
php-windows Digest 8 Oct 2002 12:43:26 - Issue 1377 Topics (messages 16240 through 16247): Re: i need help with an undefined variable 16240 by: SEGUERRA FRANCIS TED ARANAS Re: odbc_fetch_array function 16241 by: SEGUERRA FRANCIS TED ARANAS 16245 by: Matt Kynaston R

WG: [PHP-WIN] Re: [PHP] Deleting multiple items from database using checkboxes

2002-10-08 Thread Philipp Lutz
How about : if (is_array($dele)) { $sql= "DELETE FROM gastenboek WHERE entryID IN (".join(",",$dele)."); mysql_query($sql, $connection); }; Quicker and Cleaner ... and MySQL has less to check... [EMAIL PROTECTED] tech expert pinienstrasse 2 40233 duesseldorf 0211 4 95 35 49 0211 5 07 22

[PHP-WIN] storing images in mysql db ?????

2002-10-08 Thread toby z
hi guyz i ve these images of text n i ve to store em in mysql database ALONG WITH some TEXT n im storing the text in a longtext field vat do i do can n will some1 plz help ? thnx a million guyz toby .. __ Do You Yahoo!? Everythi

RE: [PHP-WIN] odbc_fetch_array function

2002-10-08 Thread Matt Kynaston
Check out the user notes at: http://www.php.net/manual/en/function.odbc-fetch-array.php One includes a workaround if you're using a version where it doesn't exist. Matt > -Original Message- > From: SEGUERRA FRANCIS TED ARANAS > [mailto:[EMAIL PROTECTED]] > Sent: 08 October 2002 05:31 >

[PHP-WIN] Detecting language

2002-10-08 Thread Aitor
How do I detect the language of the browsers that visit my site so I can redirect them to a specific web?

[PHP-WIN] Information not always saved in MySQL when too slow

2002-10-08 Thread Paul van der Vlis
Hello, I have problems with some pages which work fine under Linux (with different program versions). The problem is, that when I am too slow (5 minutes?), the information from a PHP page is not always saved in the MySQL database. Does somebody know more about this problem? PHP 4.06 Apache 1.