I use a function to create select boxes:
function make_select($fieldname,$options,$selected,$opt="") {
# make a select box with option text $opt
# $fieldname = name of html field
# $options = associative array of select options
# $selected = field key of selected ite
It can be tricky to write download wrappers that work with all browsers.
Some versions of Internet Explorer seem especially troublesome.
I've found wrappers like these seem to work fairly well:
initialization();
authorization($user,$pw);
$info=get_file_info($filepointer);
### SEND HEADERS ###
he
Just had to solve this problem the other day. Here's a quick snippet to
display the time in Great Britain while my server's located in Boston:
This switches the timezone locale to GB, displays the local time there,
then switches back to Eastern US.
Peter
- Original Message -
From: "
> the combination of PHP and mysql and the ease of use of the mail()
> function obviously leads me to believe that it *should* be a cinch to
> use php to send customised messages to all my users , of whom I have
> details in a mysql table by simply running a "select * from table" and
> then using
Take a look at /var/log/httpd/error_log. Is there an entry for the very
first time the server was run (before you installed PHP 4.04pl)? Does
it list PHP/4.0 as installed? The initial entry in my error_log from
the "Wolverine" beta of 7.1 shows:
[Fri Apr 27 12:36:13 2001] [notice] Apache/1.3.1
5 matches
Mail list logo