I removed the day (1 before the March), but its still giving the same
result, i.e. different days of month with and without the 'first'. Any
further help ?
print "first Tuesday :".date("d-m-Y H:i:s",strtotime('March 2011
Tuesday'))."\n";
print "first: ".date("d-m-Y H:i:s",strtotime('March 2011 fir
On Friday, 1 April 2011 at 17:07, Santosh gunat wrote:
Hi,
>
> I am in a big problem,
>
> My manager gave a task,
> He want a PHP scrip which will check if the remote machines are Powered on
> and are running.
> He want this to be done using eclipse.
>
> He also want a log in a HTML or text file
your boss is asking you to write something in PHP, but it sounds to me like
you are not very knowledgable in it, or even in creating a text file. Why
is he doing this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could just periodically ping those remote machines with a
system()-call, and then write the result to a file.
2011/4/1 Santosh gunat :
> Hi,
>
> I am in a big problem,
>
> My manager gave a task,
> He want a PHP scrip which will check if the remote machines are Powered on
> and are running.
>
On Friday, 1 April 2011 at 22:43, Alex Nikitin wrote:
JavaScript is a browser-side language, browsers have cache, cache sticks
> around, meaning that you can tell the browser to cache the JS file and not
> download it from the server (every time) if its being included on the
> browser end (which js
And the way to do this is?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
JavaScript is a browser-side language, browsers have cache, cache sticks
around, meaning that you can tell the browser to cache the JS file and not
download it from the server (every time) if its being included on the
browser end (which js is). All means faster page load times post initial
load, an
On Fri, Apr 1, 2011 at 2:32 PM, Jim Giner wrote:
>
> function. Try something like:
> ...
> echo 'heaading contains: getText("h2")';
> ...
>
> I tried it - no better.
>
Did you still get the "function undefined" error?
--
Sláinte,
Richard S. Crawford (rich...@underpope.com)
http://www.underpope.
http://www.php.net/manual/en/book.json.php
Sent via DROID on Verizon Wireless
-Original message-
From: Simon J Welsh
To: Michelle Konzack
Cc: PHP - General
Sent: Fri, Apr 1, 2011 21:23:22 GMT+00:00
Subject: Re: [PHP] Looking for Tool to read JSON format
On 2/04/2011, at 10:19 AM, Mic
function. Try something like:
...
echo 'heaading contains: getText("h2")';
...
I tried it - no better.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 2/04/2011, at 10:19 AM, Michelle Konzack wrote:
> Hello *,
>
> curently I am coding on my new Intranet Interface, but some teleguided
> servers return only JSON or YAML files.
>
> Can someone tell me, how to import JSON files in PHP 5/6?
>
> Thanks, Greetings and nice Day/Evening
>Mich
Hello *,
curently I am coding on my new Intranet Interface, but some teleguided
servers return only JSON or YAML files.
Can someone tell me, how to import JSON files in PHP 5/6?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
# Debian GNU/Linux Consultant #
Thanks - now I see. the message means that it can't find a php function
called getText. Doh!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Maybe try:
echo 'getText("p1")';
I think that should work.
Good luck.
Cheers,
Micky
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Apr 1, 2011 at 12:35, Dan Dan wrote:
> Hi Folks,
>
> I am trying to get the day of month for a particular day of week (e.g.
> Tuesday) for the first, second, third, fourth week in a month. The code i
> have seems issues in March, but works e.g. in April:
>
> print date("d-m-Y H:i:s",strtot
Hi Folks,
I am trying to get the day of month for a particular day of week (e.g.
Tuesday) for the first, second, third, fourth week in a month. The code i
have seems issues in March, but works e.g. in April:
print date("d-m-Y H:i:s",strtotime('1 March 2011 Tuesday'));
>> 01-03-2011 00:00:00
prin
Hi,
I am in a big problem,
My manager gave a task,
He want a PHP scrip which will check if the remote machines are Powered on
and are running.
He want this to be done using eclipse.
He also want a log in a HTML or text file that which remote machine is
running and which remote machine is down/po
Hi,
I am in a big problem,
My manager gave a task,
He want a PHP scrip which will check if the remote machines are Powered on
and are running.
He want this to be done using eclipse.
He also want a log in a HTML or text file that which remote machine is
running and which remote machine is down/po
On 3/25/2011 12:09 PM, markb wrote:
Very rusty with PHP.
We moved our web site to a new hosting service (godaddy). PHP changed
from 4x to 5.2.17.
I can no longer change $_SESSION variables after the first use.
First call to form - start session create variables
Second call - can read variables, c
At 05:04 AM 4/1/2011, Richard Quadling wrote:
On 31 March 2011 23:16, Ethan Rosenberg wrote:
>
>>>
> Dan -
>
> I'm a newbie...
>
> 1] What should the line in the Apache configuration file be? Just to be
> sure, the file is: /etc/apache2/apache2.conf, correct?
--
Richard Quadling
Twitter : EE
> -Original Message-
> From: Ethan Rosenberg [mailto:eth...@earthlink.net]
> Sent: 31 March 2011 21:40
> I can be working on more than one program simultaneously and have
> one
> tab open w/ program A and another w/ program B. The site in
> reference is "http://localhost";
Do these
On 31 March 2011 23:16, Ethan Rosenberg wrote:
>
>>>
>>> 127.0.0.1 localhost development subdomain.development
>>>
>>> Don't worry about it being an FQDN. Prior to checking with the
>>> router or DNS servers, all modern systems check the hosts file. Then
>>> just add a reference to ea
On 31 March 2011 21:40, Ethan Rosenberg wrote:
> At 02:12 PM 3/31/2011, Ashley Sheridan wrote:
>>
>> On Thu, 2011-03-31 at 13:54 -0400, Ethan Rosenberg wrote:
>>
>> > At 01:30 PM 3/31/2011, Daniel Brown wrote:
>> > >On Thu, Mar 31, 2011 at 13:09, Ethan Rosenberg
>> > > wrote:
>> > > > Dear List -
On 1 April 2011 03:31, Kirk Bailey wrote:
> PERFECT SIMPLE SOLUTION. THANK YOU!
>
> On 3/31/2011 12:34 PM, Stuart Dallas wrote:
>>
>> On Thursday, 31 March 2011 at 17:24, Kirk Bailey wrote:
>> I need to extract the name of the subdirectory a page lives in to
>>>
>>> use in the title for that page.
On Friday, 1 April 2011 at 03:31, Kirk Bailey wrote:
PERFECT SIMPLE SOLUTION. THANK YOU!
As Richard noted there is a constant called __DIR__ which is equivalent to
dirname(__FILE__) so basename(__DIR__) will give you what you want and saves a
few cycles.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http
25 matches
Mail list logo