PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, March 14, 2022

[FIXED] Access to a network disk PHPExcel

 March 14, 2022     mamp, php, phpexcel     No comments   

Issue

I was looking for an easy way to read and treat a *.xls file, and I found PHPExcel. All worked perfectly until I tried to access to a file which was in another Network Disk. I now use this to access to my *.xls file :

$objPHPExcel = PHPExcel_IOFactory::load('//NetworkDisk2/Stuff/.../SomeFile.xls');

But, as I said, this ain't working. And I don't know why. When the file and the *.php pages were in the same disk, no problems, all worked just fine.

Could anyone please help me (may be I'm wrong with my path or I don't know) or at least redirect me to another way to do the treatment?

Can it be because of the firewall?

Thanks.


Solution

Don't know why, don't know how, but I can't have access with my website to another network disk. I couldn't execute a script all morning same time because the hours of treatments change with the day (never the same twice) so I modify a macro which was use to treat the Excel file and have the good information, so when my coworkers'll execute the macro, a copy of the file created will be paste to the network disk I have access too.

So the answer is to my question is no, we can't have access to a network disk with PHPExcel.

Topic closed guys, you can go home, thanks for all of you.



Answered By - Volodia
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing