Jump to content

[SOLVED] Remote File Version Check?


Altec

Recommended Posts

I've recently started developing plugins for a popular forum package. I want to be able to "include" or call a PHP script back on my server to check the version of the running plugin and notify a user if the plugin is out of date. However, I can't just include() the file in, as that depends on allow_url_include being turned on. A very large majority of servers do not allow including from a URL.

 

I need a "foolproof" way to call a PHP file, function, etc on my server from pretty much any server. How can I do this, and what would be the best way to do so?

Link to comment
Share on other sites

Just wondering, but wouldn't include("Remote File); work? Why not?

There is no 'foolproof' way because as you said, url wrappers can be disabled.

 

This disables remote calls via include, fopen, and file_get_contents amongst others.

;)

 

How does forum software "check home" and alert you if you're running an outdated version? phpBB does this, as well as MyBB.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.