You are here: Re: Can you _POST variables in php without using a <FORM> « PHP Programming Language « IT news, forums, messages
Re: Can you _POST variables in php without using a <FORM>

Posted by Al on 01/21/06 00:58

chris_fieldhouse@hotmail.com wrote:
> I tied using Gogle, either I'm not being specific enough in my question
> search or too specific,
> so I get hits for the normal processing of variables passed in using
> POST, but nothing on how to POST back from within php.
>
> if you could give me a link to such a site, that woud be appreciated.
>
> yes, I could use get, and at the moment its just the userid, but the
> login page may be expanded to have several fields, which is why I would
> not want to paste all the variables/data into the url when sending
> back.
>
> Chris

You could try cookies?
Or you could have verify and login to be the same php page... then you
can set the values in the form youself.

If you still wanted them to have separate names they could both just
require("login/verify.php"); or something. Boths ways are good if you
want to avoid GETs, although I think the second works more nicely.
Cookies probably shouldn't be used for this purpose...

 

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

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