You are here: more to $_SERVER{'PHP_SELF'] or other? « All PHP « IT news, forums, messages
more to $_SERVER{'PHP_SELF'] or other?

Posted by Jim S. on 06/10/05 01:17

i have a page that have many variable attached to it, like:
www.mysite.com/default.php?v=1

now "v" can change to many values depends on the link on the site, now here
is what i want, i want to pass a variable , let us say "b", and i want to
assigne that variable b some values, but i want what ever in the address
bar, like:
www.mysite.com/default.php?v=1&c=2 or whatever to stay the same than, i want
to append the "b" and it's value to the string, so it gets to be like :
www.mysite.com/default.php?v=1&b=3

is there a php function that can take the URL in the address (with the
values added) and append whatever to it?
i know there is a $_SERVER['PHP_SELF'] but it does take the URL without the
added variables. help please
thanks
Jim

 

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

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