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] 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 know

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]

[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

[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 == HTML HEAD/HEAD BODY FORM method="post" action="http://www.somedomain.com/myscript.php3" Enter data: INPUT type="text" name="mydata"BR INPUT type="submit"

[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

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

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

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

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 running?

[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 a href="" /a 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

[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

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 ?

[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] 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 eres muy

Re: [PHP-DB] Related frames

2001-02-15 Thread JJeffman
How about use "A TARGET='main' HREF=\"" ... HTH JAYME. -Mensagem Original- De: John Halladay [EMAIL PROTECTED] 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

RE: [PHP-DB] Related frames

2001-02-15 Thread John Halladay
It worked!! Voc um gnio!! Thanks a bunch, John -Original Message- From: JJeffman [ mailto:[EMAIL PROTECTED] 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 "A

[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

[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

[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

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

[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 Jon www.PictureArena.com === The lack of humility before