Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
is this possible to do?
Old 02-14-2004, 10:22 PM is this possible to do?
java_dude's Avatar
Average Talker

Posts: 26
Location: Good ol' U.S. of A. Leicester, MA.
Trades: 0
OK, I've been trying to make a form that sends the visitor to a specific page on a different site, once they enter info into the fields:
1. username - a basic text field
2. category - a dropdown menu of about 15 selections.

when they click "submit" it brings them to the page using the info they entered. It's a different site than mine, and this will hopefully make it faster and easier to show them their rank. Here's the HTML code that I'm using (showing only important stuff):
Code:
<form action="http://secure2.runescape.com/aff/runescape/mod/
hiscore/hiscoreuser.cgi">

<input type="text" name="username">

<select name="category">

<option value="14">Agility</option>
<option value="5">Cooking</option>
<option value="10">Crafting</option>
<option value="1">Fighting</option>
<option value="9">Firemaking</option>
<option value="8">Fishing</option>
<option value="0">Skill Total</option>
<option value="7">Fletching</option>
<option value="13">Herblaw</option>
<option value="4">Magic</option>
<option value="12">Mining</option>
<option value="3">Prayer</option>
<option value="2">Ranged</option>
<option value="11">Smithing</option>
<option value="15">Thieving</option>
<option value="6">Woodcutting</option>
</select>

<input type="submit" value="Search">
</form>
Well, I made the form by pulling apart the code on the other site. It works absolutely fine on my own computer But when i upload it to my website, I get a "page not found" error from the other site. The URL is exactly identical to the one used on the other site.

But here's the thing: when i submit, I get a "page not found", but changing either the value of the category in any way, or the username to anything else makes it work (but defeats the purpose). Here's my site where it's located: http://salmoneus.net/hiscore.html

I'm wondering if there is a script that I need to use to do this? I know that the other site with the info on it uses cgi to look the player up. I just have no idea what to even do. I checked www.hotscripts.com for something, but couldn't find anything. Someone plz help!!
java_dude is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to is this possible to do?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08226 seconds with 12 queries