[PHP-DB] Re: Configuring GD for Windows: image functions

2003-11-13 Thread niclas meyer
your path in php.ini should be: extension_dir = your-drive\php\extensions\ i think =) John Dillon [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] m... Could someone suggest where I am going wrong in configuring GD for Windows please? Ruunning Apache 1.3.2 and PHP 4.3.28 Apache

[PHP-DB] imagecreatetruecolor ?

2003-11-13 Thread niclas meyer
Hi all! I´m trying to create a true color Jpeg thumbnail, I take a picture (Jpg/jpeg) resized and copied - inserted to database and a thumbnail is saved in a diffrent folder BUTthe thumb looks wierd. It does NOT look like its made out of true color..lol where do I go wrong? =)

[PHP-DB] how to connect to access using ado library

2003-11-13 Thread Sandeep
Hi I m new to php and want to connect to ms access without dsn can anyone provide me sample code or link where i can get more help -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] how to connect to access using ado library

2003-11-13 Thread Cal Evans
checkout http://php.weblogs.com/ They have a database abstraction layer that works like ADO. It may do what you want. Let me know how I may be of service, =C= * Cal Evans * http://www.eicc.com * We take care of your IT, * So you can take care of your business. * * I think inside the sphere.

RE: [PHP-DB] imagecreatetruecolor ?

2003-11-13 Thread Hutchins, Richard
Are you talking about the thumbnail when viewed in your browser? If so, that's to be expected since the browser palette (depending on the brand) will only render a max. of around 255 colors. Don't quote me on this, but I'm pretty sure Internet Explorer's palette is limited to 255 colors while

[PHP-DB] Error connecting with Mysql

2003-11-13 Thread Webmaster D.G.R.E.R.
Hi: I understand that this list is about PHP but, may be, any webmaster can help me. Linux Suse 8.2. I was installed apache, php and mysql, all working fine. from prompt i write mysql and run correctly, i create the database, tables and grant permisions to users. all right. but, when i run

[PHP-DB] using code for multiple sites

2003-11-13 Thread mike
I currently manage several websites that share the same code. This code is included into many of the pages on every site. I have duplicate copies of the code set up in each virtual host directory. Obviously this wastes space on my server and wastes my time having to update them all. I was

RE: [PHP-DB] using code for multiple sites

2003-11-13 Thread Jacob A. van Zanen
Hi You could create an alias in every virtual host pointing to the same directory for all sites, or I believe apache will use anything outside the virtual host tags as being default for all sites. Jack -Original Message- From: mike [mailto:[EMAIL PROTECTED] Sent: Thursday, November

Re: [PHP-DB] using code for multiple sites

2003-11-13 Thread CPT John W. Holmes
- Original Message - From: mike [EMAIL PROTECTED] I currently manage several websites that share the same code. create a directory called inc in /usr/local/apache and then add the following line to php.ini include_path = .:/usr/local/apache/inc I'd use a method like this, although

RE: [PHP-DB] using code for multiple sites

2003-11-13 Thread Peter Lovatt
Hi I do exactly this on servers running several hundred sites. each site has a single file in the root, with any local config and a variable $inc_root set. eg ?php $config_var1 = 'xyz'; $config_var2 = 'xyz'; $inc_root = '/home/sites/shared_stuff/'; //must be an absulute not relative address ?

Re: [PHP-DB] using code for multiple sites

2003-11-13 Thread Chris Boget
create a directory called inc in /usr/local/apache and then add the following line to php.ini include_path = .:/usr/local/apache/inc I'd use a method like this, although I'd probably just use an absolute path instead of adjusting the include_path. What's the benefit of using an absolute

Re: [PHP-DB] using code for multiple sites

2003-11-13 Thread CPT John W. Holmes
From: Chris Boget [EMAIL PROTECTED] create a directory called inc in /usr/local/apache and then add the following line to php.ini include_path = .:/usr/local/apache/inc I'd use a method like this, although I'd probably just use an absolute path instead of adjusting the include_path.

Re: [PHP-DB] PHP 4.3.4 + Oracle 9i + Apache 2.0.47 ! SOLVED !

2003-11-13 Thread Daniel Sand
Hey Folks, in first cast their where missing .h libs from the oracle installation but after installing them the gmake was not working correct anymore. I cannot realy explain why. But in some case the configure shredded the Make files in think, because gmake tried to make .dll libs and not .so

[PHP-DB] No tuples available

2003-11-13 Thread Ryan Jameson (USA)
Is there a way to tell PHP to not show just this warning? Maybe there should be another warning level just for this warning, call it trivial and pointless. :-) Warning: odbc_fetch_row(): No tuples available at this result index in I don't even know what it means. I get it all the time when I'm

RE: [PHP-DB] No tuples available

2003-11-13 Thread Ryan Marks
I Googled for your warning message and found this: http://www.phpbuilder.com/mail/php-windows/2000111/0024.php -Original Message- From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 5:52 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] No tuples available Is

RE: [PHP-DB] No tuples available

2003-11-13 Thread Ryan Jameson (USA)
I'm not using OpenLink. Thanks though. -Original Message- From: Ryan Marks [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 5:01 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] No tuples available I Googled for your warning message and found this:

[PHP-DB] Re: imagecreatetruecolor ?

2003-11-13 Thread niclas meyer
Hi Thanks for ure time...It was a browser cache issue..I made my album on the fly finaly, it does as i wanted in the end.. make sure u have the latest PHP/GD support ..=) Niclas Meyer [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Hi all! I´m trying to create a true color Jpeg

[PHP-DB] Re-using query result identifiers?

2003-11-13 Thread Jordan
Does re-using a link identifier name free the resources used by the previous one? Consider this code: $result = mysql_result($query1); $result = mysql_result($query2); Is the memory used by $query1's results freed/overwritten by $query2's results? Even further, does calling mysql_free_results

[PHP-DB] Applications using multiple databases

2003-11-13 Thread rogue
Hi all, I wanted to run this past you all to get some input on this question. I have a new client who has hired me to do some work on an application which he has (written in PHP). He is developing this app with the idea that he can eventually resell it. One of the things about this app is

Re: [PHP-DB] No tuples available

2003-11-13 Thread David T-G
Ryan -- ...and then Ryan Jameson (USA) said... % % Is there a way to tell PHP to not show just this warning? Maybe there Have you tried using @ in front of the odbc_fetch_row call? That will shut it up: PHP supports one error control operator: the at sign (@). When prepended to an

[PHP-DB] RE: Changing case

2003-11-13 Thread Jeremy Shovan
Use the strtoupper() function $var = strtoupper($var); -Original Message- From: Robert Sossomon [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 8:29 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Changing case I have a form that allows for an item to be entered,