Re: [PHP] Re: [PEAR-DEV] windows 98 support?

2004-10-24 Thread Rens Admiraal
Helgi, /quote: As a side note, correct me if I'm wrong, but didn't MS discount anymore support/updates to win98 sometime this year, thus making that OS even more unsecure, so maybe like I pointed out above, is too much work to support such legacy OS./ Supporting an OS is also depending on how many

Re: [PHP] Re: [PEAR-DEV] windows 98 support?

2004-10-24 Thread Helgi Þormar
On Sun, 2004-10-24 at 08:02, Rens Admiraal wrote: Helgi, quote: As a side note, correct me if I'm wrong, but didn't MS discount anymore support/updates to win98 sometime this year, thus making that OS even more unsecure, so maybe like I pointed out above, is too much work to support such

[PHP] [Newbie Guide] For the benefit of new members

2004-10-24 Thread tech
1. If you have any queries/problems about PHP try http://www.php.net/manual/en first. You can download a copy and use it offline also. Please also try http://www.php.net/manual/faq.php for answers to frequently answered questions about PHP (added by Christophe Chisogne). 2. Try

[PHP] PHP5 CLI Custom Error Reporting Doesn't Work as Expected

2004-10-24 Thread Daniel Talsky
Included is my reproduce code. I'm trying to write a custom error logger for my PHP CLI script. The main problem is that when I try something like a failed require() statement, my custom error reporting function tells me it got an E_WARNING, but it stops program execution, which is not what the

[PHP] Help: Database search and results

2004-10-24 Thread Stuart Felenstein
I have created a database search and results set. Things seem to work fine until I add the join statements into the results page query string. If I don't use the joins , the search works great. It returns the correct results based on the criteria input. If I add the joins in, then basically all

[PHP] File system management

2004-10-24 Thread Jose
Hi, Some of the filesystem function can't be executed in a linux httpd server. I tried, mkdir(); chmod(); fwrite(); and some other filesystem functions. Those worked in widows enviornment but in linux i got a message Permission denied My PHP version is 4.2.3 in linux. What are the configurations

[PHP] SOLVED Re: [PHP] Help: Database search and results

2004-10-24 Thread Stuart Felenstein
Wow~! I'm getting good. --- Stuart Felenstein [EMAIL PROTECTED] wrote: I have created a database search and results set. Things seem to work fine until I add the join statements into the results page query string. If I don't use the joins , the search works great. It returns the correct

[PHP] Re: PHP5 CLI Custom Error Reporting Doesn't Work as Expected

2004-10-24 Thread Daniel Schierbeck
Daniel Talsky wrote: Included is my reproduce code. I'm trying to write a custom error logger for my PHP CLI script. The main problem is that when I try something like a failed require() statement, my custom error reporting function tells me it got an E_WARNING, but it stops program execution,

Re: [PHP] Help: Database search and results

2004-10-24 Thread Stuart Felenstein
Ooops, not solved yet. --- Stuart Felenstein [EMAIL PROTECTED] wrote: I have created a database search and results set. Things seem to work fine until I add the join statements into the results page query string. If I don't use the joins , the search works great. It returns the correct results

[PHP] problem using error_reporting() PHP 5.0.2 (cli)

2004-10-24 Thread Yashesh Bhatia
Hi: I'm using [EMAIL PROTECTED] etc]# php -version PHP 5.0.2 (cli) (built: Oct 9 2004 01:47:08) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.2, Copyright (c) 1998-2004 Zend Technologies and have the following entry in the php.ini file error_reporting = E_ALL i then invoke the

Re: [PHP] File system management

2004-10-24 Thread raditha dissanayake
Jose wrote: Hi, Some of the filesystem function can't be executed in a linux httpd server. I tried, mkdir(); chmod(); fwrite(); and some other filesystem functions. Those worked in widows enviornment but in linux i got a message Permission denied My PHP version is 4.2.3 in linux. What are the

Re: [PHP] problem using error_reporting() PHP 5.0.2 (cli)

2004-10-24 Thread Greg Donald
On Sun, 24 Oct 2004 16:41:16 +0530, Yashesh Bhatia [EMAIL PROTECTED] wrote: error_reporting(E_STRICT|E_ALL); This does appear broken. I was unable to get E_STRICT to work at all on my setup. PHP 5.02, and Apache 2.0.51. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/

[PHP] php_ftp.dll missing

2004-10-24 Thread prgTW
Hello! I don't have a file named php_ftp.dll, where can I find it? I've added extension php_ftp.dll but Apache says I don't have this file :( Could You send it to me in an attachment or tell me from where I can download this file. Sorry for my bad English. Best regards Thomas from Poland

Re: [PHP] PHP5 CLI Custom Error Reporting Doesn't Work as Expected

2004-10-24 Thread Curt Zirzow
* Thus wrote Daniel Talsky: ... The main problem is that when I try something like a failed require() statement, my custom error reporting function tells me it got an E_WARNING, but it stops program execution, which is not what the docs say it should do. When I try some other fatal error

Re: [PHP] problem using error_reporting() PHP 5.0.2 (cli)

2004-10-24 Thread Curt Zirzow
* Thus wrote Yashesh Bhatia: My question is why is the funtion call error_reporting(E_ALL|E_STRICT); not enabling E_STRICT at runtime ? manual set_error_handler Note: The following error types cannot be handled with a user defined function: E_ERROR, E_PARSE, E_CORE_ERROR,

Re: [PHP] php_ftp.dll missing

2004-10-24 Thread Frank M. Kromann
Hi Thomas, What version of php are you using? Both PHP4 and PHP5 has the ftp extension build-in so there is no need to load it. - Frank Hello! I don't have a file named php_ftp.dll, where can I find it? I've added extension php_ftp.dll but Apache says I don't have this file :( Could You

Re: [PHP] problem using error_reporting() PHP 5.0.2 (cli)

2004-10-24 Thread Yashesh Bhatia
thanks. anyplace i can find which errors are reported by E_STRICT at runtime and which ones at compile time ? thx. yashesh bhatia. On Sun, 24 Oct 2004 15:24:34 +, Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Yashesh Bhatia: My question is why is the funtion call

[PHP] PHP5 Tutorials...?

2004-10-24 Thread Michael Lauzon
Where can I find detailed PHP5 tutorials, but written for the beginner...they must be online tutorials as I cannot afford any computer books at the moment?! -- Michael Lauzon http://phantasyrpg.com/main.php?view=9898 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] MySQL Scalability, part 2

2004-10-24 Thread Kevin Grigorenko
Hi, First, sorry for posting an attachment. Second, I fixed my problem to use files, but I just had a general question: Is it really scalable to use MySQL on every page hit as compared to writing to files? Is it true that it only has a certain number of connections it can open at a time

[PHP] overiding functions (constructors mostly)

2004-10-24 Thread Walter Wojcik
I want to override the constructor for a class i am writing but when i try it says i cant redefine it. Is the a whay to have two (or more) functions with the same name that accept different agrumants and calls the right one based on the arguments (it would have to be based on number of args

[PHP] Classes and Interface tool

2004-10-24 Thread Jonel Rienton
hi again guys, is there a tool that can allow you view the available interfaces of a class, like an object/class browser that can help you view the signatures of those interfaces? thanks and regards, Jonel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP5 Tutorials...?

2004-10-24 Thread Matthew Sims
You can't really get much better than php.net, the best online documentation for PHP. http://us2.php.net/tut.php -- --Matthew Sims --http://killermookie.org Where can I find detailed PHP5 tutorials, but written for the beginner...they must be online tutorials as I cannot afford any

[PHP] Re: overiding functions (constructors mostly)

2004-10-24 Thread Daniel Schierbeck
Walter Wojcik wrote: I want to override the constructor for a class i am writing but when i try it says i cant redefine it. Is the a whay to have two (or more) functions with the same name that accept different agrumants and calls the right one based on the arguments (it would have to be based on

[PHP] Is flock() necessary on a simple file append?

2004-10-24 Thread Kevin Grigorenko
Hi, I am appending to a file one line of text on every page hit, so there could be many occurrences of this append simultaneously. I am not opening for write (w) but for append (a). Do I need to use flock() to be sure there are no issues? I am running on Solaris. Thanks, Kevin -- PHP General

Re: [PHP] Is flock() necessary on a simple file append?

2004-10-24 Thread Hristo Yankov
append is the same as write (it requires write access for example), so if you are gonna use flock for w, use it for a too. = Join the Dark Forces Of Evil Coders! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

Re: [PHP] Re: overiding functions (constructors mostly)

2004-10-24 Thread M Saleh EG
OR you could control ur method and have optional arguments in ur argument list and decide what to do according to that. e.g. public function _construct($param1=0, $param2=, $param3=null) { if($param1) if($param2) if($param3) } $obj=new className(1); //Or

[PHP] Rotating image using imagerotate creates large black area on image

2004-10-24 Thread Brent Clements
Hi Guys, I am working on some images and I am having some problems with image rotate. I am using imagerotate($im, -90, 0); but when I display the image, the first 1/4 of the image has a large black splotch from left/top to right/bottom Help!! It's causing me fits. Thanks, Brent

[PHP] Re: Rotating image using imagerotate creates large black area on image

2004-10-24 Thread Matthew Weier O'Phinney
* Brent Clements [EMAIL PROTECTED]: I am working on some images and I am having some problems with image = rotate. I am using imagerotate($im, -90, 0); but when I display the image, the = first 1/4 of the image has a large black splotch from left/top to = right/bottom It might be because

Re: [PHP] Re: Rotating image using imagerotate creates large black area on image

2004-10-24 Thread Brent Clements
I have also tried that and it still doesn't work. Turns out that since I was using two image rotates, it was causing the image to get those black splotches. This is the application flows. Rotate image to write text 90 CW Write text Rotate image back to original position 90CCW This was causing

Re: [PHP] PHP framework

2004-10-24 Thread Justin French
On 24/10/2004, at 4:04 AM, Igor wrote: I need to develop an PHP/MySql application (about 20 db tables and 70 screens). I was wandering if there is a solid framework out there that could help development. Also, I would appreciate any recommendations for books/docs on good development practices

[PHP] Need function to process tab delimited file using associative array

2004-10-24 Thread Eric Wood
Does anyone have a function stored away that can selectively let me trim out only the columns *by name* I need from a delimited text file? For Example: FNametabLNametabPhone JohntabSmithtab345335 JamestabSmithtab2345223533 JudytabSmithtab5474574544 The first line wouldmake the associative

RE: [PHP] MySQL Scalability, part 2

2004-10-24 Thread Zareef Ahmed
-Original Message- From: Kevin Grigorenko [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 12:36 AM To: [EMAIL PROTECTED] Subject: [PHP] MySQL Scalability, part 2 Hi, First, sorry for posting an attachment. Second, I fixed my problem to use files, but I just had a general

RE: [PHP] Need function to process tab delimited file using associative array

2004-10-24 Thread Zareef Ahmed
-Original Message- From: Eric Wood [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 7:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Need function to process tab delimited file using associative array Does anyone have a function stored away that can selectively let me trim out only

Re: [PHP] MySQL Scalability, part 2

2004-10-24 Thread Kevin Grigorenko
Zareef Ahmed [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: Kevin Grigorenko [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 12:36 AM To: [EMAIL PROTECTED] Subject: [PHP] MySQL Scalability, part 2 Hi, First, sorry for posting an

Re: [PHP] MySQL Scalability, part 2

2004-10-24 Thread Kevin Grigorenko
Kevin Grigorenko [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Zareef Ahmed [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: Kevin Grigorenko [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 12:36 AM To: [EMAIL PROTECTED]

RE: [PHP] PHP5 Tutorials...?

2004-10-24 Thread Zareef Ahmed
Hi Michael , Welcome to the world of php. One of the greatest features of php is its well maintained documentation. PHP manual is very extensive and detailed tutorial about php. You can get your local mirror just visiting following page http://www.php.net/docs Zareef ahmed -Original

RE: [PHP] MySQL Scalability, part 2

2004-10-24 Thread Zareef Ahmed
-Original Message- From: Kevin Grigorenko [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 8:13 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] MySQL Scalability, part 2 Zareef Ahmed [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: Kevin

RE: [PHP] MySQL Scalability, part 2

2004-10-24 Thread Zareef Ahmed
Hi Kevin, I found some links. Plese visit them. http://www.dba-oracle.com/art_db_benchmark.htm http://www.tpc.org/tpcc/default.asp http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=showixPost=9 9830 http://www.eng.mu.edu/corlissg/168Search.03F/n_files_vs_db.html Zareef ahmed