SitePoint Sponsor |
|
User Tag List
Results 1 to 20 of 20
Thread: Check files on users computer
-
Nov 20, 2004, 18:53 #1
- Join Date
- Jul 2004
- Location
- united states
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Check files on users computer
Hello, can I use JS to check for files on the users computer?
-
Nov 20, 2004, 19:01 #2
- Join Date
- Mar 2004
- Posts
- 1,647
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
no
-
Nov 20, 2004, 19:02 #3
- Join Date
- Jul 2004
- Location
- united states
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Do you know what language I could use to do this?
-
Nov 20, 2004, 19:08 #4
- Join Date
- Mar 2004
- Posts
- 1,647
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
some active script like spywares
-
Nov 20, 2004, 19:14 #5
- Join Date
- Jul 2004
- Location
- united states
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If I just wanted to check for an image?
-
Nov 20, 2004, 19:28 #6
- Join Date
- Mar 2004
- Posts
- 1,647
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
u cant enter into other computers without hacks neither for an image
im sorry
-
Nov 20, 2004, 19:33 #7
- Join Date
- Jul 2004
- Location
- united states
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How do web sites have alert boxes that tell you "You must download this first before using our site". The annoying sites you want to murder? Once you download it, they STHU?
No, I dont want to do this. I am building a game, and I want to store some images & other files on the users machine. I was hoping to make the user download the files before playing. Any ideas how those annoying sites do it?
-
Nov 20, 2004, 19:33 #8
- Join Date
- Jan 2004
- Location
- Colorado Springs
- Posts
- 308
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It can be done, it's just not widely known. There is no tutorial for it, or support for it because it would grant access to knowledge on how to plant spyware into one's computer.
Good luck though.
-
Nov 20, 2004, 19:36 #9
- Join Date
- Jul 2004
- Location
- united states
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Nekeno, can it be done with PHP/JS, if you know, or do I have to use something like Java or C++?
-
Nov 20, 2004, 19:36 #10
- Join Date
- Mar 2004
- Posts
- 1,647
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
try search the install shield scripts!
its programmed in c#
-
Nov 20, 2004, 21:45 #11
- Join Date
- Mar 2001
- Posts
- 3,537
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Do you really think you can go rumaging around a user's computer and look for files like:
"My Tax Returns and Net Worth for the last 10 years"
"My Passwords, Bank Acount Numbers, and Online Trading Account Access Codes"
"Pending Drug deals over $1 million"
"Pending Drug deals under $1 million"
"Corporate Structure of my World Wide Drug Empire"
I don't think many people would be browsing the internet if you could do that with javascript.
-
Nov 20, 2004, 23:14 #12
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
Exactly. It is a security issue and it makes sense that a web page shouldn't have access to that kind of capabilities. If you want to do this you'll need to get your users to download and install a special separate application to do this for you. If you want to do it in IE only (and thus limit your target audience) I wouldn't be surprised is you could do it with active X. After all, since when did active X care about security?
-
Nov 20, 2004, 23:26 #13
- Join Date
- Nov 2001
- Location
- Bath, UK
- Posts
- 2,498
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by stymiee
augathra: I think your best bet would be to write a real application as a window (or otherwise) executable, which could talk to your script via the internet. Just tell your users that they have to install the game forst, don't try and just hack into their computerrs without telling them!
DouglasHello World
-
Nov 20, 2004, 23:30 #14
- Join Date
- Jul 2004
- Location
- united states
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Naw, Ill just keep all files server side. Thanks for all the replies.
-
Nov 21, 2004, 02:09 #15
- Join Date
- Mar 2004
- Posts
- 1,647
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by 7stud
-
Nov 21, 2004, 03:21 #16
- Join Date
- May 2004
- Location
- Germany
- Posts
- 550
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by augathra
Give them a link to a zip file with the images for download. Then in their profile they can store the path to the images and you can have your script creating the links.
Say you save the path in the session, then you check if it is set, if yes use it, if not use the images on the server.
I think this is how all the browsergames do it
P.S. I come from the php Forum, so no js in my answer
-
Nov 21, 2004, 10:41 #17
- Join Date
- Jul 2004
- Location
- united states
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Haha i like the descriptions too. Thanks for the suggestion Daimaju. I was really just trying to save a small portion of bandwidth, as I wanted a fairly graphical game. I could make an installer that goes to the Program Files, but the people that have not installed it won't see the graphics.
So this brings me to another question: =)
Could I use PHP, scrambled in one of those scrambler things to hide sources, the user downloads it, sends a MySQL query to my server updating their profile. Then they could play?
-
Nov 21, 2004, 10:44 #18
- Join Date
- Jul 2004
- Location
- united states
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
On second thought, maybe ill just ask the user if they want to store the files locally or use the ones on the server.
But if anyone wants to tell me if it's *possible* to use a PHP file like I described above to update their status, be my guest!
-
Nov 21, 2004, 12:15 #19
- Join Date
- Nov 2001
- Location
- Bath, UK
- Posts
- 2,498
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by augathra
Have a look at http://www.globulos.com/ for an example of a game written in Flash which talks to a server. Your server could be a PHP script.
hth,
DouglasHello World
-
Nov 21, 2004, 14:04 #20
- Join Date
- Jul 2004
- Location
- united states
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It is mostly text based. Ill look into making it client anyways. Thanks
Bookmarks