<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; PHP + AHK = ?]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=5867</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5867&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «PHP + AHK = ?».]]></description>
		<lastBuildDate>Thu, 02 Jun 2011 09:08:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: PHP + AHK = ?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48898#p48898</link>
			<description><![CDATA[<p>мой логин говорит за меня <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> <br />сейчас попробуем. спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (Lamer)]]></author>
			<pubDate>Thu, 02 Jun 2011 09:08:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48898#p48898</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP + AHK = ?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48895#p48895</link>
			<description><![CDATA[<p>А ты не пробовал использовать </p><div class="codebox"><pre><code>php devel studio</code></pre></div><p>для написания оболочки или же GUI для ПХП? Ведь это будет проще <img src="//forum.script-coding.com/img/smilies/big_smile.png" width="15" height="15" /><br />З.ы. Интересен тоже вопрос, т.к. хочу тоже кое какие скрипты совместить <img src="//forum.script-coding.com/img/smilies/tongue.png" width="15" height="15" /></p>]]></description>
			<author><![CDATA[null@example.com (DaVinchi)]]></author>
			<pubDate>Thu, 02 Jun 2011 08:41:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48895#p48895</guid>
		</item>
		<item>
			<title><![CDATA[PHP + AHK = ?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=48893#p48893</link>
			<description><![CDATA[<p>Здравствуйте. У меня возникла такая проблема: надо как-то совместить скрипт на PHP и оболочку на AHK. Да так, чтобы данные, введённые в оболочку заменяли переменные в крипте.<br /> Каким образом мне это сделать? И возможно ли это вообще? </p><p>Вот тот самый php-скрипт:<br /></p><div class="codebox"><pre><code>&lt;?php
 
$mail = &quot;qweqwe@mail.ru&quot;; 
$pass = &quot;zxczxc&quot;; 
$title = &quot;RE1&quot;; 
$text = &quot;text&quot;; 
$sleep = &quot;2&quot;;
 
$res=file_get_contents(&#039;http://login.vk.com/?act=login&amp;email=&#039;.urlencode($mail).&#039;&amp;pass=&#039;.urlencode($pass));
preg_match(&quot;/value=\&#039;(.*?)\&#039;/&quot;,$res,$sid);
 
$ch=curl_init(&quot;http://vkontakte.ru/market.php?act=view&amp;id=34216894&quot;);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_COOKIE,&quot;remixsid=$sid[1]&quot;);
 
$res=curl_exec($ch); 
curl_close($ch);
 
preg_match(&quot;/chas\&quot; value=\&quot;(.*?)\&quot;/&quot;,$res,$hash);
$hash=substr($hash[1],-5).substr($hash[1],4,-8);
$hash=strrev($hash);
 
$title=iconv(&#039;cp1251&#039;,&#039;utf-8&#039;,&quot;$title&quot;);
$text=iconv(&#039;cp1251&#039;,&#039;utf-8&#039;,&quot;$text&quot;);
 
while(1) {
 
$ch=curl_init(&quot;http://vkontakte.ru/mail.php&quot;);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,&quot;item_id=5084178&amp;chas=$hash&amp;to_id=2943&amp;act=sent&amp;title=$title&amp;message=$text&quot;);
curl_setopt($ch, CURLOPT_COOKIE,&quot;remixsid=$sid[1]&quot;);
 
$res=curl_exec($ch); 
curl_close($ch);
 
print iconv(&#039;cp1251&#039;,&#039;866&#039;,&quot;$res\n&quot;);
 
sleep($sleep);
 
}
 
?&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Lamer)]]></author>
			<pubDate>Thu, 02 Jun 2011 08:22:01 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=48893#p48893</guid>
		</item>
	</channel>
</rss>
