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

RE: [PHP-DB] delay script

2001-06-29 Thread Jonathan Hilgeman
Use a META refresh tag: http://www.pageresource.com/html/metref.htm - Jonathan -Original Message- From: Jennifer Arcino Demeterio [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 2:31 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] delay script hello! does anyone knows how to

[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] delay script

2001-06-29 Thread Jonathan Hilgeman
Sorry - I guess CC-ing the message list doesn't work. My Original Message: Use a META refresh tag: http://www.pageresource.com/html/metref.htm - Jonathan -Original Message- From: Jennifer Arcino Demeterio [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 2:31 AM To: [EMAIL

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.

FW: [PHP-DB] Variable Variables in PHP

2001-06-29 Thread Jonathan Hilgeman
Below is my reply to Morgan the other day. -Original Message- From: Jonathan Hilgeman Sent: Wednesday, June 27, 2001 8:36 AM To: 'Morgan Tocker' Cc: '[EMAIL PROTECTED]' Subject: RE: [PHP-DB] Variable Variables in PHP Try changing your inputs to: PRINT INPUT type='text'

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] Oracle Client to connect to remote DB

2001-06-29 Thread Brian S. Dunworth
Hi Jeff... Hmm. I'm not certain, as every Oracle installation (db or client) I've ever done has been from the console. In this particular situation, I seem to recall that the Oracle 8i installation is an X11 application, and I have no idea whether it would work even if you had X11

Re: [PHP-DB] delay script

2001-06-29 Thread Marty Landman
At 11:09 am 6/28/01 +0800, you wrote: hello! Hi Jennifer. does anyone knows how to delay a display of a certain page ... for example, if i will click on logout button, it will show a page which will say logging out then after 5 seconds it will redirect to the login page. You can do this by

Re: [PHP-DB] Oracle Client to connect to remote DB

2001-06-29 Thread Rouvas Stathis
If you can find it, try Ora.8.0.5. It is the last version of Oracle that I know that doesn't require X-session to install. -Stathis. Mindblender wrote: Do you know if the Oracle client can beinstalled via the command line? I don't have access to the box itself, only telnet access. Jeff

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

2001-06-29 Thread Jonathan Hilgeman
Hi Brian, Sounds like you have a tinyint field. Change it to something like int(4) or bigger, like int(6) or something. TinyInt fields can only hold up to 127, so when you add another record, the auto-incrementing field you're using cannot go any higher, so it tries to assign 127, but 127 is

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

2001-06-29 Thread Paul DuBois
At 10:24 AM -0600 6/27/01, Brian Grayless wrote: Is anyone familiar with this MySQL error? 1062: Duplicate entry '127' for key 1 I wrote a great bookmark management program that works fine, but everytime I insert bookmarks, I insert somewhere over 120 and I start getting this error, and it won't

RE: [PHP-DB] delay script

2001-06-29 Thread Steve Brett
this will do the redirect echo'meta HTTP-EQUIV="Refresh" CONTENT="1;URL=YOUR URL**"'; content=X will set the delay in seconds. Steve -Original Message- From: Jennifer Arcino Demeterio [mailto:[EMAIL PROTECTED]] Sent: 28 June 2001 04:10 To: [EMAIL PROTECTED] Subject:

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] retrieving images from mysql

2001-06-29 Thread Pétur Björn Thorsteinsson
I have a strange problem and was wondering if anyone had an idea of what was going on. I have a php script that displays images I place in a database. The reason I place the images in a database is because it simplifies things and the performance of the database itself is not an issue for this

[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] Grabbing string between two other strings.

2001-06-29 Thread olinux
Hey all. I am searching for a function that will return a string that is between two other strings: For example: The end result is: $text is 'This is the text I want' Here is the beginning string. font face=arialThis is the text I want/font The function would take something like

[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

[PHP-DB] unsubscribe me

2001-06-29 Thread Quentin Krengel
unsubscribe me -- 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] 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: