Re: [PHP-DB] Oracle-PHP (contd.)

2001-06-25 Thread Philippe Saladin
Are you sure you need an environment variable to store that? if yes, this script should do the trick : putenv(TNS_ADMIN=/ora1/app/oracle/product/8.1.6/network/admin); --- $tns = getenv(TNS_ADMIN); echo $tns; Regards, Philippe Vandana [EMAIL PROTECTED] a écrit dans le message news: [EMAIL

RE: [PHP-DB] submitbutton/imagebutton

2001-06-25 Thread Matt Williams
I'm kind of new to php so there may be an obvious answer but I can't find it for the moment. What I want to do is change the 'type=submit' of a submit button to 'type=image' so I can control the looks of the button. In pure HTML there is of course no problem, the image is still used as a

[PHP-DB] managing variant data

2001-06-25 Thread Jesse Scott
Hi again, another conundrum. What is the best way to deal with the following situation? You have a group of common properties including a property that indicates a second group of common properties. For example, suppose you have this table: Officers Name Rank Age Height Weight

[PHP-DB] access to a access db via php

2001-06-25 Thread Matthias Machnik
Hello NG, it's the first time I use this NG and I'm not sure whether I'm I right here or not. The problem: I'm a beginner in php (just started to read the first introductions). I created a guestbook with FP2000. The entrys where safed in and shown from a db. FP 2000 nearly created it by itself

[PHP-DB] Database access using ODBC

2001-06-25 Thread [EMAIL PROTECTED]
Hi, Long time reader, first time poster! I am new to php coming from a generally MS (unfortunately) background (Access, VB, SQLServer) and I am looking to branch out a bit. I have a client who wishes to have an internet front-end to an Access database. I am using php with odbc to access this

[PHP-DB] Re: MySQL: alphabetizing, skipping the , a

2001-06-25 Thread Cameron Metcalf
Hey all, I'm trying to generate a alphabetized list of items from my database, but I want to alphabetize the list, skipping the leading articles in the title for each item. some solutions suggest creating a 2nd (dummy name) column to alphabetize by, but I don't want to maintain two columns for

Re: [PHP-DB] upload problem ...

2001-06-25 Thread Andre P.
Steve, When you use input type=file the web server uploads the file to a temporary directory which it must have write access to, i.e. the user that the httpd process is run as must have write access to /php/tmp. To my knowledge there is no way of allowing the httpd process to write to that

[PHP-DB] Cookies

2001-06-25 Thread webmaster
How can I request a persistant cookie from the clients computer (to make a autologin) this doesnt work :echo $HTTP_COOKIE_VARS[nameCookie] code to set cookie: setcookie(newsLogin,$value,time()+ 3348000); if i ask from the same page I get the values I need but not from a different page... thx

Re: [PHP-DB] Database access using ODBC

2001-06-25 Thread Miles Thompson
Colum, Did you check out www.php.net/odbc_Exec One of the solutions posted in the comments was to download and install a new ODBC driver from MSFT. Are you getting a valid integer returned to $DBConn? NOt worked with this, but I hope those are helpful suggestions - Miles Thompson At 08:38

[PHP-DB] Is MySQL in 4.0.6?

2001-06-25 Thread Adam Lundrigan
Is MySQL included in the 406kb version of PHP 4.0.6? When I try to connect to MySQL (after adding localhost paswords to php.ini) using this version it says: Warning: Can't connect to MySQL server on 'localhost' (10061) in mysql_local_test.php on line 2 From what i've heard, MySQL is included