[PHP-DB] TCP/IP Server Question

2001-02-15 Thread JCampbell
I was recently looking at the talker example at http://www.php.net/manual/en/ref.sockets.php Does anyone know an example of making this same code for multiple connections. I'd love to see any working examples www.PictureArena.com === The lack of humility before natu

Re: [PHP-DB] problems with require...

2001-02-15 Thread Joe Brown
Try using the full path to your include or require file... see if that works. inlude("D:\Inetpub\paulberry\press.inc"); The include_path is a list of directories where php should expect to find files. Yours appears to be empty. Edit your php.ini to change this. I don't remember if the curren

[PHP-DB] Re: [PHP] Passing vars

2001-02-15 Thread Andrew Hill
You may wish to consider why you need to pass 30 lines of code in a variable. If the code is static, store it in include files and then pass it in depending one a variable if ($variable=1) { include(your30linefile); } else { inclue(someotherfile); } or to use a database query

[PHP-DB] RE: [PHP] Passing vars

2001-02-15 Thread Maxim Maletsky
you can use sessions .. php.net/sessions the session are cookies which will remember the user and will copy what you need on your system, making these 30 lines available only to him for the time you specify. Cheers, Maxim Maletsky -Original Message- From: Tanya Brethour [mailto:[EMAIL

[PHP-DB] Basic sybase question

2001-02-15 Thread wj
I'm starting a project using SYBASE and PHP, but I'm having trouble connecting to the SYBASE server. I'm new to this, so how can I determine if I'm just being stupid or if SYBASE PHP or apache was installed incorrectly? I use: UNIX: digital OSF/1 SYBASE 11.9.2 APACHE 1.3.9 PHP 4.0.1pl2 My SY

RE: [PHP-DB] Related frames

2001-02-15 Thread John Halladay
It worked!! Você é um gênio!! Thanks a bunch, John -Original Message- From: JJeffman [ mailto:[EMAIL PROTECTED] ] Sent: Thursday, February 15, 2001 6:59 PM To: John Halladay; PHP DB List (E-mail) Subject: Re: [PHP-DB] Related frames How about use " Para: PHP

Re: [PHP-DB] Related frames

2001-02-15 Thread JJeffman
How about use " Para: PHP DB List (E-mail) <[EMAIL PROTECTED]> Enviada em: quinta-feira, 15 de fevereiro de 2001 19:46 Assunto: [PHP-DB] Related frames > I'm trying to have a link in one frame display data in the main frame. Here > is an example of what I have set up. Normally in HTML you would

Re: [PHP-DB] Excel to Mysql

2001-02-15 Thread Wayne Bastow
Gaby, You could save the excel as a text file and then load the file into MySQL Wayne On Fri, 16 Feb 2001 11:45, Gabriel Adame wrote: > > Hi, > > ¿ Please, someone have an excel macro to export data to mysql ? > > Thanks > > Gaby > _ > > ¿ Tu mama piensa que

[PHP-DB] Excel to Mysql

2001-02-15 Thread Gabriel Adame
Hi, ¿ Please, someone have an excel macro to export data to mysql ? Thanks Gaby _ ¿ Tu mama piensa que eres muy inteligente ? Desengañate jugando ... http://www.atrivia.com __

[PHP-DB] overall db solution anyone?

2001-02-15 Thread Kevin McCarthy
I am working for a company is experiencing severe growing pains. We are currently using FileMaker as the db to service the accounting and sales departments and using MySQL for the web back-end. As we have ecommerce capabilities, we are saddled with exchanging data collected on and served to th

[PHP-DB] Windoze crashes on this simple logon script.

2001-02-15 Thread Larry Rivera
Anyone have similar exp on why this would crash on Win32 is IIS if (isset($it)){ // Check Entered User Credentials if(($logon == "SuperUser") && ($pass == "Pass")){ session_start(); session_register('logon'); header("Location:$PHP_SELF"); exit(); }else{ etc . . . . - Original Message -

RE: [PHP-DB] Basic MySQL question

2001-02-15 Thread austin govella / desire media
> Is the mysql server process running? I assume this is a unix box of some > sort. Try "ps -ef | grep mysqld". Get any results? I get: reeluniv 2221 1900 0 Jan30 ?00:00:00 ./mysqld reeluniv 2221 0 Jan30 ?00:00:09 ./mysqld reeluniv 2223 0 Jan30 ?00:00

[PHP-DB] mysql_query failure

2001-02-15 Thread Alexandre Sagala
I am getting this weird error with my mysql database. I have 100 pages with code to access my database. All my queries work except one. Here is an example $con = mysql_connect($DB_SERVER, $DB_USER, $DB_PASS) or die ("Cant connect"); mysql_select_db($DB_NAME); $rst = mysql_query("SELECT * FROM D

[PHP-DB] Related frames

2001-02-15 Thread John Halladay
I'm trying to have a link in one frame display data in the main frame. Here is an example of what I have set up. Normally in HTML you would have TARGET="main" in the spot, but I tried that and it gives me a parse error. Any ideas on how to do it, or does anyone have know of any websites that

Re: [PHP-DB] Basic MySQL question

2001-02-15 Thread Darryl Friesen
> At someone's advice, I found mysqladmin w/ "whereis mysqladmin" and later > did ./bin/mysqladmin in the mysql installation dir (which got me a printout > of a bunch of commands for use with mysqladmin, but none of them worked), > but I still can't get anywhere. Is the mysql server process runni

RE: [PHP-DB] Basic MySQL question

2001-02-15 Thread austin govella / desire media
mysqladmin -u root create contacts and mysql -u root -p Neither work. I get a "command not found" error for both. At someone's advice, I found mysqladmin w/ "whereis mysqladmin" and later did ./bin/mysqladmin in the mysql installation dir (which got me a printout of a bunch of commands for use

RE: [PHP-DB] Basic MySQL question

2001-02-15 Thread Angerer, Chad
What code are you using to try and connect to the mySQL server? Chad -Original Message- From: austin govella / desire media [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 4:27 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Basic MySQL question I'm starting a project using MyS

Re: [PHP-DB] php_dbase.dll

2001-02-15 Thread dmalcolm
SKREEM wrote: > I recently installed version of Php, but cannot find any extension libraries >available for download. Where can I obtain php_dbase.dll ? I also need the relevant >dll for using the socket() function. > > Thanks :) Look in the extension subdirectory under your PHP installation d

[PHP-DB] Basic MySQL question

2001-02-15 Thread austin govella / desire media
I'm starting a project using MySQL and PHP, but I'm having trouble connecting to to the MySQL server. I'm new to this, so how can I determine if I'm just being stupid or if MySQL was installed ioncorrectly? Many thanks, --- Austin Govella Web designer, D. Hilton Associates, Inc. Tel: (800) 367-0

[PHP-DB] Microsoft SQL Server and views

2001-02-15 Thread Paul Clements
Hi, Sorry if this has been asked before but I've looked everywhere and not found the answer to the question Can you access views from mssql_query? I seem to be getting Invalid Object Name reported back to me. Any help would be appreciated Thanks Paul Clements -- PHP Database Mailing L

RE: [PHP-DB] Escaped Apostrophes and Quotes

2001-02-15 Thread Rick Emery
Ah yes...good ol' RTFM. Thanks. I missed that, although I looked through the manual before asking. thanks rick Richard L. Emery IT Sr. Project Manager -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 10:12 AM To: Rick Emery Sub

[PHP-DB] Escaped Apostrophes and Quotes

2001-02-15 Thread Rick Emery
My PHP output displays escaped apostrophes and quotes. Given the following example FORM and PHP3 script: index.html == http://www.somedomain.com/myscript.php3"> Enter data: myscript.php3= == In the text field, if the user enter

[PHP-DB] ORA-12705

2001-02-15 Thread ricardo vercesi
** Proprietary ** Hi there! I'm running Apache 1.13.17 on Win2K with PHP 4.04pl1 and trying to connect to a Oracel 8.1.6 db on HP-UX I get the following error: Warning: OCISessionBegin: ORA-12705: invalid or unknown NLS parameter value specified in c:\program files\apache group\apache\htdocs

Re: [PHP-DB] OCI8 error problems

2001-02-15 Thread Brian Lalor
On Thu, 15 Feb 2001, Thies C. Arntzen wrote: > how should it? > > you would have to pass in the correct statement|connection > handle - elsewise it simply won't work! Ok, that was a cobbled-up code snippet; replace $this->conn with $conn, and $statement with $s. It still doesn't wor

[PHP-DB] php_dbase.dll

2001-02-15 Thread SKREEM
I recently installed version of Php, but cannot find any extension libraries available for download. Where can I obtain php_dbase.dll ? I also need the relevant dll for using the socket() function. Thanks :)

Re: AW: [PHP-DB] OCI8 error problems

2001-02-15 Thread Brian Lalor
On Thu, 15 Feb 2001, Matthias Kopolt wrote: > > Warning: OCIStmtExecute: ORA-1: unique constraint (CUSTOM.SYS_C007900) > violated ORA-06512: at > >"CUSTOM.MULT_SHIP_ADDRESS_PKG", line 162 ORA-06512: at line 1 in db.php on > line 344 > > this has nothing to do with PHP, this is your person

RE: Re: [PHP-DB] Problems with images in the db

2001-02-15 Thread Allsebrook_Richard/askr
BDY.RTF -- 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] OCI8 error problems

2001-02-15 Thread Thies C. Arntzen
On Wed, Feb 14, 2001 at 05:40:02PM -0500, Brian Lalor wrote: > Good afternoon, all. Sorry if this has been covered before, but a search > of the archives doesn't turn up any relevant answers. > > I'm having a problem with the OCI8 commands. I'm using PHP 4.0.4pl1 with > Oracle 8.0.5 (yes, I kno

[PHP-DB] Internet Explorer cannot display image page output from gs

2001-02-15 Thread Osman Omar
hello, I try to display an image (convert from pdf file using ghostscript) below is my code problem is internet explorer cannot display the output image, IE continue downloading image but when I press the stop button (stop connection) internet explorer display the image. platform win98 ps: Unde

Re: [PHP-DB] Problems with images in the db

2001-02-15 Thread Stas Trefilov
Hello, Sunil Jagarlamudi! You wrote: > How do I overcome that ? When I try to just echo the > image it works fine, > but when I try to add a few more lines like echoing > other rows which have firstname and lastname of the > people nothing comes out Imagine you open an image file from the disk

Re: [PHP-DB] rewriting this query to remove IN

2001-02-15 Thread Stas Trefilov
Hello, "Scott Mebberson"! You wrote: > $search = "SELECT count(search_table.word) as score, > search_table.qid,page_data.contents > FROM search_table,page_data > WHERE page_data.pID = search_table.qid AND > search_table.word > IN($querywords) > GROUP BY search_table.qid > ORDER BY score DE

[PHP-DB] Unable to load dynamic library './php_mssql70.dll'

2001-02-15 Thread lolodev
i 've install php4 i use msql_connect in my soft and Unable to load dynamic library './php_mssql70.dll' ? i've write in php.ini : extension=php_mssql70.dll ??? where can i found that ? this URL http://download.swwwing.com don't runs thanks -- PHP Database Mailing List (http://www.php.net

[PHP-DB] How can i extract txt files from my db that can be imported into Excel? (tabular separated values) + a second question for server admins

2001-02-15 Thread Trond Erling Hundal
Hey there. I need to extract a table in my db where users have registrered some information about themselves. Now I need to extract these tables so some of the employees here can use them in Excel... How do I do this? ---Query 2 What is the minimun capacity a web server should have on it`s