Re: [PHP] Bad File Mode?

2002-11-29 Thread Steve Keller
At 11/28/2002 01:51 PM, Ernest E Vogelsinger wrote: ? $data = mtype=XMLDOCoutfile=true; $dataFile = http://www.healthtvchannel.org/courses/pay/data/test.xml;; $fileSize = filesize($dataFile); Ah. It is a local file, I was just using an absolute reference for it.

Re: [PHP] Bad File Mode?

2002-11-28 Thread Marek Kilimajer
You can stat (get filesize, modification time, permissions) only local files - download it first and then get its filesize if you need it. Steve Keller wrote: I'm still trying to get a file posted to another server, but I seem to have run across an odd snag, and I was hoping someone can point

Re: [PHP] Bad File Mode?

2002-11-28 Thread Ernest E Vogelsinger
At 21:05 27.11.2002, Steve Keller spoke out and said: [snip] I'm still trying to get a file posted to another server, but I seem to have run across an odd snag, and I was hoping someone can point out where I've gone wrong. Here's the code: ?

[PHP] Bad File Mode?

2002-11-27 Thread Steve Keller
I'm still trying to get a file posted to another server, but I seem to have run across an odd snag, and I was hoping someone can point out where I've gone wrong. Here's the code: ? $data = mtype=XMLDOCoutfile=true; $dataFile =