Hello *,
I upgraded one of my servers from Debian/Etch to Lenny and now the var
$_SERVER['SERVER_NAME'] is not more working.
Did I have overseen something?
The offending code sniplet is this:
8<--
T_setlocale(LC_MESSAGES, $lo
ho '' . $row['bottles'] . '';
echo '' . $row['tap'] . '';
echo '' . $row['size'] . '';
echo '' . $row['descrip'] . '';
'';
}
echo '';
}
All but the
In an effort to clean up some code, I tried taking four lines out of
6 or 7 programs and putting them into an include file. The file
structure is
Root
data
clubs.php
include
fmt.inc
Originally, clubs.php had the following code:
This code works - on the web page I get
This page
On Dec 19, 2010, at 9:46 AM, Gary wrote:
I have an issue that the first record in a query is not being
displayed. It
seems that the first row in alphabetical order is not being brought
to the
screen.
I have run the query in the DB and it displays the correct result,
so it has
to be in
How should I follow the HTML specification while having the passed
parameters automatically converted to arrays in PHP?
The "name" attribute, not the "id" attribute, is used as the key when
submitting form values.
The "name" and "id" attributes do not have to be the same.
Thank you, I thought
How should I follow the HTML specification while having the passed
parameters automatically converted to arrays in PHP?
The "name" attribute, not the "id" attribute, is used as the key when
submitting form values.
The "name" and "id" attributes do not have to be the same.
Thank you, I thought
$file_name= basename($_SERVER['PHP_SELF']);
$last_modified = filemtime($file_name);
print("This page last modified ");
print(date("m/j/y", $last_modified));
you need to wrap the contents ^^^ of the include file with php ?>
Govinda
--
PHP General Mailing List (http://www.p
On Dec 19, 2010, at 10:43 AM, Bill Guion wrote:
In an effort to clean up some code, I tried taking four lines out of
6 or 7 programs and putting them into an include file. The file
structure is
Root
data
clubs.php
include
fmt.inc
Originally, clubs.php had the following code:
Th
x27;' . $row['bottles'] . '';
echo '' . $row['tap'] . '';
echo '' . $row['size'] . '';
echo '' . $row['descrip'] . '';
'';
}
echo '';
}
All but the fir
On Sun, Dec 19, 2010 at 4:57 PM, Martin C wrote:
>> The "name" and "id" attributes do not have to be the same.
>
> Thank you, I thought it should be the same (for same reason, maybe
> compatibility between XHTML and HTML). But could not find anything on the
> net which states this. So my memories
Is your server even set up to recognise .inc files as php? You can't just put
any old extension on and expect the server to know what to do with it.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: "Tamara Temple"
Date: Sun, Dec 19, 2010 17:07
Subject: [PHP] Problem w
Hello Everybody,
I am developing a php application that interfaces with an external
executable binary. The program is written in C++.
I open the program (say a.out) using proc_open. Write some command at
its stdin and fetch data stdout. Then close the program.
The timing of only "a.out" is
real 4
Many, many thanks to Tamara, Govinda, and Ashley. Adding the php tags
to the include file solved the problem.
-= Bill =-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
===
Recently I my this php-general doesn't accept my mail for some
reason. So I send it again from anther email
===
Hello Everybody,
I am devel
The "name" and "id" attributes do not have to be the same.
Thank you, I thought it should be the same
You're probably thinking of:
http://www.w3.org/TR/html401/struct/links.html#h-12.2.3
"The id and name attributes share the same name space. This means that
they cannot both define an anchor w
same
>> file,
>> so if anyone want to take a stab at that, I'll be happy to post it.
>>
>
> This code will totally eliminate the first row of data.
>
>> if (mysql_num_rows($result) == !'0') {
>>$row = mysql_fetch_array($result);
>
&
On Sun, 19 Dec 2010 17:41:20 +
"a...@ashleysheridan.co.uk" wrote:
> Is your server even set up to recognise .inc files as php? You can't just put
> any old extension on and expect the server to know what to do with it.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
Since it is being i
17 matches
Mail list logo