RE: [PHP-DB] Can't do anything with variables

2003-04-06 Thread Luke Woollard
out the php.ini file and read about the error level.. And this page in the PHP manual: http://www.php.net/manual/en/function.error-reporting.php Cheers, Luke Woollard -Original Message- From: Gilles [mailto:[EMAIL PROTECTED] Sent: Monday, 7 April 2003 11:18 AM To: [EMAIL PROTECTED

RE: [PHP-DB] PHP and MySQL 4

2003-03-30 Thread Luke Woollard
Sure does - sure is. -Original Message- From: Benjamin Higgins [mailto:[EMAIL PROTECTED] Sent: Monday, 31 March 2003 6:47 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] PHP and MySQL 4 Does PHP have support for MySQL 4? If I install MySQL 4, and rebuild PHP with --with-mysql, is that suffi

RE: [PHP-DB] Embedded Object Oriented Database System for PHP

2003-03-26 Thread Luke Woollard
Cool dude - can you demo a sample application that uses it? -Original Message- From: Konstantin Knizhnik [mailto:[EMAIL PROTECTED] Sent: Wednesday, 26 March 2003 10:32 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Embedded Object Oriented Database System for PHP I would like to announce e

RE: [PHP-DB] compare php and perl

2003-03-20 Thread Luke Woollard
I want to add my 2 cents if I may! Mignon is right, if you don't use mod_perl, you will find that you'll slow your webserver to snail pace when PERL scripts are Requested. Cheers, Luke Woollard "When the power of love overcomes the love of power the world will know peace.&q

RE: [PHP-DB] Re: Really easy question

2003-03-18 Thread Luke Woollard
$str = '"hi"'; $newstr = eregi_replace("\"", "", $str); -Original Message- From: Peter Beckman [mailto:[EMAIL PROTECTED] Sent: Wednesday, 19 March 2003 4:33 PM To: Foong Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Re: Really easy question $str = '"hi"'; $newstr = preg_replace("/\"/", "

RE: [PHP-DB] Creating mySQL database

2003-03-18 Thread Luke Woollard
sure - just pass the mysql query through the mysql_query function. Make sure you connect using mysql_pconnect() first, then you can start creating databases.. Luke Woollard -Original Message- From: Thomas Tremain [mailto:[EMAIL PROTECTED] Sent: Wednesday, 19 March 2003 4:36 PM To

RE: [PHP-DB] Server Error

2003-03-17 Thread Luke Woollard
This should read 'Your MySQL Database SERVER is down' Thanks, LW -Original Message----- From: Luke Woollard [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 March 2003 8:48 AM To: Marie Osypian; php-db Subject: RE: [PHP-DB] Server Error Your MySQL Database is down. 'cd

RE: [PHP-DB] Server Error

2003-03-17 Thread Luke Woollard
Your MySQL Database is down. 'cd' to your mysql directory (probably /usr/local/mysql ) and type ./bin/safe_mysqld --user=mysql & -Original Message- From: Marie Osypian [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 March 2003 8:42 AM To: php-db Subject: [PHP-DB] Server Error I was able

RE: [PHP-DB] Picture Upload

2003-03-11 Thread Luke Woollard
Me either Luke Woollard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fredrik de Vibe Sent: Wednesday, 12 March 2003 12:51 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Picture Upload [EMAIL PROTECTED] (Dallas Freeman) writes: > I have asked my host

RE: [PHP-DB] Picture Upload

2003-03-10 Thread Luke Woollard
use the GD Library functions - look up on php.net The GD library is available from http://www.boutell.com/ It is included by default with PHP 4.3.x NOTE: This is a question for [EMAIL PROTECTED] -Original Message- From: Dallas Freeman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 March 20

RE: [PHP-DB] Auto Generation of HTML Forms + SQL Code to update My/Postgre SQL Database

2003-02-19 Thread Luke Woollard
thanks dude. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, 20 February 2003 5:04 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Auto Generation of HTML Forms + SQL Code to update My/Postgre SQL Database On Thursday 20 February 2003 23:49, Luke Woollard

[PHP-DB] Auto Generation of HTML Forms + SQL Code to update My/Postgre SQL Database

2003-02-19 Thread Luke Woollard
cycle. :) Luke Woollard -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] how do I use same page for submit and results?

2003-02-06 Thread Luke Woollard
. form fields/button goes here ' .'' .''; } Best to check if a variable exists Using the other method will throw an error: Notice: Undefined index: action in c:\program files\apache group\apache\htdocs\testerr.php on line x... Thanks, Luke Woollard -Original M

[PHP-DB] PHP Database Abstraction Layer

2003-02-05 Thread Luke Woollard
7;yourdbname', 'yourdbuser', 'yourdbpass' ); ?> Thanks, Luke Woollard Programmer / Analyst TABORVISION.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Using Objects with Databases

2003-01-21 Thread Luke Woollard
abase specific calls inside my classes. This helps maintain portability of my applications. Hope that helps. LW -Original Message- From: Philip Zee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 5:16 PM To: Luke Woollard; PHP-db Subject: RE: [PHP-DB] Using Objects with

RE: [PHP-DB] Using Objects with Databases

2003-01-21 Thread Luke Woollard
Initialise the database connection and perform actions on the database using a seperate class. You can pass your functions (methods) values returned from your database calls to manipulate. This is commonly called a 'database abstaction layer' Theres a good database abstraction class in this magaz

RE: [PHP-DB] Unlimited Categories

2003-01-13 Thread Luke Woollard
l category) Luke Woollard -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 14 January 2003 4:32 PM To: php-db Subject: [PHP-DB] Unlimited Categories Im figuring this is more of an sql question than anything else. I'm trying to figure out a table stru

RE: [PHP-DB] denying access to folders/files

2003-01-08 Thread Luke Woollard
I wrote a similar script a long time ago to achieve this. [Anti-Leech solution] You store the software in a folder that is outside of the web directory tree and use PHP to 'fopen' the file being downloaded by the 'authenticated' user and send it back to the broser using location() with the correct

RE: [PHP-DB] Re: blob

2003-01-07 Thread Luke Woollard
I agree with Dave. I wrote an application to allow a client to upload/manage images and categorise them into diff. parts of their website. Images were stored as normal image files after upload and a pointer made to them from the appropriate database record (which had additional image info e.g. des