opening a file saved by a student

opening a file saved by a student

by nick mleczko -
Number of replies: 0

Hi,

Whenever I try to open a file in the Assignment module I get the message page not found. The file is there and I went as far as looking through the PHP code and I've noticed that if you use the alternate way of passing arguments to the PHP module then the file is magically opened...

http://venus/file.php/11/moddata/assignment/1/38/Income_and_Expenses_for_Esther.doc - doens't work

http://venus/file.php?file=/11/moddata/assignment/1/38/Income_and_Expenses_for_Esther.doc will first ask if you want to open or save the file, when you select open file, the file opens and then IE will then say that the file is not found

http://venus/user/pix.php?file=38/f1.jpg - works<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

http://venus/user/pix.php/38/f1.jpg - doesn;'t work

I've got the same prob with the pix.php, my users pictures are not being displayed however if I use the ? to seperate the arguments the module works.  How can you chnge how moodle passes it's args to file.php and pix.php?

 

Thanks

Nick

 

Average of ratings: -