[WriteExcel] fopen avec php_writeexcel
Bonsoir,
j'ai un petit problème de création de fichier excel via php (php_writeexcel) comme vous pouvez le voir >> ici <<, et j'aimerais savoir si vous pouviez m'aider car la je sèche un peu ^^.
Merci d'avance pour vos réponses :)
voici donc l'erreur & le morceau de script :
>> Source
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| function _initialize() {
# Open tmp file for storing Worksheet data.
$this->_tmpfilename=tempnam($this->_tempdir, "php_writeexcel");
$fh=fopen($this->_tmpfilename, "w+b"); // LIGNE 206
if ($fh) {
# Store filehandle
$this->_filehandle = $fh;
} else {
# If tempfile() failed store data in memory
$this->_using_tmpfile = 0;
$this->_tmpfilename=false;
if ($this->_index == 0) {
$dir = $this->_tempdir; |
Citation:
Warning: fopen() [function.fopen]: Filename cannot be empty in /home/web2366/web/class.writeexcel_worksheet.inc.php on line 206
Warning: fopen() [function.fopen]: Filename cannot be empty in /home/web2366/web/class.writeexcel_worksheet.inc.php on line 206
Warning: fopen() [function.fopen]: Filename cannot be empty in /home/web2366/web/class.writeexcel_worksheet.inc.php on line 206
Warning: fopen() [function.fopen]: Filename cannot be empty in /home/web2366/web/class.writeexcel_worksheet.inc.php on line 206