[PHP-DB] Creating Links in data output

2003-10-17 Thread Tonya
Hi :) I am new to PHP and new to this mailing list, so I hope I am not asking something that you tire of answering :) I am creating my first news posting application and I need a function to convert any URLS added to the news message into links. I found this snippet: function

[PHP-DB] sybase and php

2003-10-17 Thread Pedro A. Rodriguez Nurse
Hi, a need a problem. When I try to connect a my DB Sybase from PHP, I have this error.: Warning: sybase_connect(): Sybase: Server message: Changed database context to 'INTERNACIONAL_CDR'. (severity 10, procedure N/A) in E:\WWWRoot\internacionalonline\adodb\adodb-sybase.inc.php on line 86

Re: [PHP-DB] Re: [PHP] $_POST in MySQL query issue...

2003-10-17 Thread Jon Kriek
Since this was posted in php.general and php.db, I only ended up correcting myself to the orginal poster and to php.general. $table= 'elements'; $Name = mysql_escape_string($_POST['elementName']); $sql = INSERT INTO $table SET Name= '$Name'; waste of variable space, and makes what you are doing

[PHP-DB] disable History

2003-10-17 Thread open-mind
How can I disable the use of History(Temporary Internet Files) in a page ? (and don't tell me: it's easy: Tools-internet options-settings ...;-) ... from script (htm ?, js ?, php ?) I want to do this ..) PS: I have a script witch generate jpegs (cuts from a larger one) and sometimes in

[PHP-DB] faster imagecreatefromjpeg

2003-10-17 Thread Georgescu Vlad
i need to replace the using of imagecreatefromjpeg($jpgpath) with something more faster PS: the image to load has: 198 MB (208,603,887 bytes) --- Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus. Xnet

[PHP-DB] Re: faster imagecreatefromjpeg

2003-10-17 Thread open-mind
i need to replace the using of imagecreatefromjpeg($jpgpath) with something more faster PS: the image to load has: 198 MB (208,603,887 bytes) -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] disable History

2003-10-17 Thread open-mind
How can I disable the use of History(Temporary Internet Files) in a page ? (and don't tell me: it's easy: Tools-internet options-settings ...;-) ... from script (htm ?, js ?, php ?) I want to do this ..) PS: I have a script witch generate jpegs (cuts from a larger one) and sometimes in

Re: [PHP-DB] faster imagecreatefromjpeg

2003-10-17 Thread mike karthauser
on 17/10/03 3:57 pm, Georgescu Vlad at [EMAIL PROTECTED] wrote: i need to replace the using of imagecreatefromjpeg($jpgpath) with something more faster PS: the image to load has: 198 MB (208,603,887 bytes) Why not resize the image using photoshop first? Any app resizing 200Mb images are

[PHP-DB] ODBTP - ODBC - FOXPRO.

2003-10-17 Thread Ricardo C. Fernandez de C.
Hi all, After reading your emails I installed ODBTP so I could access my ODBC server from my linux box, but i'm still getting some errors, this is my code: ? $link = odbtp_connect('172.16.4.106','Driver={Microsoft Visual FoxPro Driver};SourceDB=c:\telefonia\CDTCTL01.DBF;SourceType=DBF'); ?

Re: [PHP-DB] faster imagecreatefromjpeg

2003-10-17 Thread Georgescu Vlad
The image is a satellite picture (width=11448 height=16624). Resizing is not on option. I want to make a site in witch the user can pan (navigate) this image. I don't want to resize. I want to cut the picture. I hope this will take less time/resources. Any ideas ? - Original Message -

RE: [PHP-DB] faster imagecreatefromjpeg

2003-10-17 Thread Griffiths, Daniel
you said it yourself, cut the image up into lots of parts first in photoshop or whatever, keep at track of the grid refs that go with which bit of the image and only show the part or parts of the image that you need at anyone time. -Original Message- From: Georgescu Vlad [mailto:[EMAIL

[PHP-DB] Re: Acces Microsoft access database in shared mode

2003-10-17 Thread Marco Montesines
Hi Jeroen, If you're going to update the file...the database will be locked... but if your just going to view it...it should be fine Jeroen Verhoeven [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I try to acces an access database from a PHP script runnig on an NT machine with

[PHP-DB] Re: disable History

2003-10-17 Thread Gabriel Peugnet
Check the Header() function in the manual: // Tels to the browser the page has caducated and forces to reload.. header(Expires: Mon, 26 Jul 1997 05:00:00 GMT); // Avoids cahce. It seams it's what you want. header(Cache-Control: no-cache, must-revalidate); Gabriel. Open-Mind [EMAIL PROTECTED]

[PHP-DB] ORA-01704: string literal too long AND PHP/PEAR

2003-10-17 Thread Roger Spears
Ok all of you Oracle experts out there, I've had one heck of a day wrestling with this oracle stuff. My experience with Oracle is turning into a greek tragedy. I'm using PHP/PEAR to execute my queries on an oracle table. I'm trying to store very long pieces of text into a CLOB field.

[PHP-DB] What is this Mealer Deamon message?

2003-10-17 Thread Roger Spears
I sent a post earlier..and got this in reply... Hi. This is the qmail-send program at pb1.pair.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: This message is looping: it

[PHP-DB] Best way to show multiple pages reports from database

2003-10-17 Thread Dejan Milenkovic
I'm not fammiliar with internal MySQL architecture and exactly how things work but I was wondering what is the most effcient way of spliting reports over multiple pages. Is there a preformance difference between these two codes, specialy if there are some complex conditions and joins that should

Re: [PHP-DB] ODBTP - ODBC - FOXPRO.

2003-10-17 Thread Robert Twitty
Setting SourceDB=c:\telefonia\; instead of SourceDB=c:\telefonia\CDTCTL01.DBF; solved the problem. -- bob Warning: [S1000][1][Microsoft][ODBC Visual FoxPro Driver]Fox Error 1 [IM006][0][Microsoft][Administrador de controladores ODBC] Error de SQLSetConnectAttr del controlador in

[PHP-DB] MySQL Query not working via PHP

2003-10-17 Thread Sean Smitz
I have a query that works in MySQL but when I try to execute it in PHP I encounter the following error: //Generated by the script Couldn't execute query! // Generated by MySQL MySQL reports: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for

Re: [PHP-DB] MySQL Query not working via PHP

2003-10-17 Thread Matthew Moldvan, Jr.
I would say try single quotes instead of double quotes ... let me know if that works ... Regards, Matt. - Original Message - From: Sean Smitz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 17, 2003 4:32 PM Subject: [PHP-DB] MySQL Query not working via PHP I have a

[PHP-DB] RE: [PHP-WIN] Re: $_POST in MySQL query issue...

2003-10-17 Thread Socheat
Dear all , Could anyone help me to use crypt() function on window system ? , I want to use all libraries that currently not support in PHP like crypt(), but I want to use it.How could i make it work? -Original Message- From: Lang Sharpe [mailto:[EMAIL PROTECTED] Sent: Thursday,