php-general Digest 22 Sep 2010 15:22:35 - Issue 6954
Topics (messages 308250 through 308257):
ZipArchive, but without files
308250 by: Jonathan Mills
308251 by: Viacheslav Chumushuk
Copying an Object
308252 by: Daniel Kolbo
308253 by: mr bungle
Is it possible to create a ZipArchive to a non-file storage, eg string?
I want to create a small zip of some data, and then load it into a database.
I don't need the intermediate file.
I tried various filters, and I can READ a zip archive with the
data:// wrapper, but haven't found any way of
Hello.
As I understand you in a right way you need next function
http://ua.php.net/manual/en/function.gzcompress.php
On Wed, Sep 22, 2010 at 10:16:30AM +0100, Jonathan Mills
jonathan.n.mi...@gmail.com wrote:
Is it possible to create a ZipArchive to a non-file storage, eg string?
I want to
Hello PHPers,
I have:
class A {
...code
}
class B extends A {
...code
}
$a = new A();
$b = new B();
I would like to get all of the properties of $a into $b by value. Class
A extends 3 other classes. I would like a way to not have to manage a
'copy' method in B if A or one
Maybe statics members can help you with this ...
On Wed, Sep 22, 2010 at 07:35, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I have:
class A {
...code
}
class B extends A {
...code
}
$a = new A();
$b = new B();
I would like to get all of the properties of $a
You could create a method of class B that takes an object of class A as a
parameter and copies each property line by line (or method of class A that
takes an object of class B...). If you don't want to add a method you could
just do the same thing, but procedurally. The issue with this (aside
On Wed, Sep 22, 2010 at 5:35 AM, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I have:
class A {
...code
}
class B extends A {
...code
}
$a = new A();
$b = new B();
I would like to get all of the properties of $a into $b by value.
first off you have to be
On Wed, Sep 22, 2010 at 5:35 AM, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I have:
class A {
...code
}
class B extends A {
...code
}
$a = new A();
$b = new B();
after looking back over your situation, which looks strange, why not use
composition at this
Am 22.09.2010 13:35, schrieb Daniel Kolbo:
Hello PHPers,
I have:
class A {
...code
}
class B extends A {
...code
}
$a = new A();
$b = new B();
I would like to get all of the properties of $a into $b by value. Class
A extends 3 other classes. I would like a way to not have
On 22/09/2010 12:11, Viacheslav Chumushuk wrote:
Hello.
As I understand you in a right way you need next function
http://ua.php.net/manual/en/function.gzcompress.php
Thanks for the suggestion Viacheslav , but I'd trying to
the create the complete zipfile structure, gzcompress() just
Am 22.09.2010 17:32, schrieb Jonathan Mills:
On 22/09/2010 12:11, Viacheslav Chumushuk wrote:
Hello.
As I understand you in a right way you need next function
http://ua.php.net/manual/en/function.gzcompress.php
Thanks for the suggestion Viacheslav , but I'd trying to
the create the complete
Hmm..
I am familiar with PMA. I would for the purpose of this project consider it
too technical for the target user base. The point is to create a GUI layer
that would manage these things.
For example, the 'add client' screen would ask for four things; name,
description, username and password.
On Wed, Sep 22, 2010 at 4:35 PM, Tom Barrett t...@miramedia.co.uk wrote:
Hmm..
I am familiar with PMA. I would for the purpose of this project consider it
too technical for the target user base. The point is to create a GUI layer
that would manage these things.
For example, the 'add client'
On 9/22/2010 9:11 AM, chris h wrote:
You could create a method of class B that takes an object of class A as
a parameter and copies each property line by line (or method of class A
that takes an object of class B...). If you don't want to add a method
you could just do the same thing, but
14 matches
Mail list logo