Posted by Krustov on 07/12/06 17:21
<comp.lang.php>
<frothpoker>
<12 Jul 2006 06:02:20 -0700>
<1152709340.794939.46970@m79g2000cwm.googlegroups.com>
> I have faced exactly the same problem:
>
> Chose a region,then a county then a district...
>
> Two choices with PHP without using javascript. First one is to present
> each question one at a time and pass the values through the forms which
> is a PITA!
>
> Second one. Generate a single drop down list
>
You could use the ip address and store via a flatfile .
$skunk=$_SERVER['REMOTE_ADDR'];
$bjob=str_replace(".","_",$skunk);
$filename="demo/$bjob" . "_menu.php";
$fp=fopen($filename,"r");
$qaz=fgets($fp); $temp1=trim($qaz);
fclose($fp);
$filename="demo/$bjob" . "_demo.php";
$fp=fopen($filename,"r");
$qaz=fgets($fp); $temp1=trim($qaz);
fclose($fp);
read/write to suit etc .
--
Encrypted email address
www.emailuser.co.uk/?name=KRUSTOV
[Back to original message]
|