You are here: is passing variable with $_post OK ? (newbie) « PHP « IT news, forums, messages
is passing variable with $_post OK ? (newbie)

Posted by barret bonden on 12/08/05 20:44

Is passing a variable from one php file to another with the $_post function
OK?
Are there any potential problems with session "leakage" of virables from one
user to another ??
Have one file with a form:

<form action ="t7a.php" method ="post" >
last name <input type = "text" name ="last">
first name <input type = "text" name ="first">
<INPUT TYPE=SUBMIT VALUE="Send It!">
</form>
calling another:
(in called form t7a)

$last=$_POST['last']; //gets the variable from 1st file

 

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

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