php-general Digest 5 Jul 2006 16:53:35 -0000 Issue 4223

2006-07-05 Thread php-general-digest-help
php-general Digest 5 Jul 2006 16:53:35 - Issue 4223 Topics (messages 239134 through 239147): Re: Printing in php 239134 by: Ligaya Turmelle Re: uploading and extracting zip files 239135 by: nicolas figaro 239136 by: Chris PHP 4.4.3RC2 239137 by: Derick

Re: [PHP] uploading and extracting zip files

2006-07-05 Thread nicolas figaro
Chris a écrit : Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This will unzip a file:

Re: [PHP] uploading and extracting zip files

2006-07-05 Thread Chris
nicolas figaro wrote: Chris a écrit : Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This will unzip a

[PHP] PHP 4.4.3RC2

2006-07-05 Thread Derick Rethans
Hello! I packed PHP 4.4.3RC2 today, which you can find here: http://downloads.php.net/derick/ Please test it carefully, and report any bugs in the bug system, but only if you have a short reproducable test case. If everything goes well, we can release it somewhere in the second half of this

[PHP] Chnage Management in PHP

2006-07-05 Thread Jay Blanchard
I have been searching and digging for a PHP based change management application but have had little luck. Can anyone make a recommendation? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Chnage Management in PHP

2006-07-05 Thread John Nichel
Jay Blanchard wrote: I have been searching and digging for a PHP based change management application but have had little luck. Can anyone make a recommendation? Yeah, write your own you lazy sack. And get your finger out of your nose. -- John C. Nichel IV Programmer/System Admin (ÜberGeek)

RE: [PHP] Chnage Management in PHP

2006-07-05 Thread Jay Blanchard
[snip] Yeah, write your own you lazy sack. And get your finger out of your nose. [/snip] John obviously had a fine Fourth! LOL! Hey John, could you write it for me? It's a homework assignment. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Chnage Management in PHP aka version control?

2006-07-05 Thread tg-php
By 'change management' do you mean something like version control software? CVS, Subversion, etc? We use CVS at work and tried setting up Subversion at one point. I don't know, maybe we're all a bunch of retarded monkies here or maybe both systems are just overly complicated, but I don't

RE: [PHP] Chnage Management in PHP aka version control?

2006-07-05 Thread Jay Blanchard
[snip] By 'change management' do you mean something like version control software? CVS, Subversion, etc? [/snip] Sort of, but broader. More like a log. Maybe I should build it myself. For instance we have a server. That server requires that PHP be recompiled with additional features. I would

Re: [PHP] Chnage Management in PHP aka version control?

2006-07-05 Thread Adam Zey
[EMAIL PROTECTED] wrote: By 'change management' do you mean something like version control software? CVS, Subversion, etc? We use CVS at work and tried setting up Subversion at one point. I don't know, maybe we're all a bunch of retarded monkies here or maybe both systems are just overly

[PHP] Filter php page

2006-07-05 Thread Benjamin Adams
can I create a script that will search a php page for iframes. And have it check the path of the iframe, If the iframe is listed as bad don't show. (list I make) Trying to do something with virus like through an iframe. I don't really know where to start looking for help. --Ben -- PHP

RE: [PHP] Chnage Management in PHP aka version control?

2006-07-05 Thread Paul Scott
On Wed, 2006-07-05 at 10:50 -0500, Jay Blanchard wrote: For instance we have a server. That server requires that PHP be recompiled with additional features. I would like to record the change, and maybe even plan for the change. I would need a baseline for PHP and then be able to setup

RE: [PHP] Filter php page

2006-07-05 Thread Jay Blanchard
[snip] can I create a script that will search a php page for iframes. And have it check the path of the iframe, If the iframe is listed as bad don't show. (list I make) Trying to do something with virus like through an iframe. I don't really know where to start looking for help. [/snip]

Re: [PHP] Chnage Management in PHP

2006-07-05 Thread John Nichel
Jay Blanchard wrote: [snip] Yeah, write your own you lazy sack. And get your finger out of your nose. [/snip] John obviously had a fine Fourth! LOL! Hey John, could you write it for me? It's a homework assignment. I had to stay home with the baby while my wife took the 6yo to see the

Re: [PHP] Filter php page

2006-07-05 Thread Dave Goodchild
On 05/07/06, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] can I create a script that will search a php page for iframes. And have it check the path of the iframe, If the iframe is listed as bad don't show. (list I make) Trying to do something with virus like through an iframe. I don't

Re: [PHP] What's the regex for this...?

2006-07-05 Thread Tom Chubb
Brian, I was trying to do this the other day using file_get_contents to load a page into a variable, but never quite got round to finishing it off. However, I recently received a very good Reg Exp tutorial which I hope is of use to you... *Basic Syntax of Regular Expressions (as from

Re: [PHP] global class instance

2006-07-05 Thread Eric Butera
On 7/1/06, sempsteen [EMAIL PROTECTED] wrote: hi all, i wonder if there is a way of creating an instance of a class and reach it direcly from any scope in PHP4. basically what i want is: class a { function print() { echo 'sth'; } } $a = new a(); and use this a instance from

RE: [PHP] global class instance

2006-07-05 Thread KermodeBear
hi all, i wonder if there is a way of creating an instance of a class and reach it direcly from any scope in PHP4. basically what i want is: i don't want to: - declare global $foo, - use pre-defined $GLOBALS variable, - or use a::print thanks. Static is your friend.

Re: [PHP] About GD Version 2 or above..

2006-07-05 Thread BBC
Take out the ; in that line and re-start your computer and you should have GD installed, with any luck... Thank for your answer... I tried your suggestion to take out the ';'. Somehow the error still there but different out put. GD version 2 or above is needed or something. So I got the

Re: [PHP] Printing in php

2006-07-05 Thread BBC
weetat wrote: Hi all , I am using PHP 4.3.2 and MYSQL . I need to do printing function in php . Basically , in my client web page , it will display the list of items on the html page. And i have a print button , so that the user can print the html page to their local printer.

Re: [PHP] About GD Version 2 or above..

2006-07-05 Thread Chris
BBC wrote: Take out the ; in that line and re-start your computer and you should have GD installed, with any luck... Thank for your answer... I tried your suggestion to take out the ';'. Somehow the error still there but different out put. GD version 2 or above is needed or something. So I got

[PHP] require_once and E_WARNING?

2006-07-05 Thread php
Hello all, According to the PHP Manual, when require or require_once failes, an E_ERROR is triggered: require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. (With 'Fatal Error' being a link to

Re: [PHP] require_once and E_WARNING?

2006-07-05 Thread Chris
[EMAIL PROTECTED] wrote: Hello all, According to the PHP Manual, when require or require_once failes, an E_ERROR is triggered: require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. (With 'Fatal

Re: [PHP] require_once and E_WARNING?

2006-07-05 Thread php
Code: function default_error_handler($code, $error, $file, $line) { switch ($code) { case E_ERROR: die (Error: $error); case E_WARNING: die(Warning: $error); default: die(Something else entirely: $error); } } set_error_handler('default_error_handler');