File utk masukan: "form_report.php"
<html>
<FORM ACTION="call_report.php" METHOD="POST">
Report Server Name<INPUT TYPE="text" NAME="server"><BR>
Report Name <INPUT TYPE="text" NAME="report"><BR>
Format
<SELECT name="desformat">
<OPTION VALUE="HTMLCSS">HTMLCSS</OPTION>
<OPTION VALUE="PDF">PDF</OPTION>
<OPTION VALUE="XML">XML</OPTION>
</SELECT>
<INPUT TYPE="submit" Value="call report">
<!-- Tambahkan sendiri parameter2 yg diperlukan -->
<FORM>
</html>
File utk process: "call_report.php"
<?php
$URL="http://<hostname>:<port>/reports/rwservlet?
destype=cache&server=" . $_POST["server"] . "&report=" . $_POST
["report"] . "&desformat=" . $_POST["desformat"];
header("Location: $URL");
?>
CMIIW,
Bowo
--- In [email protected], diky alam <[EMAIL PROTECTED]>
wrote:
>
> menjalankan oracle report dari php dengan memasukkan semua
parameter via php
> gimana caranya yah ????
>
> thx
>
>
> ---------------------------------
> TV dinner still cooling?
> Check out "Tonight's Picks" on Yahoo! TV.
>
> [Non-text portions of this message have been removed]
>