<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Auto Post Using Javascript</title>
	<atom:link href="http://www.leoganda.net/auto-post-using-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leoganda.net/auto-post-using-javascript/</link>
	<description></description>
	<lastBuildDate>Sat, 12 Jun 2010 09:59:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jay</title>
		<link>http://www.leoganda.net/auto-post-using-javascript/comment-page-1/#comment-47</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Fri, 12 Mar 2010 07:36:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.leoganda.net/?p=51#comment-47</guid>
		<description>Yeah I get you, pretty nifty. I was interested in the function subm() {
document.getElementById(&#039;paypal&#039;).submit();
attribute as I&#039;ve got a bot that needs to retrieve sports statistics from a form based DB. 

I&#039;m tiring to get it to post the info from a temp file then auto submit, wait then with either jquery or cURL retrieve the stats info then store in temp dump for further data manipulation. 

The challenge for me is getting the php and java to operate with each other as I&#039;m not as confident with java as I am with php. Thanks for the tutorial, it may come in handy some day.</description>
		<content:encoded><![CDATA[<p>Yeah I get you, pretty nifty. I was interested in the function subm() {<br />
document.getElementById(&#8216;paypal&#8217;).submit();<br />
attribute as I&#8217;ve got a bot that needs to retrieve sports statistics from a form based DB. </p>
<p>I&#8217;m tiring to get it to post the info from a temp file then auto submit, wait then with either jquery or cURL retrieve the stats info then store in temp dump for further data manipulation. </p>
<p>The challenge for me is getting the php and java to operate with each other as I&#8217;m not as confident with java as I am with php. Thanks for the tutorial, it may come in handy some day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leoganda</title>
		<link>http://www.leoganda.net/auto-post-using-javascript/comment-page-1/#comment-46</link>
		<dc:creator>leoganda</dc:creator>
		<pubDate>Thu, 11 Mar 2010 00:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.leoganda.net/?p=51#comment-46</guid>
		<description>Actually the Javascript here works only for autosubmit the form named paypal on post.php

So the idea is visitor input the data on index.php, then data posted to post.php, we do storing data to database in here. Once its done it will run the javascript automatically.

Look for this code at post.php &lt;body  onload=&quot;timer=setTimeout(&#039;subm()&#039;,2500)&quot;&gt;
When the body onload, it will trigger the subm() function with after waiting 2500milisecond.</description>
		<content:encoded><![CDATA[<p>Actually the Javascript here works only for autosubmit the form named paypal on post.php</p>
<p>So the idea is visitor input the data on index.php, then data posted to post.php, we do storing data to database in here. Once its done it will run the javascript automatically.</p>
<p>Look for this code at post.php <body onload="timer=setTimeout('subm()',2500)"><br />
When the body onload, it will trigger the subm() function with after waiting 2500milisecond.</body></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.leoganda.net/auto-post-using-javascript/comment-page-1/#comment-45</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Wed, 10 Mar 2010 15:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.leoganda.net/?p=51#comment-45</guid>
		<description>Just realized by changing mysql_select_db(“javascriptpost”, $con);
to mysql_select_db(” name of database here “, $con); I&#039;ve essentially dropped java autoposting which defeats the purpose of running this script, could you enlighten me on how to run the java snippet at the top of this tutorial as it wouldn&#039;t allow me to connect when ran as (“javascriptpost”, $con) , thanks.</description>
		<content:encoded><![CDATA[<p>Just realized by changing mysql_select_db(“javascriptpost”, $con);<br />
to mysql_select_db(” name of database here “, $con); I&#8217;ve essentially dropped java autoposting which defeats the purpose of running this script, could you enlighten me on how to run the java snippet at the top of this tutorial as it wouldn&#8217;t allow me to connect when ran as (“javascriptpost”, $con) , thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.leoganda.net/auto-post-using-javascript/comment-page-1/#comment-44</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Wed, 10 Mar 2010 14:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.leoganda.net/?p=51#comment-44</guid>
		<description>Interesting script, it took me a while to figure out the MySQL connect as I failed to change mysql_select_db(&quot;javascriptpost&quot;, $con);
to mysql_select_db(&quot; name of database here &quot;, $con);

Also one has to change the $con = mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot; your password &quot;);
to $con = mysql_connect(&quot;localhost&quot;,&quot; your database user name &quot;,&quot; your password &quot;);

Also one needs to edit the name=&quot;business&quot; value=&quot;your-email@email.com&quot; to your own merchant - vender email account for the correct thoroughfare, aprt from this it&#039;s smooth sailing.</description>
		<content:encoded><![CDATA[<p>Interesting script, it took me a while to figure out the MySQL connect as I failed to change mysql_select_db(&#8220;javascriptpost&#8221;, $con);<br />
to mysql_select_db(&#8221; name of database here &#8220;, $con);</p>
<p>Also one has to change the $con = mysql_connect(&#8220;localhost&#8221;,&#8221;root&#8221;,&#8221; your password &#8220;);<br />
to $con = mysql_connect(&#8220;localhost&#8221;,&#8221; your database user name &#8220;,&#8221; your password &#8220;);</p>
<p>Also one needs to edit the name=&#8221;business&#8221; value=&#8221;your-email@email.com&#8221; to your own merchant &#8211; vender email account for the correct thoroughfare, aprt from this it&#8217;s smooth sailing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
