[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 319
  • Last Modified:

Zero Size Reply Error Php Command Line Usage

I have an email attachment parse script that runs if the email account is empty, but if there is an attachment it prints to the browser "Zero Size Error" ??? similar in appearance to "Page Not Found".

I may need to run php command line from the folder and see how the script is erroring. I don't know how to use command line so if there is an ULTRA basic/beginner  tutorial you can point me to also that would be great.
0
AtDev
Asked:
AtDev
1 Solution
 
-Thespian-Commented:
Tutorial is here:
  http://www.sitepoint.com/article/php-command-line-1

Your Zero error can be, because script doesn't determine the attachment properly, and than when it try to calculate the size - it is zero.
0
 
AtDevAuthor Commented:
Thank you very much for that explanation ...

I have a script on that this ZERO ERROR appears and can't seem to work out why, can you help?
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_22871080.html

Much appreciated!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now