Very simple PHP script!

avissoft
05-30-2002, 11:49 AM
Hello!

ok! I want to script to do the following:

When a user visit a php script on a website:

http://www.somewebsite.com/verphp.php?Ver=5


then the verphp.php script should get the Ver=5 value and compare it to a already specified number in the script.....can you do that ?

For eg:

If Ver = 5 then echo("Update") else echo("NoUpdate")


can something like be this made ?

Thanks!

Phreak
06-07-2002, 05:23 PM
Yes, look like this:

If ($Ver == 5) {
echo "Update!";
}
Else {
echo "No Update.";
}

Hope that helps.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum