Jump to content

Archived

This topic is now archived and is closed to further replies.

careysizer

checking is a file is available

Recommended Posts

so heres what i want to do. im setting up a website for my school - students page. i want to include lots of video as theres a bit of video editing that goes on, and we are looking at doing a monthly video.

when the students are logged onto the network, i want the website to look for the video file stored on the shared drive (ie \\intranet\studentsweb\video.ext) but if its not available - if they are on the website at home I want it it to play off the website's server.

can i do this using php? if the network version is available play straight away (this is to save bandwidth and load times) and if its not, reload the normal internet version page?

thanks
carey

Share this post


Link to post
Share on other sites
Try the file_exists() function - Check the manual for more information.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.