Re: [PHP] Link to .php page with session

2009-06-17 Thread santel
Stuart wrote: 2009/6/16 santel : Hi, I have a .php page that use sessions and shows a file .FLV by transcoding, on the fly, from any format video to FLV using a shell command [ system("/usr/bin/ffmpeg -re -i ./file.wmv -f flv -an -sameq -") ]. In a .php page: case 1): if j put a link to an

Re: [PHP] Link to .php page with session

2009-06-16 Thread Daniel Brown
On Tue, Jun 16, 2009 at 08:23, Stuart wrote: > > I may have interpreted your problem incorrectly, but I think your > problem is due to the session data not being saved until the script > has finished running, including the system call. To get around this > you can save and close the session before

Re: [PHP] Link to .php page with session

2009-06-16 Thread Stuart
2009/6/16 santel : > Hi, > > I have a .php page that use sessions and shows a file .FLV by > transcoding, on the fly, from any format video to > FLV using a shell command [ system("/usr/bin/ffmpeg -re -i ./file.wmv -f flv > -an -sameq -") ]. > > In a .php page: > case 1): if j put a link to any pag

[PHP] Link to .php page with session

2009-06-16 Thread santel
Hi, I have a .php page that use sessions and shows a file .FLV by transcoding, on the fly, from any format video to FLV using a shell command [ system("/usr/bin/ffmpeg -re -i ./file.wmv -f flv -an -sameq -") ]. In a .php page: case 1): if j put a link to any page without session, all is ok; ca