To whom it may concern:
I am doing my rewrite of one of my old web applications using scriptcase. In this app, I need to generate reports into html format.
My old system using file_get_contents in PHP to capture the webpage and write it into html file. for example:
$new_file_name = “…\abc123.html”;
$htm = fopen($new_file_name, “w”);
$content = file_get_contents(“http://localhost:8090/scriptcase/app/samples2/grid19/”);
fwrite ($htm, $content);
fclose($htm);
unset($htm);
When I try to do the same thing with scriptcase, I am able to capture the page content in grid but as soon as I change my initial module of the grid to print (because I would like all records to show as a reports). It is no longer work.
Any idea how I can fix it? Any other option I may use to completed the tasks, please help.
Thanks, Jimmy