Re: [PHP-DB] DBF + PHP

2007-07-19 Thread Luke
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, Jul 19, 2007 at 19:34:34 +0200, Luke wrote: >> I get this warning: >> /usr/local/lappstack-1.1/apache2/htdocs >> Warning: chdir() [function.chdir]: No such file or directory (errno 2) in >>

Re: [PHP-DB] DBF + PHP

2007-07-19 Thread Luke
""Instruct ICC"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >From: "Luke" <[EMAIL PROTECTED]> >>echo getcwd() . "\n"; >>chdir('c:\\temp'); > >>echo getcwd() . "\n"; >>chd

Re: [PHP-DB] DBF + PHP

2007-07-19 Thread Luke
> What errors are you getting? Check file permissions, maybe you can't > read/write the file. I get warning: Warning: dbase_open() [function.dbase-open]: unable to open database c:\temp\test.dbf in /usr/local/lappstack-1.1/apache2/htdocs/dbase.php on line 8 In php.ini I have safe_mode=off. Eve

[PHP-DB] DBF + PHP

2007-07-18 Thread Luke
Hi. I need open some dbase files. Function dbase_open work correctly only when I open data base from server eg. dbase_open('/tmp/test.dbf', 0). How Can I open this database from local host ? dbase_open('c:\tmp\test.dbf', 0) - not working dbase_open('c:\\tmp\test.dbf', 0) - not working dbase_open('c

Re: [PHP-DB] Access db

2003-11-21 Thread Luke van Blerk
Thanks Michael. I'll check it out ;) - Luke "Michael Mauch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Luke Van Blerk wrote: > > > I'll probably just extract the data with an access to mysql script and run > > it on mysql. > &

RE: [PHP-DB] Access db

2003-11-19 Thread Luke van Blerk
Thanks Robert I'll probably just extract the data with an access to mysql script and run it on mysql. - Luke Robert Twitty wrote: > To the best of my knowledge you cannot access an Access database > directly from UNIX or Linux. The reason is because the Jet Engine > has not

[PHP-DB] Access db

2003-11-19 Thread Luke van Blerk
Hi everyone Can PHP access an access database residing on a unix / linux box? I know theres and ODBC extension but is that only for windows? Regards Luke -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Saving state

2003-09-16 Thread Luke Skywalker
instead of the database, but that could get messy Luke - Original Message - From: "Duane Lakoduk" <[EMAIL PROTECTED]> To: "'Luke Skywalker'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 12:39 PM Subject: RE:

Re: [PHP-DB] Saving state

2003-09-16 Thread Luke Skywalker
synchronisation problems Luke - Original Message - From: "Shiloh Madsen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 10:24 AM Subject: [PHP-DB] Saving state Sorry about the cross posting, as im not exactly sure what would be th

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

[PHP-DB] mysql_num_rows

2002-04-13 Thread Luke Kearney
Warning: Supplied argument is not a valid MySQL result resource in /usr/local/share/doc/apache/trial/authmain.php on line 20 What does this generally mean as I have noted that others use this syntax so what is my issue ? Any help or pointers to references would be most appreciated. Thanks L

[PHP-DB] Deleting characters from a string...

2002-02-08 Thread Luke
Hi, I have a string that says width=123 Height =456 and I need to for mat the output as 123 x 456 is there a way to do this? Thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Simple Question, hopefully simple answer

2002-02-08 Thread Luke
of all the ages out of the table. how can I get this? Hope someone can help. Luke -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: MySQL Update command syntax

2002-02-01 Thread Luke Crouch
Off of MySQL.com: UPDATE [LOW_PRIORITY] [IGNORE] tbl_name SET col_name1=expr1, [col_name2=expr2, ...] [WHERE where_definition] [LIMIT #] So a typical UPDATE command could be UPDATE email_table SET email = '[EMAIL PROTECTED]' WHERE id = '1'; For explanations of all args and options,

Re: [PHP-DB] request and response objects?

2002-02-01 Thread Luke Crouch
Yes, that's the environment I'm coming from and am used to... -L "Paul Dubois" <[EMAIL PROTECTED]> wrote in message news:p05101403b87e54724472@[192.168.1.31]... > At 12:30 -0600 1/30/02, Matthew Crouch wrote: > >basically a yes or no question my brother wants me to ask: > >Does PHP support these

[PHP-DB] Re: newbie question: request & response

2002-02-01 Thread Luke Crouch
The real reason I'm asking is because I want to design a PHP app that uses a similar framework to a current Java/JSP app I'm developing, and I will need to use a controller php file that forwards the request and response objects it receives to another php. Java Servlets do this nicely because ins

[PHP-DB] newbie question: request & response

2002-01-30 Thread Luke Crouch
Does PHP have built-in support for using request and response objects? Thanks, -L -- 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] RE: Getting apache to recognize"index.php"....

2001-12-04 Thread Luke Muszkiewicz
mepage.cgi Index.htm Let me know if you need further clarification. -luke Luke Muszkiewicz Pure Development, LLC http://puredev.com > -Original Message- > From: Vincent Beaulieu [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 04, 2001 9:23 AM > To: [EMAIL PROTECTED] > S

RE: [PHP-DB] mail() - is there a limit?

2001-09-30 Thread Luke Muszkiewicz
olinux: > If I use set_time_limit(0); - will this override my hosts > timeout setting if > there is one? The short answer is yes, but please see http://www.php.net/manual/en/function.set-time-limit.php for more information. Good luck! -luke Luke Muszkiewicz Pure Development,

RE: [PHP-DB] mail() - is there a limit?

2001-09-27 Thread Luke Muszkiewicz
the number of addresses in the bcc field. Let me know if you have any questions! -luke Luke Muszkiewicz Pure Development, LLC http://puredev.com > I am using a script that grabs about 100 emails from a > database, loops thru and writes them to $bcc > > Then I use a single mail() t

[PHP-DB] Sessions w/ Communicator 4.7 Problem

2001-04-18 Thread Luke Muszkiewicz
okie for Communicator 4.7? Thank you in advance! -luke Luke Muszkiewicz Pure Development, LLC http://puredev.com -- 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

[PHP-DB] 20 Million Fresh E-mail Addresses

2001-02-06 Thread Luke
TO BE REMOVED FROM FUTURE MAILINGS, SIMPLY REPLY TO THIS MESSAGE AND PUT "REMOVE" IN THE SUBJECT. 20 MILLION E-MAIL ADDRESSES FOR ONLY $249 **Over Night International Shipping Included** Many Call This "The "Perfect E-Mail List" Over 20-Million Of The Best E-Mail Addresses Av