Re: [PHP-DB] Header error

2001-06-29 Thread Johannes Janson
Hi, [...] Warning: Cannot add header information - headers already sent by (output started at /home/thesis/public_html/registro.php:2) in /home/thesis/public_html/registro.php on line 80 [...] you can't have any output before calling header(). Output is any HTML or even whitespaces before

[PHP-DB] Looking for info on PHP 4 Ingres DB

2001-06-29 Thread Patrick Bui
Anyone have experience using Ingres with PHP Ingres. I can't find any documentation on the area. -- 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

Re: [PHP-DB] What does this error mean?

2001-06-29 Thread Johannes Janson
Hi, [...] Warning: fopen(logs/993700800.log,w+) - Permission denied in /home/sites/site20/users/guide/web/counter.php on line 28 are you sure you have the rights to access the file? Warning: Supplied argument is not a valid File-Handle resource in

[PHP-DB] TO_DAYS() equivalent?

2001-06-29 Thread David W. Banks
Is there some way to get the equivalent of select TO_DAYS(NOW()) out of PHP without querying MySQL (or whatever.) Some formatting character for the date() function that I'm just missing? Thanks, -Dave -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP-DB] MySQL Error???

2001-06-29 Thread Jonathan Hilgeman
I CC-ed the mailing list by accident. Below is my original reply to Brian. -Original Message- From: Jonathan Hilgeman Sent: Thursday, June 28, 2001 8:14 AM To: 'Brian Grayless' Cc: PHP-DB (E-mail) Subject: RE: [PHP-DB] MySQL Error??? Hi Brian, Sounds like you have a tinyint field.

Re: [PHP-DB] mysql errors .... or php errors ????

2001-06-29 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Steve Brett) wrote: 'invalid index test assumed 'test' in test.php at line 13' can't remember the exact syntax but that's the general idea. if i quote the var when i reference it the error goes away. like $arow['test'] as opposed to

Re: [PHP-DB] delay script

2001-06-29 Thread Jason k Larson
Or perhaps it did. = ) Sorry - I guess CC-ing the message list doesn't work. -- 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] MySQL Error???

2001-06-29 Thread Brian Grayless
Thanks guys. It was all very helpful and worked great! Brian -Original Message- From: Christian Sandfeld [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 3:06 AM To: 'Brian Grayless'; '[EMAIL PROTECTED]' Subject: RE: [PHP-DB] MySQL Error??? Brian, Sounds to me as if the field

[PHP-DB] sybase function for MS-SQL Server

2001-06-29 Thread jong jong
Hi, I am working on Unix(Solaris 2.8) with Apache 1.3 and php4. I need to connect MS-SQL Server without ODBC. I know there is an option that using freetds but I haven't tried it yet. Someone told me that sybase functions can work with MS-SQL Server directly. So I called sybase_xxx() instead of

Re: [PHP-DB] Modify Query, or sift through results?

2001-06-29 Thread Joseph Koenig
My Last post was incorrect - sorry. My correct sql statement would be rlike (^|;)Midwest(;|$). Someone mentioned using Distinct before, which wouldn't work because Distinct acts on a field, to my understanding, so Northwest;East would be different than Northwest;South so it wouldn't really give

Re: [PHP-DB] MySQL connection: Change on syntaxis?

2001-06-29 Thread Paul DuBois
At 9:05 AM +0100 6/22/01, Russ Michell wrote: Is this a new use of the function mysql_num_rows? No!. It's not a change in syntax, but it is a change in PHP's behavior. In PHP 4, mysql_num_rows() and mysql_num_fields() will issue error messages if the argument is not a result set. In PHP 3

[PHP-DB] RE: Storing Code in a db?

2001-06-29 Thread Mikusch, Rita
Yes! I'd be interested in this as well! It would be very convenient to be able to store PHP (or any other server side code) in a database, then retrieve and execute it. I store a lot of website content with embedded HTML commands in a database. Being able to store PHP code in the database as

Re: [PHP-DB] Executing several PHP scripts simultaneously??

2001-06-29 Thread Hugh Bothwell
Consider using set_time_limit() before each sub-script executes; this will time out on any individual script, but let you extend the limit on the master script. Lisa Elita [EMAIL PROTECTED] wrote in message

Re: [PHP-DB] Which state and country?

2001-06-29 Thread Hugh Bothwell
Um... you could look at REMOTE_HOST to get their IP address and use that to look up the address of their server. If you assume they won't log in long-distance, that should give you their country and state, and maybe a useful approximation of their city. Lisa Elita [EMAIL PROTECTED] wrote in

[PHP-DB] What does this error mean?

2001-06-29 Thread Jimi Malcolm
I'm trying to from a file in a directory called 'logs'. I've never seen this error before. What does it mean? ERROR Warning: fopen(logs/993700800.log,w+) - Permission denied in /home/sites/site20/users/guide/web/counter.php on line 28 Warning: Supplied argument is not a valid File-Handle

[PHP-DB] Berkeley DB support

2001-06-29 Thread David Robinson (AU)
Hello I am looking for a version of PHP_DB.DLL that includes Berkeley DB support on the Windows platform. I read the php source (php405\ext\db\db.c) and have determined that DB support is not included by default. The dblist() function returns flat file support enabled. My best guess is to

RE: [PHP-DB] Looking for info on PHP 4 Ingres DB

2001-06-29 Thread Andrew Hill
Patrick, http://www.php.net/manual/en/ref.ingres.php Alternatively, ODBC should work just fine. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access Data Integration Technology Providers -Original Message-

Re: [PHP-DB] mssql_xxx() and characters

2001-06-29 Thread Frank M. Kromann
Hi, You will need to configure the character translation in the Client tools. Open Cleint Network Utility (on the web server running php) and select the DB Library Options tab. There you can enable and disable Automatic ANSI to OEM convertion. If you are using the ISAPI version of php you

RE: [PHP-DB] Which state and country?

2001-06-29 Thread Chris Mason
Turn on referrers in the Apache config file and do reverse DNS lookuips in your web analyser. -Original Message- From: Lisa Elita [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 9:21 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Which state and country? Hi all, How can we know

[PHP-DB] ereg and first occurence

2001-06-29 Thread olinux o
Hi all, I would like to extract a piece from an html file. But when I try the ereg function like this it ends up pulling EVERYTHING from the first occurence of FONT face=Verdana all the way to the end of the file. eregi(FONT face=Verdana(.*)/FONT, $string, $output); for example: any thoughts

[PHP-DB] UPLOAD

2001-06-29 Thread Enrico Comini
My problem is to browse a local pc (win) and upload a file in a remote database. There is a simple solution ? Thanks, Enrico

RE: [PHP-DB] error ORA-12699

2001-06-29 Thread Anthony Carlos
Sang, Your tnsnames file appears to be misconfigured. It should look like this: ORCL = (DESCRIPTION= (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 1521)) (CONNECT_DATA = (SID = ORCL))) The first line, ORCL =, lets you know what to use as your connect string. In this case,

RE: [PHP-DB] mysql errors .... or php errors ????

2001-06-29 Thread Steve Brett
the code wasn't mine. it was a drop in message board. Steve -Original Message- From: Jason k Larson [mailto:[EMAIL PROTECTED]] Sent: 28 June 2001 11:12 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] mysql errors or php errors Another thought came to mind. These

[PHP-DB] preg_match

2001-06-29 Thread olinux o
k I have no idea on this. My code: 8 $begin = Property Type; 9 $end = BR; 10 preg_match($begin . (.*) . $end, $str, $data); The error: Warning: Delimiter must not be alphanumeric or backslash in c:\apache\htdocs\index.php on line 10

Re: [PHP-DB] FW: strange numbers in link

2001-06-29 Thread Hugh Bothwell
[EMAIL PROTECTED] wrote in message BB6D932A42D6D211B4AC0090274EBB1D2EEE87@GLOBAL1">news:BB6D932A42D6D211B4AC0090274EBB1D2EEE87@GLOBAL1... Our website uses mysql/php. Good! ;-) I found the link written below as a hard coded link and I can't figure out why the programmer would have used

Re: [PHP-DB] How do I keep the values of objects when refreshing page?

2001-06-29 Thread Hugh Bothwell
Hector M Banda [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, My page is getting the values and the submits itself displaying the information but the original selection is gone showing the objects with no info. ... so you have a form which submits

[PHP-DB] Header error

2001-06-29 Thread Wilmar PĂ©rez
Hello guys Thanks very much for your help on the ADODB error, I have already fix it. Now I've got another weird message. When I send data to the DataBase from a form, it does store the data but sends me back the following response: