php-general Digest 28 Aug 2010 19:18:32 - Issue 6915
Topics (messages 307722 through 307725):
Re: Making multiple RSS feeds for the blog website
307722 by: Jason Pruim
displaying constants
307723 by: David McGlone
307724 by: Daniel P. Brown
Questions about $_SERVER
On Aug 27, 2010, at 5:55 AM, Andre Polykanine wrote:
Hello Michelle,
Hm. link rel=alternate... that's a good one, thanks (btw, you say me
that I should RTFM, but if I knew what to read).
Now there are two questions:
1. How do I do those .RSS files with PHP? All of mmy blog entries and
Hi all, could someone show me how to echo back a constant to check if
they are assigned correctly? Something like this:
define('SITE_ROOT', dirname(dirname(__FILE__)));
echo 'SITE_ROOT';
I tried the echo but it wasn't working.
--
Blessings,
David M.
--
PHP General Mailing List
On Sat, Aug 28, 2010 at 10:58, David McGlone da...@dmcentral.net wrote:
Hi all, could someone show me how to echo back a constant to check if
they are assigned correctly? Something like this:
define('SITE_ROOT', dirname(dirname(__FILE__)));
echo 'SITE_ROOT';
I tried the echo but it wasn't
Hi gang:
The server global:
$_SERVER['SERVER_ADDR']
Provides the IP of the server where the current script is executing.
And, the server global:
$_SERVER['REMOTE_ADDR']
Provides the IP of the server executing the script.
As such, you can enter the IP of either into a browser and see
tedd wrote:
Hi gang:
The server global:
$_SERVER['SERVER_ADDR']
Provides the IP of the server where the current script is executing.
And, the server global:
$_SERVER['REMOTE_ADDR']
Provides the IP of the server executing the script.
Yes, aka the client address.
As
At 9:41 PM +0200 8/28/10, Per Jessen wrote:
tedd wrote:
So, how can I identify the exact location of the 'server_addr' and of
the 'remote_addr' on shared hosting? Is that possible?
$_SERVER['SERVER_NAME'] will tell you the name of the virtual host - I
don't know if that is what you're
On 28 August 2010 23:45, tedd tedd.sperl...@gmail.com wrote:
At 9:41 PM +0200 8/28/10, Per Jessen wrote:
tedd wrote:
So, how can I identify the exact location of the 'server_addr' and of
the 'remote_addr' on shared hosting? Is that possible?
$_SERVER['SERVER_NAME'] will tell you the
At 12:15 AM +0200 8/29/10, Peter Lind wrote:
On 28 August 2010 23:45, tedd tedd.sperl...@gmail.com wrote:
So, I'm trying to figure out a compliment to
$_SERVER['SERVER_NAME'] such as
something like $_SERVER['REMOTE_NAME'].
Is there such a beast?
You're not making any sense. For the
Hello Andre Polykanine,
Am 2010-08-27 12:55:51, hacktest Du folgendes herunter:
Hello Michelle,
Hm. link rel=alternate... that's a good one, thanks (btw, you say me
that I should RTFM, but if I knew what to read).
Now there are two questions:
1. How do I do those .RSS files with PHP?
On Sat, 2010-08-28 at 11:13 -0400, Daniel P. Brown wrote:
On Sat, Aug 28, 2010 at 10:58, David McGlone da...@dmcentral.net wrote:
Hi all, could someone show me how to echo back a constant to check if
they are assigned correctly? Something like this:
define('SITE_ROOT',
i have an array
$parms = array('1' = 'a', 'b' = array(3 = 'test'));
i want $mail = '1:a 3:test';
array_walk_recursive($parms, function($val, $key, $mail) {
$mail .= ucwords($key) . ': '. ucwords($val) . \n;
}, $mail);
The above function worked perfectly well
but i am getting: Call-time
Sorry, forgot to include the mailing list email when I replied to this
originally...
On Aug 28, 2010, at 8:28 PM, tedd wrote:
Sorry for not making sense. But sometimes you have to confirm the
players (both server and remote) in communications.
Try this -- place this script on your site:
Hi, all:
I have many classes, from Java I have to put a class in one java files,
in PHP I know I can put all of them in one file, but this make my class
files too large, is there any best practice to guide these basic?
Thanks.
--
Thanks!
VVThumb Microproduction
Location:Room
On 08/29/2010 01:06 PM, Josh Kehn wrote:
On Aug 29, 2010, at 12:56 AM, Haulyn Jason wrote:
Hi, all:
I have many classes, from Java I have to put a class in one java files, in PHP
I know I can put all of them in one file, but this make my class files too
large, is there any best practice
15 matches
Mail list logo