Raised This Month: $51 Target: $400
 12% 

{REQ} web compilier online


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cs-portal
BANNED
Join Date: Dec 2009
Location: Kiev
Old 06-13-2010 , 15:57   {REQ} web compilier online
Reply With Quote #1

I need webcompilier like on amxmodx.org or so
I have some rip but i need full source.
is it possible to get it ?
cs-portal is offline
Send a message via ICQ to cs-portal Send a message via Skype™ to cs-portal
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 06-13-2010 , 16:08   Re: {REQ} web compilier online
Reply With Quote #2

?

U wanna get webcompilers source?
__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave is offline
DIREKTOR
Senior Member
Join Date: Jan 2010
Location: On server
Old 06-13-2010 , 16:37   Re: {REQ} web compilier online
Reply With Quote #3

yes it's possible i saw few web sites hvaing it . if you make it Instal Lots of includes in it and give me link
__________________
Quote:
Originally Posted by KadiR View Post
Learn the fucking server rules you idiot.
DIREKTOR is offline
Send a message via MSN to DIREKTOR
MrMaCEEE
Senior Member
Join Date: Apr 2010
Location: PortugaL
Old 06-13-2010 , 17:41   Re: {REQ} web compilier online
Reply With Quote #4

Quote:
Originally Posted by cs-portal View Post
I need webcompilier like on amxmodx.org or so
I have some rip but i need full source.
is it possible to get it ?
post this in another forum :S

This is to post about amxx plugins requests or helps
not about webdeveloper
__________________

#include ++ by MACE
MrMaCEEE is offline
Send a message via MSN to MrMaCEEE
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-13-2010 , 20:20   Re: {REQ} web compilier online
Reply With Quote #5

Search, it has been asked before and and linked to. dvander also released the source
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fiodor
Member
Join Date: Mar 2010
Location: Poland
Old 06-15-2010 , 08:57   Re: {REQ} web compilier online
Reply With Quote #6

check this:

PHP Code:
<?php
if ($_POST['go'])
{
function 
createPostString($aPostFields) {
    foreach (
$aPostFields as $key => $value) {
        
$aPostFields[$key] = urlencode($key) . '=' urlencode($value);
    }
    return 
implode('&'$aPostFields);
}
$postFields['fname'] = $_POST['fname'];
$postFields['scode'] = $_POST['scode'];
$postFields['go'] = 'send';
$ch curl_init('http://amxmodx.org/webcompiler.cgi');
curl_setopt($chCURLOPT_RETURNTRANSFER1);
curl_setopt($chCURLOPT_USERAGENT'Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3');
curl_setopt($chCURLOPT_POSTFIELDScreatePostString($postFields));
$tresc curl_exec($ch);
if (
curl_errno($ch))
    echo 
'Blad #' curl_errno($ch) . ': ' curl_error($ch);
curl_close($ch);
if (
strpos($tresc"Your plugin successfully compiled!"))
{
        
$tresc substr($trescstrpos($tresc"http://www.amxmodx.org/webcompiler.cgi?"));
        
$ile strpos($tresc"</a>");
        
$link substr($tresc0$ile);
        
$tresc substr($trescstrpos($tresc"Welcome to the AMX Mod X"));
        
$ile strpos($tresc"</pre>");
        
$inf substr($tresc0$ile);
        
$inf str_replace("\r\n","<br/ >"$inf);
        echo 
'Click <b>The following</b>, to download plugin:<br />
        <a href="'
.$link.'"><b>Download</b></a><br />
        <pre>'
.$inf.'</pre>';
} else
{
        
$ktory strpos($tresc"Your plugin failed to compile");
        
$tresc substr($tresc$ktory 63);
        
$ile strpos($tresc"</pre>");
        
$tresc substr($tresc0$ile);
        echo 
'Can'<b>Compile</bplugin.<br /> Error:<br />'.$tresc;
}
} else
{
echo '
<ul>
<
form action="kompilator.php" method="post" >
<
br />
Nazwa pluginu : <input type="text" name="fname" size="15"><b>.amxx</b><br />
<
br />
<
br>Kod pluginu (Open the notepad file <b>*.sma</bi paste here):

<
br />
<
textarea name="scode" rows="30" cols="100" TITLE="Here paste Plugin Source"></textarea><br />
<
br />
<
input type="hidden" name="go" value="1">
<
input type="submit" value="Compile">
</
form>
<
ul>';
}
?>
written the fast, so... maybe be problems: P
Attached Files
File Type: gz kompilator.tar.gz (1.0 KB, 67 views)
__________________

Last edited by fiodor; 06-16-2010 at 11:05.
fiodor is offline
C.H.U.D.
BANNED
Join Date: Apr 2008
Location: Long Island, NY
Old 06-15-2010 , 09:52   Re: {REQ} web compilier online
Reply With Quote #7

Quote:
Originally Posted by MrMaCEEE View Post
post this in another forum :S

This is to post about amxx plugins requests or helps
not about webdeveloper
S.T.F.U.

Let the staff tell him what to do, Its not your job.
C.H.U.D. is offline
VMAN
Senior Member
Join Date: Oct 2007
Location: California, US
Old 06-16-2010 , 02:53   Re: {REQ} web compilier online
Reply With Quote #8

Quote:
Originally Posted by fiodor View Post
check this:

PHP Code:
<?php
if ($_POST['go'])
{
function 
createPostString($aPostFields) {
    foreach (
$aPostFields as $key => $value) {
        
$aPostFields[$key] = urlencode($key) . '=' urlencode($value);
    }
    return 
implode('&'$aPostFields);
}
$postFields['fname'] = $_POST['fname'];
$postFields['scode'] = $_POST['scode'];
$postFields['go'] = 'send';
$ch curl_init('http://amxmodx.org/webcompiler.cgi');
curl_setopt($chCURLOPT_RETURNTRANSFER1);
curl_setopt($chCURLOPT_USERAGENT'Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3');
curl_setopt($chCURLOPT_POSTFIELDScreatePostString($postFields));
$tresc curl_exec($ch);
if (
curl_errno($ch))
    echo 
'Blad #' curl_errno($ch) . ': ' curl_error($ch);
curl_close($ch);
if (
strpos($tresc"Your plugin successfully compiled!"))
{
        
$tresc substr($trescstrpos($tresc"http://www.amxmodx.org/webcompiler.cgi?"));
        
$ile strpos($tresc"</a>");
        
$link substr($tresc0$ile);
        
$tresc substr($trescstrpos($tresc"Welcome to the AMX Mod X"));
        
$ile strpos($tresc"</pre>");
        
$inf substr($tresc0$ile);
        
$inf str_replace("\r\n","<br/ >"$inf);
        echo 
'Click <b>The following</b>, to download plugin:<br />
        <a href="'
.$link.'"><b>Download</b></a><br />
        <pre>'
.$inf.'</pre>';
} else
{
        
$ktory strpos($tresc"Your plugin failed to compile");
        
$tresc substr($tresc$ktory 63);
        
$ile strpos($tresc"</pre>");
        
$tresc substr($tresc0$ile);
        echo 
'Can'<b>Compile</bplugin.<br /> Error:<br />'.$tresc;
}
} else
{
echo '
<ul>
<
form action="kompilator.php" method="post" >
<
br />
Nazwa pluginu : <input type="text" name="fname" size="15"><b>.amxx</b><br />
<
br />
<
br>Kod pluginu (Open the notepad file <b>*.sma</bi paste here):

<
br />
<
textarea name="scode" rows="30" cols="100" TITLE="Here paste Plugin Source"></textarea><br />
<
br />
<
input type="hidden" name="go" value="1">
<
input type="submit" value="Compile">
</
form>
<
ul>';
}
?>
written the fast, so... may be problems: P
LOL, genius!
__________________
VMAN is offline
fiodor
Member
Join Date: Mar 2010
Location: Poland
Old 06-16-2010 , 11:05   Re: {REQ} web compilier online
Reply With Quote #9

Quote:
Originally Posted by VMAN View Post
LOL, genius!
Thanks
__________________
fiodor is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 00:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode