rather than changing the file suffix change httpd.conf to preprocess files with the .php3 sufix.

some thing like...

AddType application/x-httpd-php .php .php3

cheers mark


On Monday, Jun 16, 2003, at 14:57 Europe/London, Truong Manh Cuong wrote:


it seems not to work with php3. I change *.php3 to *.php, it work.
this is small code of accounting.php3
�
help me to correct this problem
if

(!$queryflag) {

echo

<<<EOM

<form method=post>

<table border=0 width=740 cellpadding=1 cellspacing=1>

<tr>

<td>

<b>Show the following attributes:</b><br>

<select name="accounting_show_attrs[]" size=5 multiple>

EOM

;

foreach

($items as $key => $val)

echo

<<<EOM

<option$selected[$key] value="$key">$val</option>

EOM

;

echo

<<<EOM

</select>

<br><br>

<b>Order by:</b><br>

<select name="order_by">

EOM

;

foreach

($items as $key => $val)

if (

$val == 'UserName')

echo

<<<EOM

<option selected value="$key">$val</option>

EOM

;

else

echo

<<<EOM

<option value="$key">$val</option>

EOM

;



and the result:



<image.tiff>



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
  • PHP Truong Manh Cuong
    • Mark Lowe

Reply via email to