Reply to Re: populate one menu from another

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация