Reply to Re: Return current page and variables: $PHP_SELF dose not do it.

Your name:

Reply:


Posted by strawberry on 06/09/06 11:02

sorry about the inverted commas. I meant by them to say use the text
within them.

As for a dynamic solution - substitute 'man' with $man or {$row['man']}
or whatever and you've got a dynamic solution.

No doubt, the other method provided is more correct and more dynamic I
just thought the OP might appreciate the simplicity of this solution -
at least in terms of implementation relative to what they had already.
Actually I'll use the SERVER method myself once I figure out how to
implement it! Until then the method I describe works just fine for me.

Cheers,

Henrik Hansen wrote:
> "strawberry" <zac.carey@gmail.com> writes:
>
> > Hang on, what about '$PHP_SELF?menu=man&pageid=mfrs/register' ?
> >
>
> thats hardcoded, I think he want to use a dynamic solution, if ex. the
> url changes etc. And why hardcode it when you got all the info in the
> server array.
>
> --
> Henrik Hansen

[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

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