Advertisement

07.09.2008 at 01:54PM PDT, ID: 23551832
[x]
Attachment Details

how to stop image attributes appearing in the URL with a GET form

Asked by RowdyBurns in Hypertext Markup Language (HTML), PHP Scripting Language, Dynamic HTML (DHTML)

Tags: html, php

Hi experts,

The attached is a small button on one of my pages, housed in a GET form so that a dynamically generated URL loads the PlayerProfile page properly.  Ignore the php bits, the issue is that the URL this is generating is:

/PlayerProfile.php?user=bob&gotoprofile.x=18&gotoprofile.y=11

So it is pulling the x+y dimensions of the image in as well or something, whereas I only want the hidden field to appear in the url, like so:

/PlayerProfile.php?user=bob

So is it possible to have an image submit on a GET form without its attributes being passed into the url of the targeted page?

thanksStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
<form action="/PlayerProfile.php" method="get">
		   <?php if ($mail[$x]["from"] == "Randomly Challenged")
{} 
else {?>
	
	         <input name="gotoprofile" type="image"  value="View Players Profile" style="margin-top:33px;" src="images/MailHub/ViewProBtn.gif" srcover="images/MailHub/ViewProBtnDOWN.gif" srcdown="images/MailHub/ViewProBtnDOWN.gif"/>
			 
			 <input name="user" style="visibility:collapse" type="hidden" value="<?php echo $mail[$x]["from"]; ?>">
</form>
 
Loading Advertisement...
 
[+][-]07.09.2008 at 01:56PM PDT, ID: 21968288

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 02:06PM PDT, ID: 21968368

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 02:11PM PDT, ID: 21968418

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 02:55PM PDT, ID: 21968770

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 03:02PM PDT, ID: 21968820

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 03:07PM PDT, ID: 21968849

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 03:13PM PDT, ID: 21968884

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 03:19PM PDT, ID: 21968910

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 03:57PM PDT, ID: 21969112

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 04:16PM PDT, ID: 21969209

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 05:00AM PDT, ID: 21972360

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Hypertext Markup Language (HTML), PHP Scripting Language, Dynamic HTML (DHTML)
Tags: html, php
Sign Up Now!
Solution Provided By: ruscomp
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.10.2008 at 10:25AM PDT, ID: 21975665

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628