On Wednesday 16 April 2008, Daevid Vincent wrote:
> > -Original Message-
> > From: Larry Garfield [mailto:[EMAIL PROTECTED]
> >
> > If your code doesn't have an API and clear separation of
> > parts, then neither
> > abstract classes nor interfaces are useful to you.
> >
> > If you're codin
On Wednesday 16 April 2008, vester_s wrote:
> Can anybody tell me how can php connect to NNTP to get the list of all
> users in the newsgroups?
NNTP has no concept of "users".
--
Crayon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I'm new to the list.
I'm running on Apache 2 and I want to use the mod_auth_basic module,
which authenticates the user.
But I need the username to use it in my php script. How can I?
Is there any php command or variable that keeps this info?
I searched my browser whether a cookie is crea
Dave M G wrote:
> I contacted my web host provider, and they recommended increasing the
> allowed allocation limit in "/etc/php.ini".
>
> Right now my allocation limit, assuming I'm looking at the right
> setting is 8 megabytes:
>
> memory_limit = 8M ; Maximum amount of memory a script may
Georgios Kasapoglou wrote:
> Hi all,
> I'm new to the list.
> I'm running on Apache 2 and I want to use the mod_auth_basic module,
> which authenticates the user.
> But I need the username to use it in my php script. How can I?
$_SERVER[] might have it.
/Per Jessen, Zürich
--
PHP General Mai
Ok,
$_SERVER["REMOTE_USER"] is the answer.
Thanks anyway.
Georgios
Georgios Kasapoglou wrote:
Hi all,
I'm new to the list.
I'm running on Apache 2 and I want to use the mod_auth_basic module,
which authenticates the user.
But I need the username to use it in my php script. How can I?
Is there
PHP list,
I have a PHP script that resizes an image. It takes just about whatever
size and shrinks and crops it down to 320X240.
I've found that these days, it's not uncommon for people to take images
straight off their digital camera, which can be 3000X2000 pixels in
image size, even if the
I'm using PHP to cache files that are backed by the database. In the
course of writing these functions, I end up with a set of variables
that are needed by my application, returned in an array. I can either
directly generate the array in a .php file, then use require_once to
get that variable, or
I'm using PHP to cache files that are backed by the database. In the
course of writing these functions, I end up with a set of variables
that are needed by my application, returned in an array. I can either
directly generate the array in a .php file, then use require_once to
get that variable, o
The term "abstract" has been adequately defined in this thread, so I won't
repeat it.
However, there is one important aspect of the term "interface" which I think
that most people seem to miss - it is not necessary to use the term
"interface" in order to have an interface. Let me explain with a co
On Wed, 2008-04-16 at 12:20 +0100, Tony Marston wrote:
> The term "abstract" has been adequately defined in this thread, so I won't
> repeat it.
>
> However, there is one important aspect of the term "interface" which I think
> that most people seem to miss - it is not necessary to use the term
>
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> On Wed, 2008-04-16 at 12:20 +0100, Tony Marston wrote:
>> The term "abstract" has been adequately defined in this thread, so I
>> won't
>> repeat it.
>>
>> However, there is one important aspect of the term "interf
At 6:48 PM +0900 4/16/08, Dave M G wrote:
PHP list,
I have a PHP script that resizes an image. It takes just about
whatever size and shrinks and crops it down to 320X240.
I've found that these days, it's not uncommon for people to take
images straight off their digital camera, which can be 3
[snip]
"enforcing a contract" is a lot of maningless gobbledegook. The simple
fact
is that it is possible to have an interface without ever using the term
"interface". Nothing extra is added by using the term "interface"
(except
for effort) so there is absolutely no advantage in doing so. That i
{Top Posting}
I don't know if I'm just lazy or stupid (or both).
I went into a similar issue few weeks ago and my solution was to add a
function to delete files created in the last X hours (mine was 24), and call
it on the same script that creates the files.
Which means it tries to clean up old
On Wed, Apr 16, 2008 at 5:48 AM, Dave M G <[EMAIL PROTECTED]> wrote:
> PHP list,
>
> I have a PHP script that resizes an image. It takes just about whatever
> size and shrinks and crops it down to 320X240.
>
[snip!]
>
> So sometimes I've seen an error in my logs that says:
>
> Fatal error: Allow
On Wed, Apr 16, 2008 at 7:56 AM, tedd <[EMAIL PROTECTED]> wrote:
> At 6:48 PM +0900 4/16/08, Dave M G wrote:
>
> > PHP list,
> >
> > I have a PHP script that resizes an image. It takes just about whatever
> size and shrinks and crops it down to 320X240.
> >
> > I've found that these days, it's not
On Wed, Apr 16, 2008 at 6:07 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
>
> > Actually, I have no idea what the potential dangers are.
>
> Using up all available memory is the only real "risk". It might lead to
> swapping which in turn will most likely increase response times.
And on a shar
On Wed, Apr 16, 2008 at 7:56 AM, tedd <[EMAIL PROTECTED]> wrote:
> At 6:48 PM +0900 4/16/08, Dave M G wrote:
>
> > PHP list,
> >
> > I have a PHP script that resizes an image. It takes just about whatever
> size and shrinks and crops it down to 320X240.
> >
> > I've found that these days, it's not
On Wed, Apr 16, 2008 at 9:37 AM, Thiago Pojda
<[EMAIL PROTECTED]> wrote:
>
> I don't know if I'm just lazy or stupid (or both).
Stupid, definitely not. Lazy well, maybe. ;-P
> I went into a similar issue few weeks ago and my solution was to add a
> function to delete files created in
On Wed, Apr 16, 2008 at 7:37 AM, Thiago Pojda <
[EMAIL PROTECTED]> wrote:
> {Top Posting}
>
> I don't know if I'm just lazy or stupid (or both).
>
> I went into a similar issue few weeks ago and my solution was to add a
> function to delete files created in the last X hours (mine was 24), and
> ca
Daniel Brown wrote:
> On Wed, Apr 16, 2008 at 6:07 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
>>
>> > Actually, I have no idea what the potential dangers are.
>>
>> Using up all available memory is the only real "risk". It might
>> lead to swapping which in turn will most likely increase respon
On Wed, Apr 16, 2008 at 9:59 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
>
> well since i dont have your service dan, im filling in blanks over here;
> but, do users get to determine the name of the files that get created by
> this script, or at least rename them; that could be very beneficial.
On Wed, Apr 16, 2008 at 9:59 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
>
> In addition to the added time, aren't there any problems with race
> conditions if two users try to create a file at the same time and each
> user's script tries to clean the same files at the same time?
With out
On Wed, Apr 16, 2008 at 9:57 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> Daniel Brown wrote:
> >
> > And on a shared host, the likelihood of increased billing for
> > overuse of memory.
>
> Except a shared hoster would probably not permit anyone to change
> php.ini :-)
I do. A lot of
On Wed, Apr 16, 2008 at 8:12 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 10:05 AM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> > On Wed, Apr 16, 2008 at 7:59 AM, Andrew Ballard <[EMAIL PROTECTED]>
> wrote:
> >
> > > In addition to the added time, aren't there any problem
On Wed, Apr 16, 2008 at 10:13 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 8:07 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
> >You are the weakest link. Goodbye!
>
> have your bitter posting days started early ? :P
No, but that annoying woman's face and voice p
On Wed, Apr 16, 2008 at 8:14 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 10:13 AM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> > On Wed, Apr 16, 2008 at 8:07 AM, Daniel Brown <[EMAIL PROTECTED]>
> wrote:
> >
> > >You are the weakest link. Goodbye!
> >
> > have your
On Wed, Apr 16, 2008 at 10:14 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
>
> sure, why not; but ill not let you lure me into a full hosting deal. ive
> got my own systems, atm.
Congratulations!
I'm not trying to sell you on anything, just thought you might
like to have more of an idea
On Wed, Apr 16, 2008 at 10:10 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 9:59 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
> >
>
> > In addition to the added time, aren't there any problems with race
> > conditions if two users try to create a file at the same time a
On Wed, Apr 16, 2008 at 8:13 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
> It's a start, but what about a user who never returns? You still want
> some way to clean out those old files, and I think that's the approach
> Thiago was presenting by purging all files older than X
> days/hours/minutes
On Wed, Apr 16, 2008 at 10:05 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 7:59 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
>
> > In addition to the added time, aren't there any problems with race
> > conditions if two users try to create a file at the same time and eac
On Wed, Apr 16, 2008 at 9:56 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
>
> it sounds like thats what theyre talking about doing...
>
[snip!]
>
> that way, you could get rid of them almost as quickly as they are created;
> you wont be overwriting any files for different users, and you have the
> g
At 9:41 AM -0400 4/16/08, Andrew Ballard wrote:
On Wed, Apr 16, 2008 at 7:56 AM, tedd <[EMAIL PROTECTED]> wrote:
At 6:48 PM +0900 4/16/08, Dave M G wrote:
> PHP list,
>
> I have a PHP script that resizes an image. It takes just about whatever
size and shrinks and crops it down to 320X240.
On Wed, Apr 16, 2008 at 10:05 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 7:59 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
>
> > In addition to the added time, aren't there any problems with race
> > conditions if two users try to create a file at the same time and each
On Wed, Apr 16, 2008 at 7:59 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
> In addition to the added time, aren't there any problems with race
> conditions if two users try to create a file at the same time and each
> user's script tries to clean the same files at the same time?
ergo, the need
On Wed, Apr 16, 2008 at 9:53 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 9:37 AM, Thiago Pojda
> <[EMAIL PROTECTED]> wrote:
> >
> > I don't know if I'm just lazy or stupid (or both).
>
> Stupid, definitely not. Lazy well, maybe. ;-P
>
>
> > I went into a si
On Wed, Apr 16, 2008 at 7:53 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 9:37 AM, Thiago Pojda
> <[EMAIL PROTECTED]> wrote:
> >
> > I don't know if I'm just lazy or stupid (or both).
>
> Stupid, definitely not. Lazy well, maybe. ;-P
>
> > I went into a similar
On Wed, Apr 16, 2008 at 8:07 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 9:59 AM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> >
> > well since i dont have your service dan, im filling in blanks over here;
> > but, do users get to determine the name of the files that get c
On Wed, Apr 16, 2008 at 8:02 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 9:56 AM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> >
> > it sounds like thats what theyre talking about doing...
> >
> [snip!]
> >
> > that way, you could get rid of them almost as quickly as they
Daniel Brown wrote:
> On Wed, Apr 16, 2008 at 9:57 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
>> Daniel Brown wrote:
>> >
>> > And on a shared host, the likelihood of increased billing for
>> > overuse of memory.
>>
>> Except a shared hoster would probably not permit anyone to change
>> ph
Hi Everyone!
I'm back with yet another question But getting closer to sounding
like I know what I'm talking about and that's all thanks to all of
you. A free beer (Or beverage of choice)* for everyone who has helped
me over the years!
Here's my question... I have a program, where I wa
On Wed, Apr 16, 2008 at 10:18 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
>
> What was the name of your company again? blindeyehosting.com? ;-)
No, we had to change the name, so we went with a more obscure
reference: piratepatchhosting.name. ;-P
--
Ask me about:
Dedicated servers start
On 4/16/08, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> Hi Everyone!
>
> I'm back with yet another question But getting closer to sounding like
> I know what I'm talking about and that's all thanks to all of you. A free
> beer (Or beverage of choice)* for everyone who has helped me over the year
I'm back with yet another question But getting closer to sounding
like I know what I'm talking about and that's all thanks to all of you.
A free beer (Or beverage of choice)* for everyone who has helped me over
the years!
I would prefer hard (or soft) cash... :-)
Here's my question... I h
On Wed, Apr 16, 2008 at 8:46 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 10:18 AM, Andrew Ballard <[EMAIL PROTECTED]>
> wrote:
> >
> > What was the name of your company again? blindeyehosting.com? ;-)
>
> No, we had to change the name, so we went with a more obscure
On Wed, Apr 16, 2008 at 9:59 AM, tedd <[EMAIL PROTECTED]> wrote:
>
> At 9:41 AM -0400 4/16/08, Andrew Ballard wrote:
>
> > On Wed, Apr 16, 2008 at 7:56 AM, tedd <[EMAIL PROTECTED]> wrote:
> >
> > > At 6:48 PM +0900 4/16/08, Dave M G wrote:
> > >
> > > > PHP list,
> > > >
> > > > I have a PHP sc
Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 10:18 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
> >
> > What was the name of your company again? blindeyehosting.com? ;-)
>
> No, we had to change the name, so we went with a more obscure
> reference: piratepatchhos
Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 16, 2008 at 8:46 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
> > On Wed, Apr 16, 2008 at 10:18 AM, Andrew Ballard <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > What was the name of your company again? blindeyehosting.com? ;-)
> >
> >
On Wed, Apr 16, 2008 at 10:36 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
>
> I'm curious - why? To me php.ini seems to be exactly the kind of thing
> you wouldn't the user to fiddle with - in a shared environment.
To allow flexibility for the user, and give them the opportunity
to customize
On Wed, Apr 16, 2008 at 5:37 AM, Georgios Kasapoglou <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm new to the list.
> I'm running on Apache 2 and I want to use the mod_auth_basic module, which
> authenticates the user.
> But I need the username to use it in my php script. How can I?
> Is there any
On Wed, Apr 16, 2008 at 9:15 AM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> off-subject (yes total thread robbery here [more of a side note really]).
> > i saw a reference to some of your work in the Solar framework richard, for
> > clearing out the 'environment' or rather the superglobal arrays
Thanks Daniel,
I found it in $_SERVER["REMOTE_USER"] but $_SERVER["PHP_AUTH_USER"]
(which you propose) gives me the same information.
Regards,
Georgios
Daniel Brown wrote:
On Wed, Apr 16, 2008 at 5:37 AM, Georgios Kasapoglou <[EMAIL PROTECTED]> wrote:
Hi all,
I'm new to the list.
I'm r
On Wed, Apr 16, 2008 at 10:58 AM, Wolf <[EMAIL PROTECTED]> wrote:
>
> Nathan Nobbe <[EMAIL PROTECTED]> wrote:
>
> > ive always been partial to brokensoftware.com, but someones actually beaten
> > me to it :O
>
> brokensoftware.com redirects me to microsoft.com
>
> How cool is that!!
On Wed, 16 Apr 2008 10:43:15 -0400, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hi Everyone!
>
> I'm back with yet another question But getting closer to sounding
> like I know what I'm talking about and that's all thanks to all of
> you. A free beer (Or beverage of choice)* for everyone who has
off-subject (yes total thread robbery here [more of a side note
really]). i saw a reference to some of your work in the Solar framework
richard, for clearing out the 'environment' or rather the superglobal
arrays. good stuff.
Thanks (I think you're referring to clearing register_globals cra
On Wed, Apr 16, 2008 at 8:55 AM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> I'm back with yet another question But getting closer to sounding like
> > I know what I'm talking about and that's all thanks to all of you. A free
> > beer (Or beverage of choice)* for everyone who has helped me over
Assuming a recent release of MySQL:
open the schema information_schema then
select TABLE_NAME, COLUMN_NAME from COLUMNS where TABLE_NAME = '$table';
Steve
On Wed, Apr 16, 2008 at 10:55 AM, Richard Heyes <[EMAIL PROTECTED]>
wrote:
> I'm back with yet another question But getting closer to so
Daniel Brown wrote:
> On Wed, Apr 16, 2008 at 10:36 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
>>
>> I'm curious - why? To me php.ini seems to be exactly the kind of
>> thing you wouldn't the user to fiddle with - in a shared
>> environment.
>
> To allow flexibility for the user, and give
At 10:53 AM -0400 4/16/08, Andrew Ballard wrote:
On Wed, Apr 16, 2008 at 9:59 AM, tedd <[EMAIL PROTECTED]> wrote:
> I saw one the other day that caught my eye -- will look into it.
The first problem I see implementing the approach is the JavaScript
sandbox. JavaScript is allowed to read the
On Wed, Apr 16, 2008 at 11:42 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> Daniel Brown wrote:
>
> I guess it's a matter of preference - I tend to think that a shared
> hosting user is best restricted to whatever changes he can do
> in .htaccess (with php_admin_flag etc.).
I allow overrides
[snip]
> What about encapsulation?
Interfaces have nothing to do with encapsulation for the smple reason
that I
can have encapsulation without using interfaces.
> Also, there is an advantage to
> interfaces that has not been mentioned yet, the fact that a
> class can implement multiple interfac
On 4/16/08, tedd <[EMAIL PROTECTED]> wrote:
>
> At 10:53 AM -0400 4/16/08, Andrew Ballard wrote:
>
> > On Wed, Apr 16, 2008 at 9:59 AM, tedd <[EMAIL PROTECTED]> wrote:
> >
> > > I saw one the other day that caught my eye -- will look into it.
> >
> > >
> > > The first problem I see implementing t
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't figure out
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 16/04/2008, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> > What about encapsulation?
>
> Interfaces have nothing to do with encapsulation for the smple reason
> that I
> can have encapsulation without using interfaces.
Unique use of logic there.
By similar reasoning; swimming trunks
> I can sort of figure what is doing; but, I can't figure out what the hacker
> is using it for.
It will allow him to upload and execute arbitrary code on your server.
Generally speaking, arbitrary code execution is a bad thing. :).
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
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 Wed, Apr 16, 2008 at 12:13 PM, Al <[EMAIL PROTECTED]> 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
> "
On Wed, Apr 16, 2008 at 12:00 PM, David Giragosian
<[EMAIL PROTECTED]> wrote:
>
> On 4/16/08, tedd <[EMAIL PROTECTED]> wrote:
> >
> > At 10:53 AM -0400 4/16/08, Andrew Ballard wrote:
> >
> > > On Wed, Apr 16, 2008 at 9:59 AM, tedd <[EMAIL PROTECTED]> wrote:
> > >
> > > > I saw one the other
Is it possible to do it without using imap? I am trying to get the list of
all users that is on the newsgroup, is that possible?
chris smith-9 wrote:
>
> vester_s wrote:
>> Hi,
>>
>> Can anybody tell me how can php connect to NNTP to get the list of all
>> users
>> in the newsgroups?
>
> http
On Wed, Apr 16, 2008 at 3:38 AM, Crayon Shin Chan
<[EMAIL PROTECTED]> wrote:
> On Wednesday 16 April 2008, vester_s wrote:
>
> > Can anybody tell me how can php connect to NNTP to get the list of all
> > users in the newsgroups?
>
> NNTP has no concept of "users".
Crayon is right.
Auth
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'
hope ya dont mind if i borrow that one :D
arm, have you seen my website...? :-)
i was reading through it, and i was like; holy shit; that dudes from the
list !! btw, i talked to the guy who wrote solar, when i was in dc last
year. really cool fellow; but i talked his ear off :O
Hope you re
On Tue, Apr 15, 2008 at 7:16 PM, Kyle Browning <[EMAIL PROTECTED]> wrote:
> Is there a way I can get my fsock to stay open when the child process exits?
>
> Kyle
Kyle,
Are you trying to create a PHP daemon?
What do you mean by "child process" is PHP launching a second
script to
Is there a reverved variable that can be used to check the remote IP address
of the computer hitting your web page?
Javier
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Apr 16, 2008 at 1:57 PM, Javier Huerta <[EMAIL PROTECTED]> wrote:
> Is there a reverved variable that can be used to check the remote IP address
> of the computer hitting your web page?
--
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hos
On Wed, 2008-04-16 at 17:22 +0100, Robin Vickery wrote:
> On 16/04/2008, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> > [snip]
> > > What about encapsulation?
> >
> > Interfaces have nothing to do with encapsulation for the smple reason
> > that I
> > can have encapsulation without using interfa
Hello,
I think of PHPUnit+Xdebug+PHPUndercontrol.
Brice Favre
On Wed, Apr 16, 2008 at 8:17 PM, Jay Paulson <[EMAIL PROTECTED]>
wrote:
> Hi everyone,
>
> I¹m just not getting into unit testing and was wondering what tools are
> out
> there that will automatically run unit tests continuously and
>>""Daniel Brown"" <[EMAIL PROTECTED]> wrote in >message >> Is there a
>>reverved variable that can be >used to check the remote IP address
>> of the computer hitting your web page?
>
> $_SERVER['REMOTE_ADDR'];
> ?>
>
Wow that was quick, thanks Daniel.
Javier
--
PHP General Mailing List (
Hi everyone,
I¹m just not getting into unit testing and was wondering what tools are out
there that will automatically run unit tests continuously and make reports
if a test failed and how much/what code was tested. Currently in Java land
I¹m using Hudson, ant, Junit, and Coberatura.
Thanks!
Jay
Daniel Brown wrote:
> On Wed, Apr 16, 2008 at 3:38 AM, Crayon Shin Chan
> <[EMAIL PROTECTED]> wrote:
>> On Wednesday 16 April 2008, vester_s wrote:
>>
>> > Can anybody tell me how can php connect to NNTP to get the list of
>> > all users in the newsgroups?
>>
>> NNTP has no concept of "users".
On Wed, Apr 16, 2008 at 5:47 AM, Tony Marston <[EMAIL PROTECTED]>
wrote:
>
> "Robert Cummings" <[EMAIL PROTECTED]> wrote in message
> > While I agree that Interfaces are mostly a lot of extra code, I have to
> > also say that they are there primarily to enforce a contract between the
> > user of t
On Wed, 2008-04-16 at 12:43 -0600, Nathan Nobbe wrote:
> On Wed, Apr 16, 2008 at 5:47 AM, Tony Marston <[EMAIL PROTECTED]>
> wrote:
>
> >
> > "Robert Cummings" <[EMAIL PROTECTED]> wrote in message
> > > While I agree that Interfaces are mostly a lot of extra code, I have to
> > > also say that th
On Wed, Apr 16, 2008 at 12:01 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Wed, 2008-04-16 at 17:22 +0100, Robin Vickery wrote:
> > On 16/04/2008, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> > > [snip]
> > > > What about encapsulation?
> > >
> > > Interfaces have nothing to do with encap
On Wed, Apr 16, 2008 at 12:54 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Wed, 2008-04-16 at 12:43 -0600, Nathan Nobbe wrote:
> > On Wed, Apr 16, 2008 at 5:47 AM, Tony Marston <
> [EMAIL PROTECTED]>
> > wrote:
> >
> > >
> > > "Robert Cummings" <[EMAIL PROTECTED]> wrote in message
> > > >
Nathan Nobbe wrote:
On Wed, Apr 16, 2008 at 5:47 AM, Tony Marston <[EMAIL PROTECTED]>
wrote:
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
While I agree that Interfaces are mostly a lot of extra code, I have to
also say that they are there primarily to enforce a contract betwe
On Wed, Apr 16, 2008 at 12:56 PM, Jeremy Privett <[EMAIL PROTECTED]>
wrote:
> This is a holy war that is never going to end. It boils down to personal
> and professional preferences. The fact of the matter is, if a company uses
> these concepts and you don't know, understand, or execute that know
On Wed, Apr 16, 2008 at 2:42 PM, Per Jessen <[EMAIL PROTECTED]> wrote:
>
> If required, authentication is done via NNTP. The nntp servers can be
> set up to require authentication for some or more groups, for instance
> for closed user communities.
> If you check your newsreader, you'll no dou
Nathan Nobbe wrote:
On Wed, Apr 16, 2008 at 12:56 PM, Jeremy Privett <[EMAIL PROTECTED]>
wrote:
This is a holy war that is never going to end. It boils down to personal
and professional preferences. The fact of the matter is, if a company uses
these concepts and you don't know, understand,
Daniel Brown wrote:
> On Wed, Apr 16, 2008 at 2:42 PM, Per Jessen <[EMAIL PROTECTED]> wrote:
>>
>> If required, authentication is done via NNTP. The nntp servers can
>> be set up to require authentication for some or more groups, for
>> instance for closed user communities.
>> If you check yo
On Wed, Apr 16, 2008 at 3:27 PM, Per Jessen <[EMAIL PROTECTED]> wrote:
>
> Well, NNTP (the protocol) certainly has a userid/password concept, and
> so does e.g. INN, the news-server I'm using.
> I'm sure INN _could_ use a PAM-module for interfacing Linux access
> control, but the straight forwa
I wanted a form for people in my community to use to subscribe to a
yahoo group that I run.
Not being a PHP programmer, I created the form with phpFormGenerator
from SourceForge.
It works fine except that the email that gets sent to yahoo appears to
come from my web host's domain!
How can
On Wed, Apr 16, 2008 at 3:53 PM, Pete Holsberg <[EMAIL PROTECTED]> wrote:
> I wanted a form for people in my community to use to subscribe to a yahoo
> group that I run.
>
> Not being a PHP programmer, I created the form with phpFormGenerator from
> SourceForge.
>
> It works fine except that the
Daniel Brown has written on 4/16/2008 4:04 PM:
On Wed, Apr 16, 2008 at 3:53 PM, Pete Holsberg <[EMAIL PROTECTED]> wrote:
I wanted a form for people in my community to use to subscribe to a yahoo
group that I run.
Not being a PHP programmer, I created the form with phpFormGenerator from
Sour
On Wed, Apr 16, 2008 at 4:39 PM, Pete Holsberg <[EMAIL PROTECTED]> wrote:
>
> The entire processor.php file is:
>
>
>
> $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));
>
> mail("[EMAIL PROTECTED],[EMAIL PROTECTED]","SUBSCRIBE","Form
> data:
>
>
Daniel Brown has written on 4/16/2008 4:56 PM:
On Wed, Apr 16, 2008 at 4:39 PM, Pete Holsberg <[EMAIL PROTECTED]> wrote:
The entire processor.php file is:
http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));
mail("[EMAIL PROTECTED],[EMAIL PROTECTED]","SUBSCR
On 16 Apr 2008, at 18:01, vester_s wrote:
Is it possible to do it without using imap? I am trying to get the
list of
all users that is on the newsgroup, is that possible?
I'm wondering what possible legitimate reason you could have for
wanting that list?
There is a way to get it (it's not
On Wed, Apr 16, 2008 at 5:14 PM, Pete Holsberg <[EMAIL PROTECTED]> wrote:
>
> Why do I need both from_addr and field_4 (Email Address)? Could I just use
>
> $from = $_POST['field_4']?
Sorry, I noticed it after I started rewriting the form processor,
and then forgot to edit the email accordin
Jason Pruim wrote:
Hi Everyone!
I'm back with yet another question But getting closer to sounding
like I know what I'm talking about and that's all thanks to all of you.
A free beer (Or beverage of choice)* for everyone who has helped me over
the years!
Here's my question... I have a pr
1 - 100 of 114 matches
Mail list logo