Re: how to handle URLs?

From: Date: Fri, 12 Oct 2001 01:04:57 +0000
Subject: Re: how to handle URLs?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70869@lists.php.net to get a copy of this message
The PHP is in the wrong place. It should look more like <a href="http://www.someurl.com/signature.php?sig=<?php echo $sig; ?>">Link text here</a> On Thursday 11 October 2001 05:37 pm, you wrote: > I am trying to append an MD5 sig to a clickable URL. The sig, when appended > to the URL brings the user to a specific query. What I am wondering is > this: Is there a way to generate a url with the sig in it so that the user > may click it? Here's what I planned to use in the body of the document: > > <pre> > <a > href="signature.php">http://www.someurl.com/signature.php?sig=<? > echo > $sig; ?></a> > </pre> > > The problem is that the it dispays properly, but the link does not append > the signature. If you click it, you will only be taken to the page, and > will be unable to pass the query. > > Alternatively, if there a way to make the hyperlink display as html inside > the php delimiters? In otherwords, can I do a clickable hyperlink inside > the php delimiters? > > > -R

« previous php.general (#70869) next »