954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Download, Edit and Post HTTP Request?

Hey guys, is have a bot at the moment which basicly uses the browser to get around things and its really slow as the process which i need doing is repetitive. i need a really quick method. Can any1 post a sample script where it

Downloads HTTP source to text file or temp text box
edits source strings as needed
post to server (submit)

thank you i would really really appreciate your help.

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

no one help me?

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 
...edits source strings as needed ...post to server (submit)

What do you mean "Edits source strings"?
Do you mean you post modified HTML to a server?

...or are you saying you want to submit a form?

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

yeah post HTML which is modified back to the server.

As at the moment im using the browser and its taking ages to load and then submit.

Any help fella?

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

How are you submitting modified HTML back to the server using a browser?

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

no sorry, what i mean is im using the browser to find elements to process the macro.

it would be great if i can download, edit and post the HTML page. Can you give me a sample of any website html please ?

Dave

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

I'm not sure what to give you since I'm not really sure what you're doing.

Either you are:
1) Calling a web page to submit a populated form
or
2) Attempting to actually modify a web page

If you are attempting to fill a form and submit it, that CAN be fairly easy.

If option 2, there are a LOT of other things to consider such as FTP and permissions to write the modified HTML back to the server.

Do you have a sample web page?

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

Subit a form fella

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

I made an example using a page called the Gangster Name Generator that returns a made-up Gangster name when you put in a regular name.

If you look at the source of this page , you will see a form that has three fields
gender, firstname and secondname -- each which must have a value:
The name being called from the submit form is in a variable called "action".
If you look for the action= key, you will see the name of the URI being called.

If you piece together that URI with a question-mark and the parameters prefixed with their variable names, you can generate the result using GET or POST

Here is a clickable sample using the name Fred Johnson

To get the result, open a WebClient stream to to the page and search for the result inside of the regular expression Regex(".* '(.*)' .*")

As an alternative, you can use the HttpWebResponse if you want to change the verb to POST

Here is an example of both methods:

Imports System.IO
Imports System.Text.RegularExpressions
Imports System.Net

Module Module1
   Function GetGangsterNameG(ByVal strFirstName As String, ByVal strLastName As String, ByVal chrGender As Char) As String
      Dim strRetVal As String = ""
      Dim strUri As String =
         "http://www.quizopolis.com/gangster-name-generator.php?" &
         "gender=" & chrGender &
         "&firstname=" & strFirstName &
         "&secondname=" & strLastName
      Dim wc As New WebClient
      Dim fileWebIn As New StreamReader(wc.OpenRead(strUri))
      Dim rxGangsterName As New Regex("<b>(.* '.*' .*)</b>")
      Dim strData As String
      While Not fileWebIn.EndOfStream
         strData = fileWebIn.ReadLine()
         If (rxGangsterName.IsMatch(strData)) Then
            strRetVal = rxGangsterName.Match(strData).Groups(1).Value
         End If
      End While
      fileWebIn.Close()
      Return strRetVal
   End Function

   Function GetGangsterNameP(ByVal strFirstName As String, ByVal strLastName As String, ByVal chrGender As Char) As String
      Dim strRetVal As String = ""
      Dim strUri As String =
         "http://www.quizopolis.com/gangster-name-generator.php?" &
         "gender=" & chrGender &
         "&firstname=" & strFirstName &
         "&secondname=" & strLastName

      Dim req As HttpWebRequest = WebRequest.Create(strUri)
      req.Method = WebRequestMethods.Http.Post
      Dim fileWebIn As New StreamReader(req.GetResponse().GetResponseStream())

      Dim rxGangsterName As New Regex("<b>(.* '.*' .*)</b>")
      Dim strData As String
      While Not fileWebIn.EndOfStream
         strData = fileWebIn.ReadLine()
         If (rxGangsterName.IsMatch(strData)) Then
            strRetVal = rxGangsterName.Match(strData).Groups(1).Value
         End If
      End While
      fileWebIn.Close()
      Return strRetVal
   End Function

   '
   Sub Main()
      Console.WriteLine(GetGangsterNameG("Fred", "Johnson", "M"(0)))
      Console.WriteLine(GetGangsterNameG("Jill", "Jackson", "F"(0)))
      Console.WriteLine(GetGangsterNameP("Sam", "Sneed", "M"(0)))
      Console.WriteLine(GetGangsterNameP("Shelly", "Sharp", "F"(0)))
   End Sub
End Module
thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

ah rite, i see that you are inserting variables in the URL, have you got a code that changes the HTML? or a certin value (form)

Tryd both of the codes and i couldn't see if they work or not

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

The program (CGI, php, asp, etc) behind the form is only going to accept certain variables -- the three I mentioned.

What do mean changes the HTML? -- to what?

If you have another CGI to call with different variables, you can use either technique to send variables to it.

This code writes the output to the console.
If you can't see it, you can put a breakpoint on the "End Sub" and the program will pause there. You can also step through it with F-10 and watch each line in Main execute.

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

al im wanting todo to is value of subject and message on that page to X and Post to their server so it submits it.

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

OK, use the same technique with different variable names.
The name of the item you will be calling will be inside action=""

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

I done understand what i need to edit, i see

"gender=" & chrGender &
"&firstname=" & strFirstName &
"&secondname=" & strLastName

but is this not to add onto the url? if so is this how it works on any http editing.

Console.WriteLine(GetGangsterNameG("Fred", "Johnson", "M"(0)))
Console.WriteLine(GetGangsterNameP("Sam", "Sneed", "M"(0)))
Console.WriteLine(GetGangsterNameP("Shelly", "Sharp", "F"(0)))

the above i userstand that they are the values of the 3 above, but as the above not many pages can add by php url?

Imports System.IO
Imports System.Text.RegularExpressions
Imports System.Net
 
Module Module1
   Function GetGangsterNameG(ByVal strFirstName As String, ByVal strLastName As String, ByVal chrGender As Char) As String
      Dim strRetVal As String = ""
      Dim strUri As String =
         "http://www.quizopolis.com/gangster-name-generator.php?" &
         "gender=" & chrGender &
         "&firstname=" & strFirstName &
         "&secondname=" & strLastName
      Dim wc As New WebClient
      Dim fileWebIn As New StreamReader(wc.OpenRead(strUri))
      Dim rxGangsterName As New Regex("<b>(.* '.*' .*)</b>")
      Dim strData As String
      While Not fileWebIn.EndOfStream
         strData = fileWebIn.ReadLine()
         If (rxGangsterName.IsMatch(strData)) Then
            strRetVal = rxGangsterName.Match(strData).Groups(1).Value
         End If
      End While
      fileWebIn.Close()
      Return strRetVal
   End Function
 
   Function GetGangsterNameP(ByVal strFirstName As String, ByVal strLastName As String, ByVal chrGender As Char) As String
      Dim strRetVal As String = ""
      Dim strUri As String =
         "http://www.quizopolis.com/gangster-name-generator.php?" &
         "gender=" & chrGender &
         "&firstname=" & strFirstName &
         "&secondname=" & strLastName
 
      Dim req As HttpWebRequest = WebRequest.Create(strUri)
      req.Method = WebRequestMethods.Http.Post
      Dim fileWebIn As New StreamReader(req.GetResponse().GetResponseStream())
 
      Dim rxGangsterName As New Regex("<b>(.* '.*' .*)</b>")
      Dim strData As String
      While Not fileWebIn.EndOfStream
         strData = fileWebIn.ReadLine()
         If (rxGangsterName.IsMatch(strData)) Then
            strRetVal = rxGangsterName.Match(strData).Groups(1).Value
         End If
      End While
      fileWebIn.Close()
      Return strRetVal
   End Function
 
   '
   Sub Main()
      Console.WriteLine(GetGangsterNameG("Fred", "Johnson", "M"(0)))
      Console.WriteLine(GetGangsterNameG("Jill", "Jackson", "F"(0)))
      Console.WriteLine(GetGangsterNameP("Sam", "Sneed", "M"(0)))
      Console.WriteLine(GetGangsterNameP("Shelly", "Sharp", "F"(0)))
   End Sub
End Module
daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

Any form is submitted the same way. The variables you use will be specific to the form you are calling.
Can you show me the HTML code for the form you are trying to submit?

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

its basicly subject and message i want to change and add a value to and click btnbutton.



<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.3/jquery-ui.min.js"></script>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />

<meta name="description" content="Discuss your favorite games on the EA forums. Learn the latest tips and tricks from other gamers like you and share you own personal thoughts and discoveries." />
<meta name="robots" content="index, follow" />

<link rel="canonical" href="http://forum.ea.com/uk/pm/sendTo/100.page" />
<!--[if lte IE 7]>
<link rel="icon" href="http://cdn.forum.ea.com/uk/templates/default/ea/images/logos/favicon.ico?v2.25.1" />
<link rel="shortcut icon" href="http://cdn.forum.ea.com/uk/templates/default/ea/images/logos/favicon.ico?v2.25.1" />
<![endif]-->
<link rel="icon" href="http://cdn.forum.ea.com/uk/templates/default/ea/images/logos/favicon.ico.png?v2.25.1" />
<link rel="shortcut icon" href="http://cdn.forum.ea.com/uk/templates/default/ea/images/logos/favicon.ico.png?v2.25.1" />

<style type="text/css">@import url( <a href="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/styles/style.css?v2.25.1">http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/styles/style.css?v2.25.1</a> );</style>
<style type="text/css">.icon_new_topic img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/post.gif);
background-repeat: no-repeat;
height: 25px;
width: 82px;
}

.icon_reply img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/reply.gif);
background-repeat: no-repeat;
height: 25px;
width: 82px;
}

.icon_reply_locked img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/reply_locked.gif);
background-repeat: no-repeat;
height: 25px;
width: 82px;
}

.icon_quote img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_quote.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

.icon_edit img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_edit.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

.icon_profile img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_profile.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

.icon_pm img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_pm.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

.btn_info img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/btn_more_info.gif);
background-repeat: no-repeat;
height: 24px;
width: 99px;
}

.icon_aim img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_aim.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

.icon_email img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_email.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

.icon_icq_add img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_icq_add.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

.icon_msnm img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_msnm.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

.icon_www img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_www.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

.icon_yim img {
background-image: url(/uk/templates/default/skins/en_GB/en_GB_default/images/icon_yim.gif);
background-repeat: no-repeat;
height: 18px;
width: 59px;
}

td.signature {
padding: 15px 1px 15px 1px;
}</style>

<link type="text/css" rel="stylesheet" media="screen" href="http://ll.assets.ea.com/ea/gus/gus.css" />
<style type="text/css">@import url(http://cdn.forum.ea.com/uk/templates/default/ea/styles/gus.css?v2.25.1);</style>

<link type="text/css" rel="stylesheet" href="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/styles/ea_header_footer.css?v2.25.1" />
<!--[if lte IE 7]>
<link type="text/css" rel="stylesheet" href="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/styles/ea_header_footer_ie6.css?v2.25.1" />
<![endif]-->

<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script> <!-- Chartbeat -->

<script type="text/javascript">
if (parent.frames.length != 0) {
// loaded in frames
parent.location.href = this.location.href;
}
</script>

<script language="javascript" type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/gus.js?v2.25.1"></script>

<title>EA Forums</title>
</head>
<body class="en_GB main">
<script type="text/javascript">
function showEmail(beforeAt, afterAt)
{
return beforeAt + "@" + afterAt;
}

var starOn = new Image();
starOn.src = "http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/star_on.gif?v2.25.1";

var starOff = new Image();
starOff.src = "http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/star_off.gif?v2.25.1";

function writeStars(q, postId)
{
for (var i = 0; i < 5; i++) {
var name = "star" + postId + "_" + i;
document.write("<img name='" + name + "' alt='*' />");
document.images[name].src = q > i ? starOn.src : starOff.src;
}
}

function addBookmark(relationType, relationId)
{
var w = window.open('/uk/bookmarks/insert/' + relationType + '/' + relationId + '.page', 'bookmark_add', 'width=700, height=200, scrollbars=auto, resizable=true');
w.focus();
}

function reportPost(postId, startPage) {
if (startPage === undefined) {
startPage = 0;
}
var w = window.open('/uk/reportPosts/report/' + postId + '.page' + '?start=' + startPage, 'report_post', 'width=700, height=300, scrollbars=auto, resizable=true');
w.focus();
}


function maximizeWin() {
if (window.screen) {
var aw = screen.availWidth;
var ah = screen.availHeight;
window.moveTo(0, 0);
window.resizeTo(aw, ah);
}
}

function loadUserPrivateMessages(userId) {
var requestUrl = "/uk/infractions/stats.page";
$.ajax({
type: 'POST',
data: {'module':'pm' , 'action':'stats','user_id': userId},
url: requestUrl,
success: function(data, textStatus, XMLHttpRequest) { fillPrivateMessagesData(data, this.context);},
error: function(XMLHttpRequest, textStatus, errorThrown) {showErrorMessage(textStatus);},
dataType: 'json',
context: $("#privatemessages")
});
}

function showErrorMessage(data){
$("#spamRequest").dialog({
title: data.message,
resizable: false,
buttons: { "Close": function() { $(this).dialog('destroy'); } }
});
}

function fillPrivateMessagesData(data, caller) {
caller.append("(");
//Done this way because append won't allow open and close tags in separate appends
if (data.totalNew > 0) {
caller.append("<span style='font-weight:bold;color:#ff0000;'>" + data.totalNew + "</span>");
} else {
caller.append(data.totalNew);
}

caller.append('/')
caller.append(data.totalNew + data.totalRead)
caller.append(")");
}
$(document).ready(function() {
loadUserPrivateMessages(729358);
});
</script>
<!-- GUS -->

<!-- Global Navigation / Start //-->
<script language="Javascript">
var isLoggedIn = true;

function logoutEAStore() {
var imgURL = document.getElementById("hiddenURL");

imgURL.src = "https://profile.ea.com/logout.do";
gotoLogoutURL();
}

function gotoLogoutURL() {
window.location = "https://profile.ea.com/logout.do?surl=http://forum.ea.com/uk&remoteurl=http://forum.ea.com/uk/gusUser/logout.page";
}
</script>
<div id="gus-header">
<div id="gus-siteNav">
<ul id="gus-nav">
<li><a href="#" onclick="showMenu('EAMenu');return false;" id="EALink"></a>
<ul id="EAMenu" style="left:-999px;">
<li><a href="http://www.eagames.co.uk">EA Games</a></li>
<li><a href="http://www.eagames.co.uk/genre/sports-games">EA SPORTS</a></li>

<li><a href="http://www.eamobile.com">EA Mobile</a></li>
<li><a href="http://uk.pogo.com/">POGO.com</a></li>
</ul>
</li>
<li><a href="http://www.eagames.co.uk" id="WorldLink"></a></li>
<!-- Language Selector -->
<li>
<a href="#" onclick="showMenu('EATerritoryMenu');return false;" id="EATerritory" style="background-image:url(http://cdn.forum.ea.com/uk/templates/default/ea/images/locale_selector/en_GB_menu.png?v2.25.1)"></a>

<ul id="EATerritoryMenu" style="left: -999px;">
<li><a class="flag us" href="http://forum.ea.com/eaforum">United States/Canada</a></li>
<li><a class="flag de" href="http://forum.ea.com/de">Deutschland</a></li>
<li><a class="flag fr" href="http://forum.ea.com/fr">France</a></li>
<li><a class="flag it" href="http://forum.ea.com/it">Italy</a></li>
<li><a class="flag mx" href="http://forum.ea.com/mx">Mexico</a></li>

<li><a class="flag pl" href="http://forum.ea.com/pl">Poland</a></li>
<li><a class="flag es" href="http://forum.ea.com/es">Spain</a></li>
<li><a class="flag gb" href="http://forum.ea.com/uk">United Kingdom</a></li>
</ul>
</li>
</ul>
<div id="nationPersona">

<a href="" onclick="showPersona('persistentNation'); return false;"><span>Welcome,</span>
FIFA_FONZIE
</a>
</div>
<div id="nationLogout">
<a href="https://profile.ea.com/logout.do?surl=http://forum.ea.com/uk&remoteurl=http://forum.ea.com/uk/gusUser/logout.page" class="siteLink" id="nationLogoutLink">
<span>Logout</span>
</a>

</div>

<div id="persistentNation" class="extenededLayer" style="display:none;">

<div class="enColumn" id="plTools">
<div class="enLabel"><div>Nation Tools </div></div>
<div class="plLinkList plColLeft">
<a href="https://profile.ea.com/myinfo.do?surl=http://forum.ea.com/uk/pm/sendTo/100.page&remoteurl=http://forum.ea.com/uk/gusUser/logout.page&locale=en_GB">My Account</a>
<!-- a href="https://www.ea.com/profile/my-games">Register Game</a-->

<a href="https://help.ea.com/">Support</a>
</div>
<div class="plColLeft">
<div class="plBtnContainer">
<a class="plBtn" id="plBtnChange" href="https://profile.ea.com/selectprofile.do?surl=http://forum.ea.com/uk/pm/sendTo/100.page&remoteurl=http://forum.ea.com/uk/gusUser/login.page&locale=en_GB"></a>
</div>
</div>
</div>

</div>
</div>
</div>


<span id="hiddenEAStoreLogout" style="visibility: hidden">
<img id="hiddenURL" src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/spacer.gif?v2.25.1" style="visibility: hidden; display:block;" width="0" height="0"/>
</span>
<!-- Global Navigation / End //-->

<!--[if lte IE 7]> <div align="center" style=' clear: both; height: 59px; padding:0 0 0 15px; position: relative;'> <a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode"><img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." /></a></div> <![endif]-->

<div class="main">
<table id="headerTable" width="970" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>
<td class="mainHeader" align="center">
<!-- EA Header -->
<!-- Header -->
<div id="header" style="margin-bottom: 1px;">

<!-- Inner Header -->
<div id="navigation">
<div class="wrapper">
<h1><a class="pngFix" href="http://www.eagames.co.uk">Electronic Arts</a></h1>

<!-- Utilities -->
<div id="utils">
</div><!-- End Utilities -->

<!-- Main Navigation -->
<ul id="menu">
<li class="drop games">
<a class="nav_games" href="http://www.eagames.co.uk/games"><span>GAMES</span></a>
<div class="sub_nav">

<div>
<div class="featuredAreas">
<ul>
<li>
<a href="http://www.eagames.co.uk/games">Browse Games</a>
</li>
<li>
<a rel="nofollow" target="_new" href="http://ea.onlineregister.com">Register My Game</a>

</li>
<li>
<a ref="http://www.eagames.co.uk/free/play-free-games">Play Free Games</a>
</li>
<li>
<a rel="nofollow" href="http://twitter.com/electronicarts">EA UK on Twitter</a>
</li>

</ul>

<div class="featuredGame">
<a href=""><img src="http://web-vassets.ea.com/Assets/Richmedia/Image/Battlefield-3-Highlighted-Image-93x66.jpg" alt="Battlefield-3-Highlighted-Image-93x66.jpg"/></a>
<a href="" title="Battlefield 3">
Battlefield 3
</a>
</div>
</div>
<dl>
<dt>Platform</dt>

<dd>
<a href="http://www.eagames.co.uk/platform/pc-games">PC Games </a>
</dd>
<dd>
<a href="http://www.eagames.co.uk/platform/wii-games">Wii&#153;</a>
</dd>
<dd>
<a href="http://www.eagames.co.uk/platform/xbox-360-games">Xbox 360&#174;</a>

</dd>
<dd>
<a href="http://www.eagames.co.uk/platform/ps3-games">PLAYSTATION&#174;3</a>
</dd>
<dd>
<a href="http://www.eagames.co.uk/platform/ps2-games">PlayStation&#174;2</a>
</dd>

<dd>
<a href="http://www.eagames.co.uk/platform/online-games">Online Games</a>
</dd>
<dd>
<a href="http://www.eagames.co.uk/platform/nds-games" rel="nofollow">Nintendo DS&#153;</a>
</dd>
<dd>
<a rel="nofollow" href="http://www.eagames.co.uk/platform/iphone-games">iPhone/iPod Games</a>

</dd>
<dd>
<a rel="nofollow" href="http://www.eagames.co.uk/platform/ipad">iPad Games</a>
</dd>
</dl>
<dl>
<dt>Genre</dt>
<dd>

<a href="http://www.eagames.co.uk/genre/racing-games">Racing Games</a>
</dd>
<dd>
<a href="http://www.eagames.co.uk/genre/rpg-games">RPG Games</a>
</dd>
<dd>
<a href="http://www.eagames.co.uk/genre/shooting-games">Shooting Games</a>

</dd>
<dd>
<a href="http://www.eagames.co.uk/genre/puzzle-games">Puzzle Games</a>
</dd>
<dd>
<a href="http://www.eagames.co.uk/genre/strategy-games">Strategy Games</a>
</dd>
<dd>

<a href="http://www.eagames.co.uk/genre/kids-games">Kids Games</a>
</dd>
<dd>
<a href="http://www.eagames.co.uk/genre/music-games">Music Games</a>
</dd>
<dd>
<a rel="nofollow" href="http://www.eagames.co.uk/genre/sports-games">Sports Games</a>

</dd>
</dl>
</div>
</div>
</li>
<li>
<a class="nav_store1" href="http://www.eagames.co.uk/news/">NEWS</a>
</li>

<li>
<a class="nav_store1" rel="nofollow" href="http://forums.electronicarts.co.uk/">COMMUNITY</a>
</li>
<li class="drop studio">
<a class="nav_studio" href="http://www.eagames.co.uk/studio/"><span>MEDIA</span></a>
<div class="sub_nav">
<div>
<ul>

<li>
<a href="http://www.eagames.co.uk/videos/"><img alt="Videos" src="http://web-static.ea.com/gb/portal/images/icon_video.png?ver=643_en_GB"/><span>Videos</span>Check out our new behind the scenes and tutorials.</a>
</li>
<li>
<a href="http://www.eagames.co.uk/images/"><img alt="Images" src="http://web-static.ea.com/gb/portal/images/icon_photo.png?ver=643_en_GB"/><span>Images</span>New screenshots that will blow you away!</a>
</li>
<li>

<a href="http://www.eagames.co.uk/music/"><img alt="Music" src="http://web-static.ea.com/gb/portal/images/icon_music.png?ver=643_en_GB"/><span>Music</span>Listen to the best music of your favourite games.</a>
</li>
<li>
<a href="http://www.eagames.co.uk/downloads/"><img alt="Downloads" src="http://web-static.ea.com/gb/portal/images/icon_downloads.png?ver=643_en_GB"/><span>Downloads</span>Downloads for your favourite games.</a>
</li>
</ul>
</div>

</div>
</li>
<li>
<a class="nav_store1" rel="nofollow "href="http://eastore.ea.com/servlet/PromoServlet/promoID.47947700">ORIGIN</a>
</li>
<li>
<a class="nav_store1" rel="nofollow "href="http://support.electronicarts.co.uk/">HELP</a>
</li>


</ul>
<!-- End Main Navigation -->
<br class="clear" />

</div>
</div><!-- End Inner Header -->
</div><!-- End Header -->
&nbsp; </td>
</tr>

</table>
<table id="contentTable" width="970" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="mainBorder"><img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/spacer.gif?v2.25.1" class="mainBorderSp" /></td>
<td class="mainBody">
<!-- table with FORUM content-->
<table id="forumContentTable" width="850" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>

<td>
<table width="850" border="0" cellpadding="0" cellspacing="0" align="center">
<tbody>
<tr>
<td width="850" align="center" valign="middle">
<table cellspacing="0" cellpadding="2" border="0">
<tbody>
<tr>
<td valign="top" nowrap="nowrap" align="center">&nbsp;


<span class="mainmenu">
<a id="search" class="mainmenu" href="/uk/search/filters.page">
<img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/icon_mini_search.gif?v2.25.1" alt="[Search]"/>&nbsp;
<b>Search</b>
</a> &nbsp;
<img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/icon_mini_recentTopics.gif?v2.25.1" alt="[Recent Topics]" />
<a id="latest" class="mainmenu" href="/uk/recentTopics/list.page">Recent Topics</a> &nbsp;

<img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/folder_hot.gif?v2.25.1" alt="[Hottest Topics]" width="12" height="13" />
<a id="hottest" class="mainmenu" href="/uk/hottestTopics/list.page">Hottest Topics</a> &nbsp;
<img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/icon_mini_members.gif?v2.25.1" alt="[Members]" />&nbsp;
<a id="latest2" class="mainmenu" href="/uk/user/list.page">Member Listing</a> &nbsp;
<span class="mainmenu"> <img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/icon_mini_groups.gif?v2.25.1" alt="[Groups]" />&nbsp;<a id="backtosite" class="mainmenu" href="/uk/categories/list.page">Back to EA Forum Index</a>&nbsp;
<br/>



<a id="myprofile" class="mainmenu" href="/uk/user/edit/729358.page"><img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/icon_mini_profile.gif?v2.25.1" border="0" alt="[Profile]" /> My Profile</a>&nbsp;
<a id="threadsubscribe" class="mainmenu" href="/uk/topicSubscription/list/729358.page"><img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/icon_minipost.gif?v2.25.1" border="0" alt="[Subscribe]" /> My Subscriptions</a>&nbsp;
<a class="mainmenu" href="/uk/bookmarks/list/729358.page"><img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/icon_minipost.gif?v2.25.1" alt="[Bookmark]" width="12" height="13" /> My Bookmarks</a>&nbsp;
<a id="privatemessages" class="mainmenu" href="/uk/pm/inbox.page"><img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/icon_mini_message.gif?v2.25.1" border="0" alt="[Message]" />
Private Messages
</a>&nbsp;

</span>

</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

</td>
</tr>
<tr>
<td>
<style type="text/css">@import url( http://cdn.forum.ea.com/uk/templates/default/js/jquery/jquery-ui.css?v2.25.1 );></style>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/announcements.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/jquery/jquery.newsticker.pack.js?v2.25.1"></script>
<script type="text/javascript" >
$(document).ready(function() {
//Passing this in here as it doesn't get evaluated in the js file
return displayAnnouncements("/uk/announcements/list.page");
});
</script>
<div id="announcements-wrapper">

<ul id="news" style="display:none; list-style-type: none"/>
</div> <style type="text/css">@import url( http://cdn.forum.ea.com/uk/templates/default/js/jquery/jquery-ui-1.7.3.custom.css?v2.25.1 );></style>

<script type="text/javascript">
var CONTEXTPATH = "/uk";
var SERVLET_EXTENSION = ".page";
</script>

<style type="text/css">@import url( http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/styles/tabs.css?v2.25.1 );</style>
<style type="text/css">@import url( http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/styles/SyntaxHighlighter.css?v2.25.1 );</style>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/post.js?v2.25.1"></script>

<script type="text/javascript">
// Helpline messages
b_help = "Bold Text: <strong>Text</strong> (alt+b)";
i_help = "Italic Text: <em>Text</em> (alt+i)";
u_help = "Underline Text: Text (alt+u)";
j_help = "Center: Center (alt+j)";
q_help = "Quote: <blockquote>Text</blockquote> (alt+q)";
c_help = "Code:

<pre><code>Code</code></pre>
(alt+c)";
l_help = "List:<ul><li>[li]Text[/li]</li>
</ul>(alt+l)";
p_help = "Insert Image: [img]http://wwww.xxxx.com/img.ext[/img] (alt+p)";
w_help = "Insert URL: <a href="http://url">http://url</a> / <a href="http://url">URL Description</a> (alt+w)";
a_help = "Close all bbcode marks";
s_help = "Color: Text Tip: can also use color=#FF0000";
f_help = "Font: Small Text";
g_help = "Google: [google]A search phrase[/google]";
y_help = "Youtube: [youtube]Youtube video URL[/youtube]";
k_help = "Flash: [flash]Flash movie URL[/flash]";
v_help = "WMV: [wmv]WMV video URL[/wmv]";
function showEmail(beforeAt, afterAt)
{
return beforeAt + "@" + afterAt;
}

var starOn = new Image();
starOn.src = "http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/star_on.gif?v2.25.1";

var starOff = new Image();
starOff.src = "http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/star_off.gif?v2.25.1";

function writeStars(q, postId)
{
for (var i = 0; i < 5; i++) {
var name = "star" + postId + "_" + i;
document.write("<img name='" + name + "' alt='*' />");
document.images[name].src = q > i ? starOn.src : starOff.src;
}
}

function addBookmark(relationType, relationId)
{
var w = window.open('/uk/bookmarks/insert/' + relationType + '/' + relationId + '.page', 'bookmark_add', 'width=700, height=200, scrollbars=auto, resizable=true');
w.focus();
}

function reportPost(postId, startPage) {
if (startPage === undefined) {
startPage = 0;
}
var w = window.open('/uk/reportPosts/report/' + postId + '.page' + '?start=' + startPage, 'report_post', 'width=700, height=300, scrollbars=auto, resizable=true');
w.focus();
}


function maximizeWin() {
if (window.screen) {
var aw = screen.availWidth;
var ah = screen.availHeight;
window.moveTo(0, 0);
window.resizeTo(aw, ah);
}
}

function loadUserPrivateMessages(userId) {
var requestUrl = "/uk/infractions/stats.page";
$.ajax({
type: 'POST',
data: {'module':'pm' , 'action':'stats','user_id': userId},
url: requestUrl,
success: function(data, textStatus, XMLHttpRequest) { fillPrivateMessagesData(data, this.context);},
error: function(XMLHttpRequest, textStatus, errorThrown) {showErrorMessage(textStatus);},
dataType: 'json',
context: $("#privatemessages")
});
}

function showErrorMessage(data){
$("#spamRequest").dialog({
title: data.message,
resizable: false,
buttons: { "Close": function() { $(this).dialog('destroy'); } }
});
}

function fillPrivateMessagesData(data, caller) {
caller.append("(");
//Done this way because append won't allow open and close tags in separate appends
if (data.totalNew > 0) {
caller.append("<span style='font-weight:bold;color:#ff0000;'>" + data.totalNew + "</span>");
} else {
caller.append(data.totalNew);
}

caller.append('/')
caller.append(data.totalNew + data.totalRead)
caller.append(")");
}
</script>

<script type="text/javascript">
$(document).ready(function() {
});
</script>

<script type="text/javascript">
<!--
function buildBccDisplay(){
$("#bccUsernames").children().remove();
if(document.forms['post'].bccUsers.value.length > 0) {
var tokens = document.forms['post'].bccUsers.value.split( ":" );
for ( var i = 0; i < tokens.length; i++ ) {
if ( tokens[ i ].length > 0) {
var keyValues = tokens[ i ].split(",");
$("#bccUsernames").append(
"<li style=\"display:inline-block\" class=\"catlist2 gen\">" + keyValues[1] +
"&nbsp;" +
"<a class=\"gensmall\" href=\"#\" onclick=\"removeBccUser(" +
keyValues[0] +
",'" +
keyValues[1] +
"');\">Delete</a>" +
"&nbsp;&nbsp;</li>");
}
}
}
}

function removeBccUser(id, name) {
var startIndex = document.forms['post'].bccUsers.value.indexOf(id + "," + name);

if (startIndex > -1) {
var prefix = document.forms['post'].bccUsers.value.substring(0,startIndex);

var endIndex = document.forms['post'].bccUsers.value.indexOf(":", startIndex);

if (endIndex != document.forms['post'].bccUsers.value.length -1) {
var suffix = document.forms['post'].bccUsers.value.substring(endIndex+1);
document.forms['post'].bccUsers.value = prefix + suffix;
} else {
document.forms['post'].bccUsers.value = prefix;
}
}
buildBccDisplay();
}

function newCaptcha()
{
document.getElementById("captcha_img").src = "/uk/jforum.page?module=captcha&action=generate&timestamp=" + new Date().getTime();
}

function validatePostForm(f)
{
if (f.subject.value == "") {
alert("Subject empty, please enter a subject");
f.subject.focus();

return false;
}

if (f.message.value.replace(/^\s*|\s*$/g, "").length == 0) {
alert("Empty message, please enter a message or quit.");
f.message.focus();

return false;
}

if (f.toUsername.value == "") {
alert("No user specified, please enter a user to send the message to.");
f.toUsername.focus();

return false;
}


$("#icon_saving").css("display", "inline");
$("#btnPreview").attr("disabled", "disabled");
$("#btnSubmit").attr("disabled", "disabled").val("Saving...");

return true;
}

function openFindUserWindow()
{
var w = window.open("/uk/pm/findUser.page", "_findUser", "height=250,resizable=yes,width=400");
w.focus();
}

function openFindBccUserWindow()
{
var w = window.open("/uk/pm/findBccUser.page", "_findUser", "height=250,resizable=yes,width=400");
w.focus();
}

function smiliePopup()
{
var w = window.open("/uk/posts/listSmilies.page", "smilies", "width=300, height=300, toolbars=no, scrollbars=yes");
w.focus();
}

-->
</script>




<form action="/uk/jforum.page" method="post" enctype="multipart/form-data" name="post" id="post" onsubmit="return validatePostForm(this); document.getElementById('btnSubmit').disabled=true; return true;">
<input type="hidden" name="action" value="sendSave" />
<input type="hidden" name="module" value="pm" />
<input type="hidden" name="preview" value="0"/>
<input type="hidden" name="bunker"/>
<input type="hidden" name="request_hash" value="" />

<input type="hidden" name="start" value="" />



<table cellspacing="0" cellpadding="10" width="100%" align="center" border="0">
<tr>
<td class="bodyline">

<!-- Preview message -->
<a name="preview"></a>
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0" style="display: none" id="previewTable">
<tr>

<th height="25" class="thhead">Preview</th>
</tr>
<tr>
<td class="row1">
<img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/icon_minipost.gif?v2.25.1" alt="Post" />
<span class="postdetails" id="previewSubject"> Subject: </span>
</td>

</tr>
<tr>
<td class="row1" height="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="height:100%">
<tr>
<td><span id="previewMessage" class="postbody"></span></td>
</tr>
</table>
</td>

</tr>
<tr>
<td class="spacerow" height="1"><img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/spacer.gif?v2.25.1" alt="" width="1" height="1" /></td>
</tr>
</table>
<br clear="all" />

<table cellspacing="2" cellpadding="2" width="100%" align="center" border="0">
<tr>

<td align="left">
<span class="nav">
<a class="nav" href="/uk/categories/list.page">Forum Index</a>

</span>
</td>
</tr>
</table>

<table class="forumline" cellspacing="1" cellpadding="3" width="100%" border="0">

<tr>
<th class="thhead" colspan="2" height="25">
<b>
New Private Message
</b>
</th>
</tr>

<tr>
<td class="row1" width="15%"><span class="gen"><b>To user</b></span></td>

<td class="row2" width="85%">

<input type="text" class="post" size="25" name="toUsername" value="EvilGearPL" disabled="disabled"/>&nbsp;
<a class="gensmall" href="#" onclick="openFindUserWindow();">Open Addressbook</a>
<input type="hidden" name="toUserId" value="100" />
</td>
</tr>


<tr>
<td class="row1" width="15%"><span class="gen"><b>Subject</b></span></td>

<td class="row2" width="85%">
<span class="gen">
<input class="subject" type="text" tabindex="2" maxlength="100" name="subject" value="" />
</span>
</td>
</tr>

<tr>
<!-- Smilies -->
<td class="row1" valign="top">

<span class="gen"><b>Message body</b></span>

<table cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td valign="middle" align="center">

<table cellspacing="0" cellpadding="5" width="100" border="0">
<tr align="center">
<td class="gensmall" colspan="4"><b>Emoticons</b></td>

</tr>

<tr>
<td><a href="javascript:emoticon(':)');"><img src="http://forum.ea.com/uk/images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" /></a></td>
<td><a href="javascript:emoticon(':D');"><img src="http://forum.ea.com/uk/images/smilies/283a16da79f3aa23fe1025c96295f04f.gif" /></a></td>
<td><a href="javascript:emoticon(':(');"><img src="http://forum.ea.com/uk/images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif" /></a></td>
<td><a href="javascript:emoticon(':mrgreen:');"><img src="http://forum.ea.com/uk/images/smilies/ed515dbff23a0ee3241dcc0a601c9ed6.gif" /></a></td>
</tr>
<tr>

<td><a href="javascript:emoticon(':-o');"><img src="http://forum.ea.com/uk/images/smilies/47941865eb7bbc2a777305b46cc059a2.gif" /></a></td>
<td><a href="javascript:emoticon(':shock:');"><img src="http://forum.ea.com/uk/images/smilies/385970365b8ed7503b4294502a458efa.gif" /></a></td>
<td><a href="javascript:emoticon(':?:');"><img src="http://forum.ea.com/uk/images/smilies/0a4d7238daa496a758252d0a2b1a1384.gif" /></a></td>
<td><a href="javascript:emoticon('8)');"><img src="http://forum.ea.com/uk/images/smilies/b2eb59423fbf5fa39342041237025880.gif" /></a></td>
</tr>
<tr>
<td><a href="javascript:emoticon(':lol:');"><img src="http://forum.ea.com/uk/images/smilies/97ada74b88049a6d50a6ed40898a03d7.gif" /></a></td>
<td><a href="javascript:emoticon(':x');"><img src="http://forum.ea.com/uk/images/smilies/1069449046bcd664c21db15b1dfedaee.gif" /></a></td>
<td><a href="javascript:emoticon(':P');"><img src="http://forum.ea.com/uk/images/smilies/69934afc394145350659cd7add244ca9.gif" /></a></td>

<td><a href="javascript:emoticon(':oops:');"><img src="http://forum.ea.com/uk/images/smilies/499fd50bc713bfcdf2ab5a23c00c2d62.gif" /></a></td>
</tr>
<tr>
<td><a href="javascript:emoticon(':cry:');"><img src="http://forum.ea.com/uk/images/smilies/c30b4198e0907b23b8246bdd52aa1c3c.gif" /></a></td>
<td><a href="javascript:emoticon(':evil:');"><img src="http://forum.ea.com/uk/images/smilies/2e207fad049d4d292f60607f80f05768.gif" /></a></td>
<td><a href="javascript:emoticon(':twisted:');"><img src="http://forum.ea.com/uk/images/smilies/908627bbe5e9f6a080977db8c365caff.gif" /></a></td>
<td><a href="javascript:emoticon(':roll:');"><img src="http://forum.ea.com/uk/images/smilies/2786c5c8e1a8be796fb2f726cca5a0fe.gif" /></a></td>
</tr>
<tr>

<td><a href="javascript:emoticon(':wink:');"><img src="http://forum.ea.com/uk/images/smilies/8a80c6485cd926be453217d59a84a888.gif" /></a></td>
<td><a href="javascript:emoticon(':!:');"><img src="http://forum.ea.com/uk/images/smilies/9293feeb0183c67ea1ea8c52f0dbaf8c.gif" /></a></td>
<td><a href="javascript:emoticon(':?');"><img src="http://forum.ea.com/uk/images/smilies/136dd33cba83140c7ce38db096d05aed.gif" /></a></td>
<td><a href="javascript:emoticon(':idea:');"><img src="http://forum.ea.com/uk/images/smilies/8f7fb9dd46fb8ef86f81154a4feaada9.gif" /></a></td>
</tr>

<tr align="center">
<td colspan="4">
<span class="nav"><a href="#" onclick="smiliePopup();return false;">More smilies</a></span>

</td>
</tr>
</table>
</td>
</tr>
</table>
</td>

<!-- BB Codes, textarea -->

<td class="row2" valign="top">
<div class="gen">
<table cellspacing="0" cellpadding="2" border="0" width="100%">
<!-- bb code -->
<tr valign="middle">
<td class="bbcode-tags">
<input class="button bbcode-tag-bold" onmouseover="helpline('b')" style="FONT-WEIGHT: bold; WIDTH: 30px" accesskey="b" onclick="bbstyle(0)" type="button" value=" B " name="addbbcode0" />
<input class="button bbcode-tag-italics" onmouseover="helpline('i')" style="WIDTH: 30px; FONT-STYLE: italic" accesskey="i" onclick="bbstyle(2)" type="button" value=" i " name="addbbcode2" />
<input class="button bbcode-tag-underline" onmouseover="helpline('u')" style="WIDTH: 30px; TEXT-DECORATION: underline" accesskey="u" onclick="bbstyle(4)" type="button" value=" u " name="addbbcode4" />
<input class="button bbcode-tag-centeralignment" onmouseover="helpline('j')" style="WIDTH: 60px" accesskey="j" onclick="bbstyle(24)" type="button" value=" Center " name="addbbcode24" />

<input class="button bbcode-tag-quote" onmouseover="helpline('q')" style="WIDTH: 50px" accesskey="q" onclick="bbstyle(6)" type="button" value="Quote" name="addbbcode6" />
<input class="button bbcode-tag-code" onmouseover="helpline('c')" style="WIDTH: 40px" accesskey="c" onclick="bbstyle(8)" type="button" value="Code" name="addbbcode8" />
<input class="button bbcode-tag-list" onmouseover="helpline('l')" style="WIDTH: 40px" accesskey="l" onclick="bbstyle(10)" type="button" value="List" name="addbbcode10" />
<input class="button bbcode-tag-img" onmouseover="helpline('p')" style="WIDTH: 40px" accesskey="p" onclick="bbstyle(12)" type="button" value="Img" name="addbbcode12" />
<input class="button bbcode-tag-url" onmouseover="helpline('w')" style="WIDTH: 40px" accesskey="w" onclick="bbstyle(14)" type="button" value="URL" name="addbbcode14" />
<input class="button bbcode-tag-google" onmouseover="helpline('g')" style="WIDTH: 50px" accesskey="g" onclick="bbstyle(16)" type="button" value="Google" name="addbbcode16" />
<input class="button bbcode-tag-youtube" onmouseover="helpline('y')" style="WIDTH: 60px" accesskey="y" onclick="bbstyle(18)" type="button" value="Youtube" name="addbbcode18" />
<input class="button bbcode-tag-flash" onmouseover="helpline('k')" style="WIDTH: 40px" accesskey="k" onclick="bbstyle(20)" type="button" value="Flash" name="addbbcode20" />
<input class="button bbcode-tag-wmv" onmouseover="helpline('v')" style="WIDTH: 40px" accesskey="v" onclick="bbstyle(22)" type="button" value="WMV" name="addbbcode22" />

</td>
</tr>

<!-- Color, Fonts -->
<tr>
<td>
<span class="genmed">&nbsp;Text Color:
<select id="bbCodeTextColor" name="addbbcode24">
<option class="genmed" style="COLOR: black; BACKGROUND-COLOR: #fafafa" value="#444444" selected="selected">Default</option>
<option class="genmed" style="COLOR: darkred; BACKGROUND-COLOR: #fafafa" value="darkred">Dark Red</option>
<option class="genmed" style="COLOR: red; BACKGROUND-COLOR: #fafafa" value="red">Red</option>
<option class="genmed" style="COLOR: orange; BACKGROUND-COLOR: #fafafa" value="orange">Orange</option>
<option class="genmed" style="COLOR: brown; BACKGROUND-COLOR: #fafafa" value="brown">Brown</option>
<option class="genmed" style="COLOR: yellow; BACKGROUND-COLOR: #fafafa" value="yellow">Yellow</option>
<option class="genmed" style="COLOR: green; BACKGROUND-COLOR: #fafafa" value="green">Green</option>
<option class="genmed" style="COLOR: olive; BACKGROUND-COLOR: #fafafa" value="olive">Olive</option>
<option class="genmed" style="COLOR: cyan; BACKGROUND-COLOR: #fafafa" value="cyan">Cyan</option>
<option class="genmed" style="COLOR: blue; BACKGROUND-COLOR: #fafafa" value="blue">Blue</option>
<option class="genmed" style="COLOR: darkblue; BACKGROUND-COLOR: #fafafa" value="darkblue">Dark Blue</option>
<option class="genmed" style="COLOR: violet; BACKGROUND-COLOR: #fafafa" value="violet">Violet</option>
<option class="genmed" style="COLOR: white; BACKGROUND-COLOR: #fafafa" value="white">White</option>

<option class="genmed" style="COLOR: black; BACKGROUND-COLOR: #fafafa" value="black">Black</option>
</select>

&nbsp;Font:
<select onmouseover="helpline('f')" onchange="bbfontstyle('', '')" name="addbbcode26">
<option class="genmed" value="7">Very Small</option>
<option class="genmed" value="9">Small</option>
<option class="genmed" value="12" selected="selected">Normal</option>
<option class="genmed" value="18">Big</option>
<option class="genmed" value="24">Giant</option>

</select>
</span>
<span class="gensmall"><a class="genmed" onmouseover="helpline('a')" href="javascript:bbstyle(-1)">Close Marks</a></span>
</td>
</tr>

<!-- Help box -->
<tr>
<td>

<input name="helpbox" class="helpline" readonly="readonly" style="FONT-SIZE: 10px; WIDTH: 100%" value="Tip: Styles may be quickly applied to selected text" size="45" maxlength="100" />
</td>
</tr>

<!-- Textarea -->
<tr>
<td valign="top">
<textarea class="message" onkeyup="storeCaret(this);" onclick="storeCaret(this);" onselect="storeCaret(this);" tabindex="3" name="message" rows="15" cols="35"></textarea>
</td>
</tr>

</table>
</div>
</td>
</tr>

<!-- Options -->
<tr>
<td class="row1">&nbsp;</td>
<td class="row2">
<div id="tabs10">

<ul>
<li target="postOptions" class="current"><a href="javascript:void(0);" onClick="activateTab('postOptions', this);"><span>Options</span></a></li>

</ul>
</div>

<!-- Post Options -->
<div id="postOptions" class="postTabContents">
<div>

<table cellspacing="0" cellpadding="1" border="0" class="genmed">
<tr>
<td><input type="checkbox" id="disable_html" name="disable_html" checked="checked" /></td>
<td><label for="disable_html">Disable HTML in this message</label></td>
</tr>
<tr>
<td><input type="checkbox" id="disable_bbcode" name="disable_bbcode" /> </td>
<td><label for="disable_bbcode">Disable BB Code in this message</label></td>

</tr>
<tr>
<td><input type="checkbox" id="disable_smilies" name="disable_smilies" /> </td>
<td><label for="disable_smilies">Disable smilies in this message</label></td>
</tr>

<tr>
<td><input type="checkbox" id="attach_sig" name="attach_sig" checked="checked" /> </td>

<td><label for="attach_sig">Append Signature ( Signatures can be modified on "My Profile" page )</label></td>
</tr>


<input type="hidden" name="topic_type" value="0" />
</table> </div>
</div>

<!-- Poll tab -->
</td>

</tr>




<tr>
<td align="center" height="28" colspan="2" class="catbottom">
<input class="mainoption" id="btnPreview" tabindex="5" type="button" value="Preview" onclick="previewMessage();" />&nbsp;
<input class="mainoption" id="btnSubmit" accesskey="s" tabindex="6" type="submit" value="Submit" name="post" />
<img src="http://cdn.forum.ea.com/uk/images/transp.gif?v2.25.1" id="icon_saving">
</td>

</tr>
</table>
</td>
</tr>

</table>

<script type="text/javascript">
<!--


-->
</script>

</form>

<script type="text/javascript">
$(function () {
colorChoice = $("#bbCodeTextColor");

colorChoice.change(function () {
colorChoiceSelected = $("#bbCodeTextColor option:selected").val();
bbfontstyle('[color=' + colorChoiceSelected + ']', '[/color]');
});

colorChoice.mouseover(function () {
helpline('s');
});
});

</script>

<!-- SyntaxHighlighter 1.5.1 -->
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shCore.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushJava.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushCpp.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushCSharp.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushDelphi.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushJScript.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushPhp.js?v2.25.1"></script>

<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushPython.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushRuby.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushSql.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushVb.js?v2.25.1"></script>
<script type="text/javascript" src="http://cdn.forum.ea.com/uk/templates/default/js/shBrushXml.js?v2.25.1"></script>
<script type="text/javascript">
<!--
dp.sh.ClipboardSwf = '/uk/templates/default/js/clipboard.swf';
dp.sh.HighlightAll('code');
-->
</script> </td>
</tr>
<tr>

<td align="center">

</td>
</tr>
<tr>
<td align="center"><!--LEAVE THIS &nbsp; AS IT IS-->&nbsp;</td>
</tr>
</tbody>
</table>
<!-- end of table with FORUM content-->

</td>
<td class="mainBorder"><img src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/spacer.gif?v2.25.1" class="mainBorderSp"></td>
</tr>
</table>
<table id="footerTable" width="970" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="mainFooter" align="center"></td>
</tr>
</table>

</div>
<br/>

<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1567343-9']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- End Google Analytics -->
<!-- EA Footer -->


<!-- EA Footer -->
<div id="footer">
<div class="utilityBar">
<h4><a class="pngFix" href="http://www.eagames.co.uk" title="Home">Electronic Arts</a></h4>

</div>
<div id="ea_global_footer">
<dl>
<dt>Popular Platforms</dt>
<dd><a href="http://www.ea.com/uk/pc">PC</a></dd>
<dd><a href="http://www.ea.com/uk/xbox-360">Xbox 360</a></dd>
<dd><a href="http://www.ea.com/uk/ps3">PS3</a></dd>

<dd><a href="http://www.ea.com/uk/psp">PSP</a></dd>
<dd><a href="http://www.ea.com/uk/wii">Wii</a></dd>
<dd><a href="http://www.ea.com/uk/iphone">iPhone</a></dd>
<dd><a href="http://www.ea.com/uk/ipad">iPad</a></dd>
<dd><a href="http://www.ea.com/uk/mac">Mac</a></dd>
</dl>

<dl>
<dt>Popular Genres</dt>
<dd><a href="http://www.ea.com/uk/action">Action & Adventure</a></dd>
<dd><a href="http://www.ea.com/uk/kids">Kids</a></dd>
<dd><a href="http://www.ea.com/uk/puzzle">Puzzle</a></dd>
<dd><a href="http://www.ea.com/uk/racing">Racing</a></dd>

<dd><a href="http://www.ea.com/uk/rpg">RPG</a></dd>
<dd><a href="http://www.ea.com/uk/shooting">Shooting</a></dd>
<dd><a href="http://www.ea.com/uk/simulation">Simulation</a></dd>
<dd><a href="http://www.easports.co.uk">Sports</a></dd>
</dl>
<dl>
<dt>EA</dt>

<dd><a href="http://www.ea.com/uk/"}>EA in the UK</a></dd>
<dd><a href="http://www.ea.com/uk/news"}>Latest EA News</a></dd>
<dd><a href="http://www.easports.co.uk/"}>EA SPORTS</a></dd>
<dd><a href="http://www.easportsfootball.co.uk/"}>Football World</a></dd>
<dd><a href="http://gb.thesims3.com/"}>The Sims 3</a></dd>
<dd><a href="http://www.easports.co.uk/fifa"}>FIFA</a></dd>

<dd><a href="http://www.needforspeed.com/en_GB"}>Need for Speed</a></dd>
<dd><a href="http://www.ea.com/uk/1/play-free-games"}>Play Free Games</a></dd>
<dd><a href="http://www.ea.com/uk/pwned"}>PWNED</a></dd>
<dd><a href="http://www.origin.com/uk"}>Origin</a></dd>
</dl>
<dl>
<dt>Help</dt>

<dd><a href="http://help.ea.com/uk/">Support</a></dd>
<dd><a href="http://forum.ea.com/uk/categories/show/10.page">FIFA Forums</a></dd>
<dd><a href="http://forums.electronicarts.co.uk/sims-series/">The Sims Forums</a></dd>
<dd><a href="http://games.ea.com/information.jsp">Online Service Updates</a></dd>
<dd><a href="http://help.ea.com/uk/tag/patches ">Patches and Updates</a></dd>
<dd><a href="http://help.ea.com/uk/tag/billing">Billing</a></dd>

</dl>
<div class="highlight">
<h2>Highlighted Game</h2>
<a title="Need For Speed The Run" href="">
<img class="main" alt="" src="http://web-vassets.ea.com/Assets/Richmedia/Image/NFS-The-Run-Highlighted-Image_262x75.jpg"/>
</a>
<h4><a title="Need For Speed The Run" href="">Need For Speed The Run</a></h4>

<ul class="platforms">
<li>Nintendo 3DS</li>
<li>Xbox 360</li>
<li>PlayStation 3</li>
<li>Nintendo Wii</li>
<li class="last">PC</li>

</ul>

<p class="desc">

It&rsquo;s called The Run. An illicit, high-stakes race across the country. The only way to get your life back is to be the first from San Francisco to New York.

No speed limits. No rules. No alli...
</p>
</div>
</div>

<div id="ea-footerLinks">
<div id="ea_corporate_links">

<ul>

<li><a href="http://www.ea.com/uk/page/about-ea">About EA</a></li>
<li><a href="http://jobs.ea.com/">Jobs at EA</a></li>
<li><a href="http://tos.ea.com/legalapp/WEBPRIVACY/UK/en/PC/">Privacy Policy</a></li>
<li><a href="http://tos.ea.com/legalapp/WEBTERMS/US/en/PC/">Terms of Service</a></li>
<li><a href="http://www.ea.com/1/legal-notices">Legal Notices</a></li>

<li><a href="http://www.ea.com/uk/sitemap">Sitemap</a></li>
<li><a href="http://www.ea.com/uk/1/online-safety">Online Safety</a></li>
</ul>
<p class="legal">&#169; 2011 Electronic Arts Inc. All Rights Reserved.</p>
<br/>
<p class="legal">
<a href="http://www.pegionline.eu/validate/7">

<img src="http://web-vassets.ea.com/Assets/Richmedia/UK_PEGI.png" alt="UK_PEGI.png"/>
</a>
</p>
</div>
<div class="logosFooterESRB"><a href="http://www.esrb.org/index-js.jsp"><img id="esrbLogo" src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/ESRBlogo.gif?v2.25.1"/></a></div>
<div class="logosFooterEA"><a href="http://www.eagames.co.uk"><img alt="EA Video Games" src="http://cdn.forum.ea.com/uk/templates/default/skins/en_GB/en_GB_default/images/logo_EA.png?v2.25.1"/></a></div>
</div>
</div>
<!-- End EAFooter -->

<!--[if lte IE 6]>
<script type="text/javascript" src="/uk/templates/default/ea/js/DD_belatedPNG_0.0.7a-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('.pngFix');
</script>
<![endif]-->


<br/>


<div id="omnitureWrapper" style="display:none;">
<!-- SiteCatalyst code version: H.15.1 //code version
Copyright 1997-2005 Omniture, Inc. More info available at <a href="http://www.omniture.com">http://www.omniture.com</a> -->
<script language="JavaScript" src="http://resources.ea.com/omniture/utils.js"></script>//host code
<script language="javascript"><!--
/* Specify the Report Suite ID(s) to track here */
var s_account=omniCheckHost("eaeacom,eaeacomeu,eaproducteaforumuk");
var s_imageDisableFlag=0
//-->
</script>
<script language="JavaScript" src="http://resources.ea.com/omniture/s_code_remote_v02.js"></script>
<script language="JavaScript">
<!--
/* You may give each page an identifying name, server, and channel on
the next lines. */
s_ea.pageName="EMEA:GB:EA:NONE:FORUM:NONE:FORUM:NONE:PRIVATEMESSAGES"
s_ea.prop1=s_ea.setUserState('2440299920')
s_ea.prop2="NONE"
s_ea.prop3="EA"
s_ea.prop4="NONE"
s_ea.prop5="FORUM"
s_ea.prop7="NONE"
s_ea.prop9="FORUM"
s_ea.prop10="PRIVATEMESSAGES"
s_ea.prop11="EMEA"
s_ea.prop12="en_GB"
s_ea.prop15="Forum"
s_ea.prop17="GB"
s_ea.prop18="GB:FORUM"

/* E-commerce Variables */
s_ea.eVar1="2440299920"
s_ea.eVar3="FORUM"
s_ea.eVar17="GB"
s_ea.eVar18="EMEA"
s_ea.eVar29=s_ea.setInitValOnce('GB:FORUM:NONE');
s_ea.eVar30="GB:FORUM:NONE"
s_ea.eVar34="EA"

/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
if((s_imageDisableFlag == null) || (typeof (s_imageDisableFlag) == 'undefined') || (!s_imageDisableFlag)){
var s_code=s_ea.t();if(s_code)document.write(s_code)
}//--></script>
<!-- End SiteCatalyst code version: H.0. -->

<script language="javascript" type="text/javascript" src="http://resources.ea.com/omniture/omniture_wrapper.js"></script>

</div>
<script type="text/javascript"> var cbjspath = "static.chartbeat.com/js/chartbeat.js?uid=3788&domain=forum_uk.ea.com"; var cbjsprotocol = (("https:" == document.location.protocol) ? "https://s3.amazonaws.com/" : "http://"); document.write(unescape("%3Cscript src='"+cbjsprotocol+cbjspath+"' type='text/javascript'%3E%3C/script%3E")) </script><!-- Chartbeat -->

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24818380-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>


<iframe src="/uk/ping_session.jsp" height="0" width="0" frameborder="0" scrolling="no"></iframe>
</body>
</html>
<!-- Server: 100 -->
<!-- Rendered in: 38 ms -->

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

Right.
Inside that page is a form.
The action on the form says action="/uk/jforum.page"
...which will need to be converted to the full URI in your code starting with "http"
It has a bunch of variables
action=sendSave
module=pm
preview=0
bunker=
request_hash=
start=
toUserNaame=EvilGearPL
toUserId=100
subject={some subject goes here}
message={message body goes here} // will need to be converted to query-string allowable text


You will need to experiment to find which variables are optional.
So, using the same technique mentioned earlier, you can do the same thing.

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

i wouldnt have a clue fella =/ do u know any guide sites i can start learnings http reqesting and posting?

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

Actually, you can use my example and substitute in the names of the variables (and the URI).
You can use just the function with the WebClient to do this particular submission.

I only put in both methods for reference.

thines01
Postaholic
Team Colleague
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
 

in your code there is no commands to replace HTML comments, u added variables into the URL but im really needing to change the HTML so i can add value to source.

daydie
Junior Poster in Training
68 posts since Jan 2012
Reputation Points: 22
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You