Raised This Month: $ Target: $400
 0% 

file exist http?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 04-23-2006 , 10:18   file exist http?
Reply With Quote #1

does this work?:
Code:
if(file_exists("http://www.somesite.com/somefile.exe"))
__________________
Um, hi.
Ramono is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-23-2006 , 10:28  
Reply With Quote #2

Probably not. Especially if the file isn't local.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 04-23-2006 , 11:25  
Reply With Quote #3

Nope. It won't work due to build_path
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 04-23-2006 , 18:12  
Reply With Quote #4

You can use the sockets module for this

But don't ask me how...
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode