[PHP] Trouble with calling an external program in PHP

2004-06-29 Thread Indrek Siitan
Hi, I'm writing a small image stock application that stores EPS files (that's what the client is using for their work). Since GD doesn't support EPS, the only alternative I've found to create thumbnails is to use the 'convert' utility from ImageMagick. When testing it on the command line and

[PHP] Failing to get the semaphore

2002-02-28 Thread indrek siitan
/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Indrek Siitan [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, The Web Guru /_/ /_/\_, /___/\___\_\___/ Tallinn, Estonia ___/ www.mysql.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Unicode

2001-10-20 Thread indrek siitan
xx UTF-8 encoding. Rgds, Indrek -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Indrek Siitan [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, The Web Guru /_/ /_/\_, /___/\___\_\___/ Tallinn, Estonia

Re: [PHP] PHP and Unicode

2001-10-20 Thread indrek siitan
/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Indrek Siitan [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, The Web Guru /_/ /_/\_, /___/\___\_\___/ Tallinn, Estonia ___/ www.mysql.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] echo $PHP_SELF doesn't work in an include

2001-09-06 Thread indrek siitan
]. if that works, then you must have a scope problem. Rgds, Indrek -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Indrek Siitan [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, The Web Guru

Re: [PHP] mysql , postgres

2001-08-19 Thread indrek siitan
, Indrek -- For technical support contracts, goto https://order.mysql.com/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Indrek Siitan [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, The Web Guru /_/ /_/\_, /___/\___\_\___/ Tallinn, Estonia ___/ www.mysql.com

RE: [PHP] Domino db

2001-05-10 Thread indrek siitan
Hi, 1. Is it simple to connect to a database like that by using php (or perl), compared to a mysql connection ? PHP, as far as I know, doesn't support Domino directly. but you should be able to connect to Domino via ODBC (ODBC support on Windows PHP binaries is built in, for Unix it might be

[PHP] Problems with PHP / Progress / ODBC

2001-05-08 Thread indrek siitan
Hi, I'm trying to write a PHP app that accesses a Progress database. version info: - Windows 2000 Pro + Apache 1.3.14 - PHP 4.0.4pl1 (4.0.5 just wouldn't work on my machine) - Progress 8.3.B - Merant Progress ODBC drivers v 3.50 the ODBC drivers seem to be fine - I made a MS Access

[PHP] PHP Graph class/library anywhere?

2001-05-01 Thread indrek siitan
Hi, is there a PHP class/library available anywhere, that supports dynamic creation of different graphs? I need 2D bar graph and pie graph support. i found the VH Graph (http://www.vhconsultants.com/graph/graph.htm), but they want $100 for their 2.x version. i'd prefer a free one (i'm sure

RE: [PHP] Site Structure

2001-04-23 Thread indrek siitan
Hi, Also, it's not a good idea to use the .inc extension unless you've associated it with PHP. The reason is if I type the URL directly to /includes/header.inc I will get the source code for that file in text format. you don't have to keep your .inc files in the web server document root

[PHP] enabling PHP functions only on specific virtual hosts

2001-04-16 Thread indrek siitan
Hi, I'm running a small web hosting server on my machine and offering PHP+MySQL to virtual hosting clients. I've coded an additional PHP module, which I want to be a paid add-on feature to the clients. Is there a way to disable the module or functions (it contains 2 functions) globally and

RE: [PHP] enabling PHP functions only on specific virtual hosts

2001-04-16 Thread indrek siitan
Hi, you can globally disable function with: | disable_functions = ok, got to that point, too. but is there an enable_functions keyword to explicitly enable those functions in httpd.conf (this should be possible with the php_value keyword, as far as I understood from the manual).

[PHP] bug or feature?

2001-03-14 Thread indrek siitan
Hi, ? $value=0; if ($value=="NULL") echo "Value is NULL!"; else echo "Value is not null."; ? output: Value is NULL! is it a bug or expected behaviour? tested it on 4.0.4pl1. i got around it by using strcasecmp(), but just wondering. :) Rgds, Tfr --== [EMAIL PROTECTED] ==

[PHP] filenames on file download

2001-02-22 Thread indrek siitan
Hi, I'm storing files in DB. basically (what's important in this case), I have two columns: file_name - contains the original filename file_src - blob which contains the actual file now the user clicks on a link something like download.php?file_id=123 and the php script will spit out

[PHP] PHP configure commandline

2001-02-02 Thread indrek siitan
Hi, is there a way to find out what configure command-line was used to compile the PHP module, if the apache is not running? if it was running, phpinfo() would show that. but currently the case is to try to re-compile the PHP with same settings and see if it would start working. :) Rgds,

RE: [PHP] eval() to string???

2001-01-24 Thread indrek siitan
Hi, I want to evaluate the code in $php_code to *another* string... you have to do it through output buffering: ob_start(); eval($php_code); $another_string=ob_get_contents(); ob_end_clean(); Rgds, Tfr --== [EMAIL PROTECTED] == http://tfr.cafe.ee/ == +372-50-17621 ==-- --