Im stuck with this.
I have an script i made 3 years ago, and it worked perfectly with the PHP version i had, now i try it with the version 5 and it doesn't work!!
I try to get a variable value from the address bar and it doesn't recognize it!!
this is the value in the address bar:
http://localhost/f/showthreads.php?ca=10&p=1
this is the code:
<?php
include "config.php";
//cookie user tracking
if (isset($_COOKIE['track'])){
} else{
$id=uniqid($remote_addr);
setcookie("track",$id,time()+31536000,'/'); }
// end user tracking
$action = GetAction("showthreads.php");
$category = getName($ca);
etc....
And this is the error i get!!
Notice: Undefined variable: ca in C:\Web\WebServer\Apache2\htdocs\f\showthreads.php on line 19
Line 19 corresponds to: $category = getName($ca);
This language has changed very much in 3 years?? OMG, i had to made a change to all my scripts that began with <?, to <?php, or it wouldn't recognize the scripts!!!