You are here: Re: Fix my AJAX Drag and Drop Code « PHP Programming Language « IT news, forums, messages
Re: Fix my AJAX Drag and Drop Code

Posted by no-1 on 11/18/84 11:44

is $us a "POST/GET" variable? Global_variables are turned OFF (as they
should be) and you should change the code to $_POST['us'] or use this
at the beginning of your script:

if (!empty($_GET))
{
extract($_GET);
}
else if (!empty($HTTP_GET_VARS))
{
extract($HTTP_GET_VARS);
}

if (!empty($_POST))
{
extract($_POST);
}
else if (!empty($HTTP_POST_VARS))
{
extract($HTTP_POST_VARS);
}


Using a database for your username/pwd, you need to be very careful to
make sure that the data received does not include sql-injection (sear
google for scripting that can help prevent it....)

 

Navigation:

[Reply to this 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

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