Jump to content

pascaru_val

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

pascaru_val's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Now I understand what @ignace said. I create .bat file with this content and it worked: "ECHO off ECHO bla bla E:\xampp\php\php.exe -f "E:\xampp\htdocs\formular\export.php"" just that I receive 2 similar PHP NOTICE "ob_end_clean():failed to delete buffer. No buffer to delete in E:\..." in the command line, after the work is done: So I delete the line: "ob_end_clean(); " and no problem, but I do not know exactly what this line does. Thank you @ignace
  2. @ignace I do not understand. I made a bat file with this content ECHO off ECHO file is loaded start /d "C:\Program Files\Internet Explorer" IEXPLORE.EXE http://_my_ip/formular/export.php" and open internet explorer with the link "http://my_ip/formular/export.php%22" the corect wanted link is:"http://my_ip/formular/export.php" without %22 and give me an eror:" you do not have the permission" I guess it is a problem from xampp(apache)
  3. It works! Thank you. I need now to make a file.bat for a user just to click on executable. For the moment I am running this example integrated in an php file from web (browser) My export file it is an xls. When I open that file with Excel , a pop up message apear and said that the file is not a correct format of excel, can do something to stop this message appearing ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.