LiamProductions Posted August 10, 2007 Share Posted August 10, 2007 I was wondering through PHP can it check your computer for a file like can you make a PHP script to look for a file in C:\My Documents\Pictures\xxx.gif ? and if there is a file there it says something like File found or if there isnt says something like No file in directory. Link to comment https://forums.phpfreaks.com/topic/64275-can-this-be-possible/ Share on other sites More sharing options...
HuggieBear Posted August 10, 2007 Share Posted August 10, 2007 No, PHP can't fetch any information from your local machine unless your browser offers it to the server. Regards Huggie Link to comment https://forums.phpfreaks.com/topic/64275-can-this-be-possible/#findComment-320427 Share on other sites More sharing options...
LiamProductions Posted August 10, 2007 Author Share Posted August 10, 2007 If PHP can't fetch any infomation from your machine how do those PHP port checkers work? Link to comment https://forums.phpfreaks.com/topic/64275-can-this-be-possible/#findComment-320429 Share on other sites More sharing options...
wildteen88 Posted August 10, 2007 Share Posted August 10, 2007 it pings your ipaddress with a port number Link to comment https://forums.phpfreaks.com/topic/64275-can-this-be-possible/#findComment-320431 Share on other sites More sharing options...
LiamProductions Posted August 10, 2007 Author Share Posted August 10, 2007 So PHP can't grab any files from your machine and post it to the browser? Link to comment https://forums.phpfreaks.com/topic/64275-can-this-be-possible/#findComment-320433 Share on other sites More sharing options...
wildteen88 Posted August 10, 2007 Share Posted August 10, 2007 no. PHP is server side. If PHP can easily grab files of your computer how unsecured would the internet be! Link to comment https://forums.phpfreaks.com/topic/64275-can-this-be-possible/#findComment-320436 Share on other sites More sharing options...
LiamProductions Posted August 10, 2007 Author Share Posted August 10, 2007 Oh ok. I was just thinking of a program to make but never mind if its not possible. Link to comment https://forums.phpfreaks.com/topic/64275-can-this-be-possible/#findComment-320439 Share on other sites More sharing options...
AV1611 Posted August 10, 2007 Share Posted August 10, 2007 You have to use client side like Javascript or ActiveX But I personally don't allow that cause I never trust anyone Link to comment https://forums.phpfreaks.com/topic/64275-can-this-be-possible/#findComment-320444 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.