[PHP-DB] Intialize PHP Module on Windows98

2001-04-30 Thread Benny
I have a problem on intializing PHP module. I've installed PHP on my windows 98 system. I used PWS. I placed php on c:/Php. My home directory is c:/Inetpub/myfolder. This is the php.ini, Paths and Directories section : doc_root = c:/Inetpub/myfolder extension_dir =

RE: [PHP-DB] Fatal error: undefined function mysql_connect()

2001-04-30 Thread Lester June Cabrera
Shouldn't it be --with-mysql=... ? At 09:17 AM 4/30/01 +0200, Newsletter wrote: Hi there, we have the same problem on our Debian. In the top of the output of phpinfo() says -with-mysql=share, but there is no section with mysql and the settings further down. Maybe someone knows the answer!

[PHP-DB] nobody header

2001-04-30 Thread Jennifer Arcino Demeterio
hello, i hope you could help me with this, the script below gives me a from header = Nobody; and the $from which is supposed to be the header has been included in the body of the email. How can i make the $from to be placed in the header? $from = [EMAIL PROTECTED];

[PHP-DB] PHP4, APACHE, SCO INFORMIX

2001-04-30 Thread Paul Gardiner
Hi Everyone, Firstly, apologies for cross posting but I wanted to make sure this got to the relevant people. I am continually getting people asking me off list for information regarding building the above combination. I don't mind as it's encouraging to see PHP spreading to this type of

RE: [PHP-DB] PHP problem

2001-04-30 Thread Steve Brett
user something like this: the thing you're looking for is the SELECTED bit of the select drop down ... echo 'select name=month onChange=document.thisForm.submit()'; $months = Array(January, February, March, April, May, June, July, August, September, October, November, December); for ($x=1; $x

Re: [PHP-DB] How to randomly select data in a field. Please help newbie.

2001-04-30 Thread Johannes Janson
Hi, you could do the random selection in MysSQL if you use it using a query like this. SELECT FieldWithURL FROM YourTable ORDER BY RAND() LIMIT 0,1; This will give you a random field. If you want more fields you have to set different values for the limit. Like LIMIT 0,5 for the first 5 row.

RE: [PHP-DB] Select statements - A Quest !!!

2001-04-30 Thread Steve Brett
i worked at a particularly PC bank once ... Kaizen was the management philosophy and means 'never ending horizon' or words to that effect ... maybe their get Kaizen points per department ... sounds lovely, :-) Steve -Original Message- From: Bob Hall [mailto:[EMAIL PROTECTED]]

[PHP-DB] save data to file problem...

2001-04-30 Thread ns
Hi I want to save data from mysql to a text file when i search...a popup window should come up that says save as How can i do that? Thanks Nils -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP-DB] Intialize PHP Module on Windows98

2001-04-30 Thread Joe Brown
Looks like you've got different versions for php and your modules. Since php is the oldest, make sure you have the newer php4isapi.dll and php4ts.dll in the system directory, or wherever you installed them. Benny [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I

[PHP-DB] Updating Mysql database from a remote computer

2001-04-30 Thread Marko Lesnik
The database will be created on a local computer and it only needs to be transferred to the server (it's a read-only database when it's on the net). The problem is that the database itself isn't located in directory, where we could access it with Ftp client and simply owerwrite it with the

[PHP-DB] PHP and Access to DB2.

2001-04-30 Thread Nicolas Machado
Hy, somebody knows if exist a driver for database access to DB2/400, running on AS/400. Something like a module. Thanks. --- Este Mail NO contiene Virus. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.250 / Virus Database: 123 - Release Date: 18/04/01 -- PHP

[PHP-DB] Checking query suceeded

2001-04-30 Thread Jordan Elver
Hi, If I'm doing more than one query on a page what is the best way to check if they all succeeded with out using transactions? TIA, Jord -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP-DB] linking images

2001-04-30 Thread olinux o
Best way to do it is to store the filename in the db, faster and really simple. What I have done at my site is write a script that uploads the file. Uploading generates something like three variables [filesize, filetype, and filename] the only one I am concerned with is filename. The variables

[PHP-DB] Executing a PL/SQL Function

2001-04-30 Thread Marcelo Dias de Toledo
Here is the code: $stmt = OCIParse($conn,BEGIN prontolog.pc_int.pedido(:p_cgc_lweb, :p_id_cliente, :p_id_pedido, :p_id_transp, :p_contrato, :p_dt_emissao, :p_dt_chegada, :p_dt_entrega, :p_vl_frete, :c_nome, :c_fone1, :c_fone2, :c_fax, :c_email, :c_endereco_f, :c_bairro_f, :c_cep_f, :c_cidade_f,

Re: [PHP-DB] Executing a PL/SQL Function

2001-04-30 Thread Joe Brown
Does the database user your logging in as have execute permissions for that procedure? Marcelo Dias de Toledo [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Here is the code: $stmt = OCIParse($conn,BEGIN prontolog.pc_int.pedido(:p_cgc_lweb, :p_id_cliente,

RE: [PHP-DB] Updating Mysql database from a remote computer

2001-04-30 Thread Beau Lebens
if the computer where the writable copy of the database is stored is permanently connected to the other one, then you could just create a new user for that database using mysqls security features which only has access to read information, no change or delete. and yes you can connect using an ip,

[PHP-DB] More information about PHP Oracle 8i

2001-04-30 Thread Jimi
Hi, I would like to know if there is any other information about PHP Oracle 8i, websites etc Sean -- 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:

Re: [PHP-DB] Keeping authentication

2001-04-30 Thread Miles Thompson
Here's the way I do it . I started using a cookie, but switched to session as I wanted the authentication to expire when the user closed the browser. The UserLogin function is in User_login.php. FetchUsrData checks the names and password against the database and returns either 1 (true) or 0

Re: [PHP-DB] PHP and Access to DB2.

2001-04-30 Thread Phil Jackson
Check www.p2p.wrox.com...more later on this Phil J. Nicolas Machado wrote: Hy, somebody knows if exist a driver for database access to DB2/400, running on AS/400. Something like a module. Thanks. --- Este Mail NO contiene Virus. Checked by AVG anti-virus system