You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Brian Hooper <br...@hotmail.co.uk> on 2009/12/05 18:18:30 UTC

[users@httpd] href="frag.php&field=value" gets error 404.

Hi,

I am using an html file to run a php script thus...




	
	
	
	

<html>

<head>

</head>

<body>

<a
href="frag.php">Frag</a>

<a
href="frag.php&input=xxx">Frag Input</a>

</body>

</html>


The first link works file but the second produces a 404 error; correctly so as the php file being invoked is

/var/www/frag.php&input=xxx

according to the error log.

Could anyone point me to a web page that explains what I need to do here?

Thank you for your attention.

Brian Hooper

 		 	   		  
_________________________________________________________________
Use Hotmail to send and receive mail from your different email accounts
http://clk.atdmt.com/UKM/go/186394592/direct/01/

RE: [users@httpd] Re: href="frag.php&field=value" gets error 404.

Posted by Brian Hooper <br...@hotmail.co.uk>.
Thank you for your help, ladies and gentlemen. I'd only been staring all day at that stupid mistake.

Rgds,

Brian Hooper

From: kremels@kreme.com
To: users@httpd.apache.org
Date: Sat, 5 Dec 2009 17:20:47 -0700
Subject: [users@httpd] Re: href="frag.php&field=value" gets error 404.

On Dec 5, 2009, at 10:18, Brian Hooper <br...@hotmail.co.uk> wrote:

<a
href="frag.php&input=xxx">Frag Input</a>
& is used to separate values from each other. ? Is used to seperate the values from the URL.  		 	   		  
_________________________________________________________________
Have more than one Hotmail account? Link them together to easily access both
 http://clk.atdmt.com/UKM/go/186394591/direct/01/

[users@httpd] Re: href="frag.php&field=value" gets error 404.

Posted by LuKreme <kr...@kreme.com>.
On Dec 5, 2009, at 10:18, Brian Hooper <br...@hotmail.co.uk>  
wrote:

> <a href="frag.php&input=xxx">Frag Input</a>

& is used to separate values from each other. ? Is used to seperate  
the values from the URL. 

Re: [users@httpd] href="frag.php&field=value" gets error 404.

Posted by Marcin 'Rambo' Roguski <ra...@id.uw.edu.pl>.
rag.php?field=value

? rather than &

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org