Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3190
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!takemy.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| Content-Type | text/plain; charset="ISO-8859-1" |
| Message-ID | <1888520.Oct5B3EuLq@PointedEars.de> (permalink) |
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Reply-To | Thomas 'PointedEars' Lahn <php@PointedEars.de> |
| Organization | PointedEars Software (PES) |
| Date | Wed, 21 Sep 2011 23:46:18 +0200 |
| User-Agent | KNode/4.4.11 |
| Content-Transfer-Encoding | 7Bit |
| Subject | Re: Names of URL Parameters |
| Newsgroups | comp.lang.php |
| References | <Qbseq.173772$wz.21080@en-nntp-08.dc1.easynews.com> |
| Followup-To | comp.lang.php |
| MIME-Version | 1.0 |
| Lines | 31 |
| NNTP-Posting-Date | 21 Sep 2011 23:46:18 CEST |
| NNTP-Posting-Host | 53edb192.newsspool2.arcor-online.net |
| X-Trace | DXC=UC_T]N4VIc]aoembcbF;DQA9EHlD;3YcR4Fo<]lROoRQ8kF<OcfhCO[4LhWYJTITM\DZm8W4\YJN\b@mF9jNikdU_dXMBNGELEQD?hNa4SZS7_ |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.php:3190 |
Followups directed to: comp.lang.php
Show key headers only | View raw
eBob.com wrote:
^^^^^^^^
You really want to put a real name there. I usually don't talk to domains.
> I know that I can get and print the value of a URL parameter this way ...
>
> echo '<p>phone: ' . $_GET['phone'] . '</p>';
>
> ... and that works fine of course. But what if I don't know the names of
> all the parameters and just want to print out the names and values of all
> the parameters? (It might not seem to make a lot of sense, but it would
> be useful to me in experimenting/developing/debugging.)
>
> It looks like (I haven't tried it) $_SERVER['QUERY_STRING'] would give me
> the entire URL but I'd really rather not have to parse it.
Think about it: Why does $_GET['phone'] work in the first place?
> Thanks, Bob (a very new noob)
^^^^^^^^^^^^^
Don't.
<http://catb.org/~esr/faqs/smart-questions.html#id478703>
PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Names of URL Parameters "eBob.com" <eBob.com@totallybogus.com> - 2011-09-21 16:56 -0400
Re: Names of URL Parameters The Natural Philosopher <tnp@invalid.invalid> - 2011-09-21 22:06 +0100
Re: Names of URL Parameters Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-09-21 23:46 +0200
Re: Names of URL Parameters "eBob.com" <eBob.com@totallybogus.com> - 2011-09-21 23:27 -0400
Re: Names of URL Parameters "Peter H. Coffin" <hellsop@ninehells.com> - 2011-09-22 07:43 -0500
Re: Names of URL Parameters Richard Damon <news.x.richarddamon@xoxy.net> - 2011-09-22 13:36 -0400
Re: Names of URL Parameters tamouse <tamouse.lists@gmail.com> - 2011-09-28 11:46 -0700
Re: Names of URL Parameters tamouse <tamouse.lists@gmail.com> - 2011-09-28 12:18 -0700
Re: Names of URL Parameters sheldonlg <sheldonlg@thevillages.net> - 2011-09-29 09:15 -0400
csiph-web