Jump to content

shad_dow

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

shad_dow's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi Ive Solved IT Thank you to those that helped cheers
  2. basicly say there using v1.0 and on the server is v2.0 , i wanted a way for the script to check and tell them that a new version is avaible for download . and yes i am trying to run before i can walk :)
  3. hi its supposed to some how check agaist <?php $installedVersion = "1.0"; ?> on the sever [code]<?php $currentVersion = "1.0"; header("Content-type: text/plain"); if($_GET['version'] == $currentVersion) { // do nothing } else { echo "<div><p>A new version of the Sample theme, version $currentVersion, is now available. Your installed version is ${_GET['version']}.</p></div>"; } ?> [/code] if version does not = currentversion it shold then run the echo , my prob is how do i get the $_GET['version']  from checking $installedVersion , do i create a form ???
  4. hi i would anybody to giude me in how i can use php to check via button in my scripts to see if theres a newer visions so far i have this and now im stuck [code]<?php $currentVersion = "1.0"; header("Content-type: text/plain"); if($_GET['version'] == $currentVersion) { // do nothing } else { echo "<div><p>A new version of the Sample theme, version $currentVersion, is now available. Your installed version is ${_GET['version']}.</p></div>"; } ?> [/code] thanks
×
×
  • 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.