[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

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

2001-06-25 Thread Andreas D. Landmark
At 25.06.2001 09:41, you wrote: >hi, > >i have a site and need to write a script to upload / download files so the >database can be updated / backed up. > >i've tried setting up an machine but php gives an eror onthe server saying that the /php/tmp dir >cannot be written to by, i assume, the nobo

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 A

[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... t

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 di

[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 my

[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 and

[PHP-DB] Interbase Problem

2001-06-25 Thread Niel Zeeman
Hi there I have a problem in that we run a production interbase server that I access making use of PHP4.0.4pl1 and apache 1.3.19. The interbase server is a separate machine to the webserver. Now the site will be running fine and then something will just trigger the ibase server and it will push

[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 u

[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 Sp

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

Re: [PHP-DB] Does PHP work with MSSQL 2000?

2001-06-25 Thread Massimo Foti
""Chris Cowan"" <[EMAIL PROTECTED]> wrote in message news:9gtnjj$g9j$[EMAIL PROTECTED] > Does PHP work with MSSQL 2000? It works fine for me on a Win2000 box running Apache 1.3.20 for Windows. Massimo -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE