On Sat, Apr 19, 2008 at 1:06 PM, Manuel Lemos <[EMAIL PROTECTED]> wrote:
> Hello,
>
> on 04/19/2008 01:17 AM Kinch Zhang said the following:
> > I was wondering if there was any HTTP server written entirely in PHP
> with
> > the following features:
> >
> > 1. HTTP/1.1 compliance
> > 2. Apa
Hello,
on 04/19/2008 01:17 AM Kinch Zhang said the following:
> I was wondering if there was any HTTP server written entirely in PHP with
> the following features:
>
> 1. HTTP/1.1 compliance
> 2. Apache mod_rewrite-like URL rewrite support
> 3. Native PHP support ( not through CGI/Fas
> I was wondering if there was any HTTP server written entirely in PHP
> with the following features:
>
> 1. HTTP/1.1 compliance
> 2. Apache mod_rewrite-like URL rewrite support
> 3. Native PHP support ( not through CGI/FastCGI )
> 4. Support PHP 4.2.0 or above
>
> Nanoweb is an H
Hi, everyone:
I was wondering if there was any HTTP server written entirely in PHP with
the following features:
1. HTTP/1.1 compliance
2. Apache mod_rewrite-like URL rewrite support
3. Native PHP support ( not through CGI/FastCGI )
4. Support PHP 4.2.0 or above
Nanoweb is an HTTP
Simon Welsh wrote:
On 19/04/2008, at 2:31, Eric Butera wrote:
On Fri, Apr 18, 2008 at 8:10 PM, Lee Perry <[EMAIL PROTECTED]> wrote:
Hi, I need pdo_msql and GD2 extension support in my php environment,
but as
I am sure you are aware the default build that comes with leopard on
the mac
is lacki
On Fri, Apr 18, 2008 at 10:49 PM, Simon Welsh <[EMAIL PROTECTED]> wrote:
> Windows is a joke operating system. Hell, it's not even an operating
> system. NT is Not Tough enough for me either. 95 is how may times it will
> crash an hour.
You feel better now? ;)
--
PHP General Mailing List (http
On 19/04/2008, at 2:31, Eric Butera wrote:
On Fri, Apr 18, 2008 at 8:10 PM, Lee Perry <[EMAIL PROTECTED]> wrote:
Hi, I need pdo_msql and GD2 extension support in my php
environment, but as
I am sure you are aware the default build that comes with leopard
on the mac
is lacking these extension
On Fri, Apr 18, 2008 at 8:10 PM, Lee Perry <[EMAIL PROTECTED]> wrote:
> Hi, I need pdo_msql and GD2 extension support in my php environment, but as
> I am sure you are aware the default build that comes with leopard on the mac
> is lacking these extensions. what I need is a way to either install th
Is it possible to do this with CURL instead of the socket functions
$bindip = 'xx.xx.xx.xx';
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_bind($sock, $bindip);
socket_connect($sock, 'ssl://epp.server.com', 80);
ie bind an IP and connect to an ssl:// address
Trying to connect via
Lee Perry wrote:
Hi, I need pdo_msql and GD2 extension support in my php environment, but
as I am sure you are aware the default build that comes with leopard on
the mac is lacking these extensions. what I need is a way to either
install them or if I really have to compile php with these includ
Hi, I need pdo_msql and GD2 extension support in my php environment,
but as I am sure you are aware the default build that comes with
leopard on the mac is lacking these extensions. what I need is a way
to either install them or if I really have to compile php with these
included. I have ne
On Fri, Apr 18, 2008 at 2:28 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Fri, 2008-04-18 at 13:54 -0600, Nathan Nobbe wrote:
> > On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Nope, the point is moot. If I've made my properties publicly
> access
I have a question in regards to building php-5.2.5 on Windows. I followed
the direction under "Quick Guide to Building On Windows" on the following
website exactly:
http://php.mirror.camelnetwork.com/manual/en/install.windows.building.php
However, I am unable to build the project becaus
On Fri, 2008-04-18 at 13:54 -0600, Nathan Nobbe wrote:
> On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings <[EMAIL PROTECTED]>
> wrote:
>
> > Nope, the point is moot. If I've made my properties publicly accessible,
> > now, due to the ability to trap via __get() or __set(), I can remove
> > them a
Al wrote:
I'm still fighting my hack problem on one of my servers. Can anyone help
me figure out what's the purpose of this code. The hack places this
file in numerous dirs on the site, I assume using a php script because
the owner is "nobody".
I can sort of figure what is doing; but, I can'
On Apr 18, 2008, at 3:53 PM, Eric Butera wrote:
Time for beer! :D
I second that!
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
> Nope, the point is moot. If I've made my properties publicly accessible,
> now, due to the ability to trap via __get() or __set(), I can remove
> them and handle them. Thus, I can retrospectively change the semantics
> w
Time for beer! :D
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Apr 18, 2008 at 12:43 PM, bruce <[EMAIL PROTECTED]> wrote:
>
>
> what did a google search on php/ajax progress bar return?
>
> peace
>
Once I know kind of what to search for (thanks for that) I found some very
interesting things. In particular I like:
http://www.bram.us/projects/js_bramu
Eric Butera wrote:
On Fri, Apr 18, 2008 at 3:19 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
He is referring to the code that he finds at the top of a number of
different files. That is the code that he showed us.
I just thought that was the entire contents of the file.
Double checking, I see
On Fri, 2008-04-18 at 13:17 -0600, Nathan Nobbe wrote:
> On Fri, Apr 18, 2008 at 1:02 PM, Robert Cummings <[EMAIL PROTECTED]>
> wrote:
>
> > What he means is don't ask for the data literally (by property name) ask
> > for it via a method. This allows wrapping the data in "work". This is a
> > moo
On Fri, Apr 18, 2008 at 3:19 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> He is referring to the code that he finds at the top of a number of
> different files. That is the code that he showed us.
I just thought that was the entire contents of the file.
--
PHP General Mailing List (http://www.ph
On Fri, Apr 18, 2008 at 2:52 PM, Al <[EMAIL PROTECTED]> wrote:
> Progress. One of our designers uploaded an infected css file for his
> application. Thus every time the file is called, it's executed. the The
> code appears to be md5 encoded. I'm going reverse the coding to see what it
> does.
On Fri, Apr 18, 2008 at 2:01 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
>
> I wasn't trying to step on your toes. It just didn't seem like the
> point was getting across. :D
Not at all, dude, I didn't take it that way. I appreciate it.
Especially days like today where it seems like th
Eric Butera wrote:
On Fri, Apr 18, 2008 at 2:59 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
in the example code above that is injected into the top of the php scripts,
the eval is evaluating the code that is read from the temp file, the temp
file is never moved or renamed. There for it will be re
On Fri, Apr 18, 2008 at 1:02 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
> What he means is don't ask for the data literally (by property name) ask
> for it via a method. This allows wrapping the data in "work". This is a
> moot issue in PHP since PHP allows trapping the property accessor.
i
On Fri, Apr 18, 2008 at 2:59 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> in the example code above that is injected into the top of the php scripts,
> the eval is evaluating the code that is read from the temp file, the temp
> file is never moved or renamed. There for it will be removed when the
>
On Fri, Apr 18, 2008 at 12:50 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
>
> Let me quote, you said this: "Is no different than" You are wrong, in
> fact it IS different. Having your own custom methods to get or set data
> allows you to have more control over what data is injected into your object
On Fri, 2008-04-18 at 11:50 -0700, Jim Lucas wrote:
> Nick Stinemates wrote:
> >>> Data Hiding IS Encapsulation.
> >>> But, you have to agree,
> >>> >>> class Lol {
> >>> private $bar;
> >>> public function getBar() { return $bar }
> >>> public function setBar($bar) { $this->bar = $bar}
> >>>
Eric Butera wrote:
On Fri, Apr 18, 2008 at 12:58 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
Eric Butera wrote:
On Fri, Apr 18, 2008 at 12:22 PM, Al <[EMAIL PROTECTED]> wrote:
I'm continuing to work on this.
One thing that seems obvious. The code executes the script code, using
eval(), direct
On Fri, Apr 18, 2008 at 11:25 AM, Nick Stinemates <[EMAIL PROTECTED]>
wrote:
> I don't think there was a single place where I said PHP was faster than
> C, nor did I imply it.
>
> > Depends. Shitty algorithms are shitty, regardless of language
> > implementation.
implies that the same algorithm
Progress. One of our designers uploaded an infected css file for his application. Thus every time
the file is called, it's executed. the The code appears to be md5 encoded. I'm going reverse the
coding to see what it does.
Al wrote:
I'm still fighting my hack problem on one of my servers. Can
Nick Stinemates wrote:
Data Hiding IS Encapsulation.
But, you have to agree,
bar = $bar}
}
?>
Is no different than:
Here's a more thought out argument from
http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-toolbox.html :
A fundamental precept of OO systems is that an object should not expos
On Fri, Apr 18, 2008 at 11:50 AM, Nick Stinemates <[EMAIL PROTECTED]>
wrote:
> That's a relatively narrow minded response to my point, since I gave
> a pretty concrete example of exactly what I meant,
no, its a very valid criticism of your flawed example. you supply a
definition of encapsulatio
On Fri, Apr 18, 2008 at 11:21 AM, Nick Stinemates <[EMAIL PROTECTED]>
wrote:
> On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote:
> > On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]>
> > wrote:
> >
> > > On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wro
On Fri, Apr 18, 2008 at 12:54 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
> On Fri, Apr 18, 2008 at 12:42 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> > On Fri, Apr 18, 2008 at 12:32 PM, Al <[EMAIL PROTECTED]> wrote:
> > > I've not bothered to try and figure out where it came from because
> h
On Fri, Apr 18, 2008 at 12:58 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
>
> Eric Butera wrote:
>
> > On Fri, Apr 18, 2008 at 12:22 PM, Al <[EMAIL PROTECTED]> wrote:
> >
> > > I'm continuing to work on this.
> > >
> > > One thing that seems obvious. The code executes the script code, using
> > > eva
Nick Stinemates wrote:
> The point I was making is simple, if you have a shitty algorithm
> (which is the case for our op) expect shitty performance.
Agree completely, that's the case in a nutshell.
> There's no doubt you will gain performance moving to C, but, if
> properly designed, you have a
>> Data Hiding IS Encapsulation.
>> But, you have to agree,
>> > class Lol {
>> private $bar;
>> public function getBar() { return $bar }
>> public function setBar($bar) { $this->bar = $bar}
>> }
>> ?>
>> Is no different than:
>> > class Lol {
>> public $bar;
>> }
>> ?>
>> Here's a more thought
Nick Stinemates wrote:
On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote:
On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]>
wrote:
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
Hello!
Seems that PHP gets more and more object oriented, which
On Fri, Apr 18, 2008 at 09:43:07AM -0700, bruce wrote:
> hi..
>
> if you have an action that the server is performing, and the action is going
> to take some amount of time, then you're going to need to provide some form
> of "progress" bar, that's a function of jscript/ajax on the client side...
On Fri, Apr 18, 2008 at 09:58:14AM -0600, Nathan Nobbe wrote:
> On Thu, Apr 17, 2008 at 5:46 PM, Nick Stinemates <[EMAIL PROTECTED]>
> wrote:
>
> > > If I wrote the console application in a c language (and compiled) would
> > one
> > > expect to see any improvements in performance? If so, how muc
On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote:
> On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]>
> wrote:
>
> > On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
> > > Hello!
> > >
> > > Seems that PHP gets more and more object oriented, which i
Eric Butera wrote:
On Fri, Apr 18, 2008 at 12:22 PM, Al <[EMAIL PROTECTED]> wrote:
I'm continuing to work on this.
One thing that seems obvious. The code executes the script code, using
eval(), directly from the /tmp dir. So the usual security tests we do prior
to using move_uploaded_file() ar
On Fri, Apr 18, 2008 at 12:42 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 12:32 PM, Al <[EMAIL PROTECTED]> wrote:
> > I've not bothered to try and figure out where it came from because hackers
> > spoof their ID anyhow.
>
> I meant the wide open flood gate on your system
hi..
if you have an action that the server is performing, and the action is going
to take some amount of time, then you're going to need to provide some form
of "progress" bar, that's a function of jscript/ajax on the client side...
you can't use just php, as php runs on the server, which is wher
On Fri, Apr 18, 2008 at 12:32 PM, Al <[EMAIL PROTECTED]> wrote:
> I've not bothered to try and figure out where it came from because hackers
> spoof their ID anyhow.
I meant the wide open flood gate on your system, not who did it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Fri, Apr 18, 2008 at 12:34 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 10:54:36AM -0400, Jason Pruim wrote:
> Try this out:
>
>
> while (true) {
> print "x";
> }
Jason,
Call ob_flush() and then this example and see what happens.
--
PHP General Maili
On Fri, Apr 18, 2008 at 10:54:36AM -0400, Jason Pruim wrote:
>
>> So if someone could point me in the right direction I'd really appreciate
>> it.
>
> Hi Steve,
>
> From my understanding of how PHP works and from reading the archives of
> this list, and asking quite a few questions my self.. You c
I've not bothered to try and figure out where it came from because hackers
spoof their ID anyhow.
Eric Butera wrote:
On Fri, Apr 18, 2008 at 12:22 PM, Al <[EMAIL PROTECTED]> wrote:
I'm continuing to work on this.
One thing that seems obvious. The code executes the script code, using
eval(),
On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]>
wrote:
> On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
> > Hello!
> >
> > Seems that PHP gets more and more object oriented, which is good.
> >
> > I am now running a course in PHP, using PHP 5, where we are
On Fri, Apr 18, 2008 at 12:22 PM, Al <[EMAIL PROTECTED]> wrote:
> I'm continuing to work on this.
>
> One thing that seems obvious. The code executes the script code, using
> eval(), directly from the /tmp dir. So the usual security tests we do prior
> to using move_uploaded_file() are useless.
>
>
> = C O D E ===S T AR T
> //this function is essentially a search and remove function for a nested
> array
>
>foreach ($arr as $key => $value) {
>//count($arr) == 3
>foreach ($value as $key2 => $value2) {
> //0<=count($value) <=1000
>fore
I'm continuing to work on this.
One thing that seems obvious. The code executes the script code, using eval(), directly from the
/tmp dir. So the usual security tests we do prior to using move_uploaded_file() are useless.
Al wrote:
I'm still fighting my hack problem on one of my servers. Can a
On Fri, Apr 18, 2008 at 11:56 AM, Steve Holmes <[EMAIL PROTECTED]> wrote:
> Thanks for the suggestion, but I'm pretty far along in this project and the
> idea is that the software install happens on demand. What we are trying to
> do is get the student/faculty population (tens of thousands of users
On Thu, Apr 17, 2008 at 5:46 PM, Nick Stinemates <[EMAIL PROTECTED]>
wrote:
> > If I wrote the console application in a c language (and compiled) would
> one
> > expect to see any improvements in performance? If so, how much
> improvement
> > could one expect (in general)?
>
> Depends. Shitty alg
On Fri, Apr 18, 2008 at 11:39 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 10:42 AM, Steve Holmes <[EMAIL PROTECTED]> wrote:
> > Greetings, I'm relatively new to PHP and I've been lurking for a while
> on
> > the list, but now I need a pointer or two.
> > I have an applic
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
> Hello!
>
> Seems that PHP gets more and more object oriented, which is good.
>
> I am now running a course in PHP, using PHP 5, where we are going to
> use the *DOM* interface. I am trying to teach them good OO practices,
> meanin
On Thu, Apr 17, 2008 at 04:30:00PM -0500, Daniel Kolbo wrote:
> Hello,
>
> I am writing a PHP script for a local application (not web/html based). My
> script is taking a longer time to execute than I want. The source code is
> a few thousand lines, so I will spare you all this level of detail.
On Fri, Apr 18, 2008 at 11:36 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 9:33 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
>
> > Like I said before, since you know that most of your time is in a
> > specific part of your script, just move that function into a custom
> > ext
On Fri, Apr 18, 2008 at 11:31 AM, Steve Holmes <[EMAIL PROTECTED]> wrote:
> If there are any canned ajax solutions, I'd like to hear about them.
http://developer.yahoo.com/yui/connection/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Apr 18, 2008 at 10:42 AM, Steve Holmes <[EMAIL PROTECTED]> wrote:
> Greetings, I'm relatively new to PHP and I've been lurking for a while on
> the list, but now I need a pointer or two.
> I have an application which has one function that does a lengthy process
> (installing a piece of s
On Fri, Apr 18, 2008 at 9:33 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> Like I said before, since you know that most of your time is in a
> specific part of your script, just move that function into a custom
> extension written in c/c++.
>
> http://talks.php.net/show/extending-php-apachecon2003/
On Fri, Apr 18, 2008 at 10:53 AM, Daniel Kolbo <[EMAIL PROTECTED]> wrote:
>
>
>
> Struan Donald wrote:
>
> > * at 17/04 16:30 -0500 Daniel Kolbo said:
> >
> >
> > > Hello,
> > >
> > > I am writing a PHP script for a local application (not web/html
> > > based). My script is taking a longer time to
Thanks (to both). Ajax is yet another thing I don't know anything about.
:-). Time to do some studyin' up I guess.If there are any canned ajax
solutions, I'd like to hear about them.
Steve.
On Fri, Apr 18, 2008 at 11:04 AM, James Dempster <[EMAIL PROTECTED]> wrote:
> As a suggestion you could s
As a suggestion you could store a progress of the function in the session
and make regular calls via ajax back to the server for the progress.
--
/James
On Fri, Apr 18, 2008 at 3:42 PM, Steve Holmes <[EMAIL PROTECTED]> wrote:
> Greetings, I'm relatively new to PHP and I've been lurking for a whi
On Apr 18, 2008, at 10:42 AM, Steve Holmes wrote:
Greetings, I'm relatively new to PHP and I've been lurking for a
while on
the list, but now I need a pointer or two.
I have an application which has one function that does a lengthy
process
(installing a piece of software) and I don't want th
Struan Donald wrote:
* at 17/04 16:30 -0500 Daniel Kolbo said:
Hello,
I am writing a PHP script for a local application (not web/html
based). My script is taking a longer time to execute than I want. The
source code is a few thousand lines, so I will spare you all this
level of detail.
I
Thanks !
On Fri, Apr 18, 2008 at 4:03 AM, Casey <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 17, 2008 at 6:51 PM, Alan Willsher
> <[EMAIL PROTECTED]> wrote:
> > Hi can you put a loop inside a loop?
> >
> > what I want to do is have something looping every 1 second and then
> > something else loopin
Hello everyone, i am working on a php script and found out that the
glob function is not working properly on the apache2 sapi, is working
just fine on the cli version, i try with php 5.2.3, 5.2.5 y 5.2.6RC5.
also try the cli version with the www-data user (the one is running
the apache) and it get
Greetings, I'm relatively new to PHP and I've been lurking for a while on
the list, but now I need a pointer or two.
I have an application which has one function that does a lengthy process
(installing a piece of software) and I don't want the user to panic thinking
nothing is going on. So I want t
On 17 April 2008 11:57, Bojan Tesanovic advised:
> in PHP5 by default Objects are passed by reference
Please stop repeating this -- erm -- inexactitude.
In PHP5, objects are passed around by their handle, *not* as a
reference. Most of the time, this has the same effect, as you are
addressing the
Daniel Kolbo wrote:
> If I wrote the console application in a c language (and compiled)
> would one expect to see any improvements in performance? If so, how
> much improvement could one expect (in general)?
You haven't given us much to work with, so it's a wild guess, but I
think you'd probably
* at 17/04 16:30 -0500 Daniel Kolbo said:
> Hello,
>
> I am writing a PHP script for a local application (not web/html
> based). My script is taking a longer time to execute than I want. The
> source code is a few thousand lines, so I will spare you all this
> level of detail.
>
> I prefer to wri
74 matches
Mail list logo