Lester Caine wrote:
> I've been going through the hoops documenting installation and recovery
> notes for my customer sites. The majority of these run local web
> services with no internet access from the servers, so with the
> increasing reliance on PEAR extensions, I'm looking to the correct way
Steve Brown wrote:
> I'm trying to install Pear on OSX, but http://go-pear.org/ doesn't
> seem to be resolving. Pear manual states I should:
>
> curl http://go-pear.org/ | php
>
> but this fails and
>
> dig go-pear.org
>
> reveals that the name does not resolve. Is there a package somewehre
>
Steve Brown wrote:
> I've been doing a bunch of reading about objects and overloading in
> PHP5, but I've got a couple of questions that I can't seem to find the
> answer to online. Suppose the following code in PHP5.2.4:
>
> class foo {
> public $x;
> private $z = 'z';
>
>
Hi all,
I've run into a peculiar situation where the inflate implementation in
the zlib.inflate filter fails to successfully inflate a gzipped file
created using gzopen/gzwrite. The file is really quite simple. To
replicate, download http://pear.php.net/get/PEAR-1.6.1.tgz and run this
script:
Bruce Cowin wrote:
> I'm curious as to how everyone organises and includes their classes in
> PHP5. Let's take a simple example that has 3 classes: customer, order,
> and database. The database class has a base sql db class (I know there
> is PDO and other things but this class is already written
Per Jessen wrote:
> I'm trying to install the pecl mailparse extension, but I'm not getting
> very far:
>
> pecl install mailparse
> pecl/mailparse requires PHP extension "mbstring"
> No valid packages found
> install failed
>
> "mbstring" does not seem to be a php extension, and in any case I b
Mark wrote:
> hey,
>
> i`m wondering if it`s possible to move a uploaded file inside a variable.
> i would like to know this because i`m currently writing a database backup
> script and in there the user uploads a sql file that gets executed. now i
> _don`t_ want the file to be stored on the serve
Edward Vermillion wrote:
>
> On Apr 27, 2007, at 8:24 PM, Daevid Vincent wrote:
>
>> For a long time I've wanted a tool that would traverse my source code to
>> find all those little forgotten "TODO" entries.
>>
>
> [snip]
>
> Doesn't phpDocumentor (http://phpdocu.sourceforge.net/) do that alre
Myron Turner wrote:
> That's not been my experience. I've tested it with
> enctype="multipart/form-data", since that's what you asked for, though
> the enctype wasn't included in my sample code. I've run it on PHP
> Version => 5.1.6 (Fedora core 4) and PHP 4.3.11 Fedora core 2.
> Here it is on Fe
Justin Frim wrote:
> Sorry burst your bubble, but your solution isn't a viable one in my case.
> php://input only works if the form is submitted using
> application/x-www-form-urlencoded.
>
> Take your sample HTML code there and add enctype="multipart/form-data"
> to the tag, and I'm pretty sure
martin wrote:
> Since about 7 hours now i can't get on the pecl.php.net pages. The site
> doesn't seem to be available.
>
> Does somebody know why?
Hi Martin,
The entire machine that runs pear.php.net and pecl.php.net was down for
a very long time. It has recently come back up online, you shou
John Comerford wrote:
> Hi Folks,
>
> I am still pretty new to PHP and I have a question regarding classes and
> using _construct. Up until now I have been creating my classes as follows:
>
> class test1 {
> var $name;
> function test1($pName) {
> $this->name = $pName;
> }
> }
>
> So I when I
Jeff Taylor wrote:
> Hey all, got a slight problem, where for some reasons my variables dont seem
> to be getting stored in the child class:
>
> e.g
>
> class Parent
> {
> $private type;
>
> public function __construct()
> {
> }
>
>public function GetType()
>{
> return $th
Beauford wrote:
> I pasted this right from my PHP file, so it is correct. Just to elaborate. I
> have tested this until my eyes are bleeding.
>
> Sometimes this works sometimes it doesn't.
>
> One minute !!!##$$ This is a test &&%% will work the way it is supposed to,
> the next minute it does no
Beauford wrote:
> Hi,
>
> I previously had some issues with preg_match and many of you tried to help,
> but the same problem still exists. Here it is again, if anyone can explain
> to me how to get this to work it would be great - otherwise I'll just remove
> it as I just spent way to much time o
Malcolm Pickering wrote:
> Hello there,
>
> As a new user of PHP I am finding it extremely useful, very fast, and
> rewarding. I was also delighted to find the already proven and maintained
> extensions in PEAR.
>
> I have recently downloaded one of these extensions (HTML_Table) which is
> pr
M5 wrote:
> I found a nice javascript function that takes two points of latitude and
> longitude and returns a midpoint. I'm now trying to rewrite in PHP, but
> having some problems. Here's the original javascript function, taken
> from http://www.movable-type.co.uk/scripts/LatLong.html :
>
> LatL
Zak Mc Kracken wrote:
> Hi all,
>
> Is there a PHP function that parses a string as it was the content of a
> PHP file?
>
> I have a CMS application and editors write the news items text into a
> text area. Since they have some knowledge of PHP, I'd like to allow them
> to insert or and have th
Paul Scott wrote:
> I am developing a webservice like module for our framework that will
> enable downloads of module code into the framework modules from a remote
> server.
>
> Basically what this should do is:
>
> 1. User requests a list of available stable modules from server
> 2. User clicks
Peter Lauri wrote:
> Hi,
>
>
>
> I have been trying going thru the PHP manual to find if there are any
> equivalent to the __contruct and __destruct in PHP 4, but I cannot find any
> solution for this part. I know it was introduced in PHP 5, but as __sleep
> and __wakeup exist in PHP 4 already
Ken Dozier wrote:
> Does in_array() use a search algorithm (i.e., binary search), or does it
> check sequentially each element in the array?
>
> I am using in_array() within a while{} loop to check query results against
> an access-list array to produce a third array containing items that
> succes
Peter Lauri wrote:
> Hi,
>
>
>
> Is there any similar way to package PHP software as Java with a jar file or
> similar? I have never seen it, because then would probably Smarty for
> example be packaged already :-) This question came out of the blue when I
> was thinking about how to deliver so
Aaron Axelsen wrote:
> I'm trying to figure out what the desired behavior is of using the
> return function to bail out of an include page.
>
> I did some testing, and this is what I concluded.
>
> First, I created the following file:
>
> if (defined('TEST_LOADED')) {
> return;
> }
> de
Vinicius C Silva wrote:
> hi everyone!
>
> i'd like to ask something maybe commonly asked here. what is the most
> powerful php editor?
I am
Yours,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
> On Thu, 2007-01-04 at 10:54 +, Roman Neuhauser wrote:
>
>> echo $blah . "\n" is *not* equivalent to printf("%s\n", $blah)
>>
>
> H, could you explain to me how it is different? I would always use
> the former unless I specifically needed formatting provided
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-02 21:23:02 +0100:
>> David CHANIAL wrote:
>>> We are preparing the upgrade of PHP for our customers, but, after some
>>> tests,
>>> we have a migration "problem" caused by the news E_RECOVERABLE_ERROR.
>>>
>>> So, even if the upgrade guide (
Hi Alistair,
There was a snafu in the PHP release process, PHP 5.2.0 shipped with an
outdated go-pear.phar for some reason, you can fix this by downloading
http://pear.php.net/go-pear.phar and saving it as PEAR/go-pear.phar in
the unzipped windows distribution. Then, when you run go-pear.bat it
w
27 matches
Mail list logo