php-general Digest 5 Jul 2006 16:53:35 -0000 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 Rethans

Chnage Management in PHP
        239138 by: Jay Blanchard
        239139 by: John Nichel
        239140 by: Jay Blanchard
        239147 by: John Nichel

Re: Chnage Management in PHP aka version control?
        239141 by: tg-php.gryffyndevelopment.com
        239142 by: Jay Blanchard
        239143 by: Adam Zey
        239145 by: Paul Scott

Filter php page
        239144 by: Benjamin Adams
        239146 by: Jay Blanchard

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        php-general@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
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.

Any way how to do this in PHP ?

Thanks

alternate method - CSS media print.

--

life is a game... so have fun.

--- End Message ---
--- Begin Message ---
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:

http://pear.php.net/package/Archive_Zip

As for uploading, you'll need something else for that (I don't think there's something to do it *all* for you but I could be wrong).

move_uploaded_file perhaps ?
http://www.php.net/manual/en/function.move-uploaded-file.php

N F

--- End Message ---
--- Begin Message ---
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 file:

http://pear.php.net/package/Archive_Zip

As for uploading, you'll need something else for that (I don't think there's something to do it *all* for you but I could be wrong).

move_uploaded_file perhaps ?
http://www.php.net/manual/en/function.move-uploaded-file.php

That will definitely do it, I think the OP wanted something already
built to do everything for him with no work.

--
Postgresql & php tutorials
http://www.designmagick.com/

--- End Message ---
--- Begin Message ---
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 month.

regards,
Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

--- End Message ---
--- Begin Message ---
I have been searching and digging for a PHP based change management
application but have had little luck. Can anyone make a recommendation?

Thanks!

--- End Message ---
--- Begin Message ---
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)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
[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.

--- End Message ---
--- Begin Message ---
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 fireworks. Fun stuff.

First, I need you to run some test code to see what type of work your system needs. Run this from the command line, and let me know when you get a result...

for ( $i=0; $i = $i; $i++ ) {

}

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
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 like either of them.

We have a working CVS setup right now, but it's not integrated with Zend Studio 
(which would be nice) and we couldn't get Subversion to integrate nicely either 
so we're just sticking with CVS for now.

Sad to say, but the easiest, most user-transparent and still functional file 
locking system I've ever used was what's built into Microsoft Office 
applications where it'll tell you "This file is already open, would you like to 
open read-only and be alerted when you can write to it?".  But that doesn't 
contain any version control (unless you turn on "change tracking" in some MS 
Office apps).

I don't know about you, Jay, but all we really want to do is keep a record of 
revisions and be able to 'diff' between them and have the files lock so if 
someone tries to open the file and it's already open, that the user is alerted 
and allowed to open read-only if they desire.

What kind of features are you looking for in a 'change management' software 
package?  Maybe someone can recommend an app or two that will fit yours (and 
maybe our) needs.

-TG

= = = Original message = = =

I have been searching and digging for a PHP based change management
application but have had little luck. Can anyone make a recommendation?

Thanks!


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

--- End Message ---
--- Begin Message ---
[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 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 maintenance to be done or maintenance that was
performed. That way, if something goes kablooey (ka-bloo-E) we can roll
back to where things were prior to the change.

Or we could record that the power supply failed on x and was replaced on
y with xyz power supply. Etc.

Make more sense?

--- End Message ---
--- Begin Message ---
[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 complicated, but I don't like either of them.

We have a working CVS setup right now, but it's not integrated with Zend Studio 
(which would be nice) and we couldn't get Subversion to integrate nicely either 
so we're just sticking with CVS for now.

Sad to say, but the easiest, most user-transparent and still functional file locking system I've 
ever used was what's built into Microsoft Office applications where it'll tell you "This file 
is already open, would you like to open read-only and be alerted when you can write to it?".  
But that doesn't contain any version control (unless you turn on "change tracking" in 
some MS Office apps).

I don't know about you, Jay, but all we really want to do is keep a record of 
revisions and be able to 'diff' between them and have the files lock so if 
someone tries to open the file and it's already open, that the user is alerted 
and allowed to open read-only if they desire.

What kind of features are you looking for in a 'change management' software 
package?  Maybe someone can recommend an app or two that will fit yours (and 
maybe our) needs.

-TG

= = = Original message = = =

I have been searching and digging for a PHP based change management
application but have had little luck. Can anyone make a recommendation?

Thanks!


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

His message seemed to indicate that he wanted a version control application WRITTEN in PHP, not that supported PHP.

Regards, Adam.

--- End Message ---
--- Begin Message ---
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 maintenance to be done or maintenance that was
> performed. That way, if something goes kablooey (ka-bloo-E) we can roll
> back to where things were prior to the change.

Way back when, I wrote something like that. It sucked, but was really
easy to write very quickly. The hardest part was the DB design...

I would suggest looking through some of the projects on Sourceforge andd
freshmeat though, there is bound to be a useful app there. On the other
hand you could just roll out a BugZilla Helpdesk from Mozilla, but that
is designed for a huge company with many servers, desktops etc.

You could use our framework to roll out a solution in a few hours, but
you would have to learn it first... <sigh> I agree with the first reply
- roll your own, its less stress than you think!

--Paul

All Email originating from UWC is covered by disclaimer  
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm 

--- End Message ---
--- Begin Message --- 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

--- End Message ---
--- Begin Message ---
[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]

Virus? You'll get no quarter here. Unless you have described this badly.

--- End Message ---

Reply via email to