Reply to Re: Accessing GET Variables with include

Your name:

Reply:


Posted by Gordon Burditt on 01/01/07 18:31

>-------------------
><?php
>$page = $REQUEST['page'];
>if($page=="new") include('myInclude.php');
>?>
>-------------------
>
>and try to access var1 and var2 from the include:
>myInclude.php:
>---------------------
>$var1 = REQUEST['var1'];
>$var2 = REQUEST['var2'];

It's spelled:
$_REQUEST['var1'];

[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

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