Reply to Re: How do I get rid of long URLs?

Your name:

Reply:


Posted by Jerry Stuckle on 02/03/07 13:52

Gunnar G wrote:
> In many cases I use URLs like foo.php?a=4b&c=d&e=f&g=h etc.
> to send variables from one script to another
> Is there a way to not have the long URL and just call foo.php and send the
> variables in a more "invisible" way?
>

Gunnar,

If you're just passing data from one page to another, you could use the
$_SESSION variable. Easier than using CURL, but one difference with
what you have now. $_GET values are transient - they only appear when
they are passed as parameters. Once a $_SESSION value is set, it
remains until you clear it or the session ends. This may or may not
cause problems for you.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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