Jump to content
Stef's Coding Community

asim

New Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About asim

  • Rank
    New member
  1. BeeDev , I've resolved this issue. I just removed the file complete path now its... $filename = "test.txt"; and the problem resolved.
  2. Thanks BeeDev I've tried it but it did not work. I'm getting the following error. Warning: fopen(c: mpp\htdocs est.txt) [function.fopen]: failed to open stream: Invalid argument in C:\xampp\htdocs\bash.php on line 6 Warning: filesize() [function.filesize]: stat failed for c: mpp\htdocs est.txt in C:\xampp\htdocs\bash.php on line 8 Warning: fread(): supplied argument is not a valid stream resource in C:\xampp\htdocs\bash.php on line 8 Warning: fclose(): supplied argument is not a valid stream resource in C:\xampp\htdocs\bash.php on line 10
  3. Hi, Can anyone help me that how can i execute a bash script with php and how can i view the output of any txt file with the help of php? Regards Asim
×
×
  • Create New...