Reply to Re: connect to same page $_POST in <a> tag

Your name:

Reply:


Posted by JDS on 10/10/05 17:02

On Sun, 09 Oct 2005 14:44:15 -0400, Doug wrote:

> I presented the original post in abreviated form. What is working now is
> the html:
> <td width="140"><a href="./Download
> Files/cbver169.zip">cbver169.zip</a></td> // for downloading the file
>
> I want to modify that line to connect to the php 'if(isset(_GET['ver']) {
> ...}' on the same page (upper block). 'ver' is whatever is the string, in
> this case (cbver169.zip).


I still think you are not quite understanding how this all works. Also,
and this will sound like nitpicking but it is not, do *NOT* use spaces in
file or directory names within URLs. "Download Files" should really
really really not have a space in it. But that is a separate issue.

In any case, what do you mean by "modify that line to connect to the php"?
Do you mean that you want to link to a PHP script in that line? There is
no "ver" variable anywhere that I can see.

Also, the PHP code has a clear typo in it -- "_GET" must start with a
dollar sign -- "$_GET". Is this a typo in your posting or is this
actually in the PHP code?

Let's go back a few steps.

What are you trying to do?

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

[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

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