On Mon, Oct 27, 2008 at 11:44:50AM -0700, Brian Dunning wrote:
> I've got a script that downloads files queued from a server, and it's
> launched by a Windows Scheduled Task that launches every minute. My
> understanding of the default behavior is that if the task is still
> running a minute
On Sun, Oct 26, 2008 at 10:57:19AM +, Richard Heyes wrote:
> Hi,
>
> Had to show this off - I'm so proud. READ: full of myself... I've
> tried it in Firefox 3, Opera 9.6, Chrome and Safari, all on Windows.
>
> http://dev.rgraph.org/examples/interactive.html
>
> --
> Richard Heyes
>
> HTML5
On Fri, Apr 25, 2008 at 11:29:05AM -0600, Nathan Nobbe wrote:
> here we are back at the classic syntactic sugar argument. at least weve
> moved past abstract classes and interfaces !
for now :)
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
--
PHP General M
#x27;t imagine working with someones code where they
liberally use these types of lazy things. I like structured, ordered
code, and, somehow, using something like this technique doesn't seem
structured or ordered.
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
-
ething else!
> }
> }
> }
>
>
> Why is this useful? Because you can add functionality to your save
> page without touching it. This is very powerful when you have a
> shared code base and need to add some parts to it without breaking
> other sites. Since it is ex
'Can you just add XXX' :(
>
> So they actually ask for a porn site?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
:D lol
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
--
PH
s/method,
> what data is actually allowed to be injected into that variable. Whereas
> the second example would allow you to stuff any type of data into that
> class variable. That might not be a good thing.
>
That's a relatively narrow minded response to my point, since I gave
h the event processing
> end loop
> }
>
> the other, probably better option would be to have a progress area, that
> was/is a jscript/ajax based, that talked/polled the server to determine the
> overall status of the "action" as it's being performed.
>
> w
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 i
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 th
quite a few questions my self.. You can't do a
> progress bar in PHP since by the time it gets to the browser, PHP is done
> doing what it does.
This is actually false, at least on my system(s).
Try this out:
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
--
anks for the consideration and
> looking into those.
>
> At this point some of you may encourage me to go to C++ so i stop with this
> question...but I'd like to hear if you all agree that perhaps it is time to
> pull out the 50 lbp lump hammer?
Still disagree. I have
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
e would you
> recommend?
Depends on the task, but based on this e-mail I have a feeling you'll
encounter the same problem.
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg Donald wrote:
> On 2/19/08, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>
>> I said, simply, returning an array of objects was usually an indication
>> of poor design.
>>
>
> No it's not. Nearly every MVC framework in existence implements som
channel for your users to interact with
you, and for you to (potentially) respond to them.
You're looking for SMPP packages.
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Nobbe wrote:
> On Mon, Feb 18, 2008 at 9:06 PM, Nick Stinemates <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Thats a good example, and a good reason for passing values by
> Reference
> instead of by Value.
>
> I have fo
Jim Lucas wrote:
> Nick Stinemates wrote:
>> Nathan Rixham wrote:
>>> Robert Cummings wrote:
>>>> On Mon, 2008-02-18 at 21:09 -0600, Larry Garfield wrote:
>>>>> On Monday 18 February 2008, Nick Stinemates wrote:
>>>>>
>>>
Robert Cummings wrote:
> On Tue, 2008-02-19 at 21:51 -0800, Nick Stinemates wrote:
>
>> Robert Cummings wrote:
>>
>>> On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote:
>>>
>>>
>>>> I said, simply, returning an array
n use:
$result = $xml->xpath('//coordinates');
I have a feeling you'll want to do more parsing than that, thought.
In the case of your example, I believe it should be the following:
$result = $xml->xpath('Folder/Placemark/LineString/coordinates'); _or_
$
ille
fwrite($fp, $out); //send the headers
while (!feof($fp)) {
$buff .= fgets($fp, 128); //read the response
}
fclose($fp); //close the socket
if (strstr($buff, "404")) { //analyze.
echo "no alerts";
} else {
echo "alerts";
}
?&g
Robert Cummings wrote:
> On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote:
>
>> I said, simply, returning an array of objects was usually an indication
>> of poor design.
>>
>
> Please elaborate as to the "why" of it being an indication of
Nathan Nobbe wrote:
> On Feb 19, 2008 11:52 PM, Greg Donald <[EMAIL PROTECTED]> wrote:
>
>
>> On Feb 19, 2008 9:27 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>>
>>> Support != good design habits.
>>>
>> So you pr
Greg Donald wrote:
> On 2/18/08, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>
>> I have found, however, that if I ever need to return /multiple/ values,
>> it's usually because of bad design and/or the lack of proper encapsulation.
>>
>
> Yeah, t
Nathan Rixham wrote:
> Robert Cummings wrote:
>> On Mon, 2008-02-18 at 21:09 -0600, Larry Garfield wrote:
>>> On Monday 18 February 2008, Nick Stinemates wrote:
>>>
>>>>>> I have found, however, that if I ever need to return /multiple/
>>>>
al page for that function - it will tell you how to detect
>> errors.
>>
>> -Stut
>>
>> --
>> http://stut.net/
>>
>>
>
>
http://php.net/fopen
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemat
Robert Cummings wrote:
> On Mon, 2008-02-18 at 18:06 -0800, Nick Stinemates wrote:
>
>> C.R.Vegelin wrote:
>>
>>> >> $in = 4;
>>> calcpows($in, $pow2, $pow4);
>>> echo "in = $in pow2=$pow2 pow4=$pow4";
>>>
>>
>
>
> HTH
>
Thats a good example, and a good reason for passing values by Reference
instead of by Value.
I have found, however, that if I ever need to return /multiple/ values,
it's usually because of bad design and/or the lack of proper encapsulation.
--
==
N
thunderbird for looking like you responded to me.
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;;
> }
> }
> ?>
>
> Outputs the expected. Must be an error, maybe fatal or parse before the
> method call or maybe your method does execute you just are expecting
> something different?
>
> -Shawn
>
>
What part of my example was unclear?
--
==
Petrus Bastos wrote:
> I'm testing on FreeBSD. I can use any command through system(), but the zip
> command doesn't works! I don't know why.
>
>
> On Feb 18, 2008 4:06 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>
>
>> Petrus Bastos wrote:
&
e
testing...
test();
?>
Definitely works.
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> Thanks again and sorry for the inconvenience,
> Petrus Bastos.
>
> On Feb 18, 2008 2:37 PM, Nick Stinemates <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Petrus Bastos wrote:
> > Richard,
> >
> > Unfortunately, I can
orking/looking for the
exact type, it's time to use MIME as it is more reliable than something
like a filename.
http://us2.php.net/manual/en/ref.mime-magic.php
Good luck.
======
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL P
invent the wheel to a square, just in case they got it
wrong. [=
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o get creative, Petros. You're in a bind, and I
assume you need to get this done, so you have the following options (in
the order I would do it in..)
-> Turn on exec()
-> You can use/modify an app I wrote (in python) which accepts UDP
packets and executed commands based off of it.
Richard Lynch wrote:
> On Sun, February 17, 2008 1:57 pm, Nick Stinemates wrote:
>
>> Petrus Bastos wrote:
>>
>>> Hi Nick,
>>>
>>> Sorry, but I forgot to tell you that I can't use this exec
>>> neither
>>> system com
ge/File_Archive
>>
>> --
>> Postgresql & php tutorials
>> http://www.designmagick.com/
>>
>>
>
>
I'm sure you know what you're doing, but maybe you'd be better off
letting us know the task / process to better understand wh
John Meyer wrote:
> Børge Holen wrote:
>> On Monday 18 February 2008 00:10:30 John Meyer wrote:
>>
>>> Daniel Brown wrote:
>>>
On Feb 17, 2008 5:37 PM, nihilism machine
<[EMAIL PROTECTED]>
>> wrote:
>>
> i am using this code to get the extension of a filename:
>
>>>
Bastos.
>
> On Feb 17, 2008 5:15 AM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>
>
>> Petrus Bastos wrote:
>>
>>> Hey folks,
>>>
>>> Do you know how can I create a protected zip file with password? Is
>>> there anyway?
the relatively weak encryption
provided by standard zipfile
utilities.)
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adil Drissi wrote:
> Hi everybody,
>
> I need help with sessions.
> I have a simple authentification relying only on
> sessions (i don't use cookies). After the user submits
> his username and password, the script checks if that
> corresponds to a record in a mysql table. If this is
> the case "$_S
$NAMEFORMAT . $data[0] . ""; // print the name
echo $MESSAGEFORMAT . $data[1]; // print the text
}
fclose($boardFileHandle);
?>
If you have any questions regarding the implementation I suggest the
following reading material:
http://us3.php.net/manual/en/function.f
An example:
Hope it helps!
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
iling List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
You can take a look at:
http://projects.stinemates.org/
And click on the 'View Source' link.
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM
I just got this from: http://php.net/preg_match
Hope it works out for you.
- Nick Stinemates
On Thu, Jan 18, 2007 at 01:40:36PM -0700, Don wrote:
> I'm trying to get this line to validate an email address from a form and it
> isn't working.
>
> if (ereg("[EMAIL
> I already do and currently I just jump to that page but it would be nice
>
> to go backwards so the user doesn't have to enter the same values all
>
> the time.
If that is the case, you can also store their values
47 matches
Mail list logo