aanshi

How to run php file

Discussion created by aanshi on Jan 22, 2014
Latest reply on Jan 22, 2014 by beverly

Hi,

I m new in this .

I dont know how to run php file?My php code is as below.

 

<?php

$File = "../../../Users/admin/Documents/Eff_SOR/test.txt";

//$Handle = fopen($File, 'w');

$current = file_get_contents($File);

echo $str = str_replace(" ","",$current);

$sFile = "CallXML.java";

$sHandle = fopen($sFile, 'w');

fwrite($sHandle, $str);

fclose($sHandle);

?>

 

How and where to write this code.

I installed filemaker server 12 with iis serever

Outcomes