php-general Digest 1 Apr 2011 08:28:26 - Issue 7253
Topics (messages 312157 through 312186):
If Statements Array and Notice Undefined Index
312157 by: Nicholas Cooper
312158 by: Stuart Dallas
312161 by: Nicholas Cooper
312184 by: Al
Re: session_start() may
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
On 1 April 2011 03:31, Kirk Bailey kbai...@howlermonkey.net 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
On 31 March 2011 21:40, Ethan Rosenberg eth...@earthlink.net 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 eth...@earthlink.net
On 31 March 2011 23:16, Ethan Rosenberg eth...@earthlink.net wrote:
snip
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
-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 programs
At 05:04 AM 4/1/2011, Richard Quadling wrote:
On 31 March 2011 23:16, Ethan Rosenberg eth...@earthlink.net wrote:
snip
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
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,
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
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
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
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
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
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
Michelle
function. Try something like:
...
echo 'heaading contains: scriptgetText(h2)/script';
...
I tried it - no better.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.php.net/manual/en/book.json.php
Sent via DROID on Verizon Wireless
-Original message-
From: Simon J Welsh si...@welsh.co.nz
To: Michelle Konzack linux4miche...@tamay-dogan.net
Cc: PHP - General php-general@lists.php.net
Sent: Fri, Apr 1, 2011 21:23:22 GMT+00:00
Subject: Re:
On Fri, Apr 1, 2011 at 2:32 PM, Jim Giner jim.gi...@albanyhandball.comwrote:
function. Try something like:
...
echo 'heaading contains: scriptgetText(h2)/script';
...
I tried it - no better.
Did you still get the function undefined error?
--
Sláinte,
Richard S. Crawford
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,
And the way to do this is?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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 santoshgu...@gmail.com:
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
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
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 that
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 first
24 matches
Mail list logo