Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #7841
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!yojimbo.hack!news.tokachu.com!.POSTED!not-for-mail |
|---|---|
| From | Salvatore <sal@yojimbo.hack.invalid> |
| Newsgroups | comp.lang.php |
| Subject | Re: Gettting values from URL in PHP 5.4 |
| Date | Tue, 18 Dec 2012 17:55:19 +0000 (UTC) |
| Organization | Yojimbo NNTP server |
| Lines | 17 |
| Message-ID | <kaqam7$1sc2$1@yojimbo.hack> (permalink) |
| References | <kaqadm$bba$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Trace | yojimbo.hack "kq(Iga%czn" |
| X-Complaints-To | usenet(at)tokachu(dot)com |
| User-Agent | slrn/0.9.9p1 (FreeBSD) |
| X-Watermark | "Q(<g$Wn^Dp>SLq3;);JR^>c57W#Hsk$ZMTM9j{M00wE3|qnYo~rz3Fv;0Y-c" |
| X-Reader-User | hidden; display="24EEr1QzLVIfRpxx65/wVSkg68k" |
| Xref | csiph.com comp.lang.php:7841 |
Show key headers only | View raw
On 2012-12-18, Tim Rude <timrude.nospam@nospam.hotmail.com> wrote: > Here's the code I use on the page to populate the form boxes: > ><input type="text" name="on0" maxlength="40" value="<?php echo $name; ?>"> ><input type="text" name="os0" maxlength="40" value="<?php echo $addr; ?>"> ><input type="text" name="on1" maxlength="40" value="<?php echo $city; ?>"> > > With PHP 4, it works perfectly. If you wrote your code like that throughout your site, you have a lot of editing to do. The correct way to reference a request variable is $_REQUEST['key']. So replace "$name" with "$_REQUEST['name'] and repeat that step for the other values. -- Blah blah bleh... GCS/CM d(-)@>-- s+:- !a C++$ UBL++++$ L+$ W+++$ w M++ Y++ b++
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Gettting values from URL in PHP 5.4 "Tim Rude" <timrude.nospam@nospam.hotmail.com> - 2012-12-18 11:50 -0600
Re: Gettting values from URL in PHP 5.4 Salvatore <sal@yojimbo.hack.invalid> - 2012-12-18 17:55 +0000
Re: Gettting values from URL in PHP 5.4 Christoph Becker <cmbecker69@gmx.de> - 2012-12-18 20:12 +0100
Re: Gettting values from URL in PHP 5.4 Jerry Stuckle <jstucklex@attglobal.net> - 2012-12-18 14:44 -0500
Re: Gettting values from URL in PHP 5.4 "Tim Rude" <timrude.nospam@nospam.hotmail.com> - 2012-12-18 14:02 -0600
csiph-web