Waraxe IT Security Portal
Login or Register
November 2, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 59
Members: 0
Total: 59
Full disclosure
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
APPLE-SA-10-28-2024-3 macOS Sequoia 15.1
APPLE-SA-10-28-2024-2 iOS 17.7.1 and iPadOS 17.7.1
APPLE-SA-10-28-2024-1 iOS 18.1 and iPadOS 18.1
Open Redirect / Reflected XSS - booked-schedulerv2.8.5
SEC Consult SA-20241024-0 :: Unauthenticated Path Traversal Vulnerability in Lawo AG - vsm LTC Time Sync (vTimeSync) (CVE-2024-6049)
[RESEARCH] DTLS 'ClientHello' Race Conditions in WebRTCImplementations
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> How to decode this base64 file?
Post new topicReply to topic View previous topic :: View next topic
How to decode this base64 file?
PostPosted: Fri Oct 23, 2009 6:51 pm Reply with quote
ymys
Beginner
Beginner
Joined: Oct 23, 2009
Posts: 1




Hello, I'm newbie here..
Please, I need advise how to decode this file (and others)?

<?php
$OOO0O0O00=__FILE__;$O00O00O00=__LINE__;$OO00O0000=7984;eval((base64_decode('JE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO3doaWxlKC0tJE8wME8wME8wMClmZ2V0cygkTzAwME8wTzAwLDEwMjQpO2ZnZXRzKCRPMDAwTzBPMDAsNDA5Nik7JE9PMDBPMDBPMD0oYmFzZTY0X2RlY29kZShzdHJ0cihmcmVhZCgkTzAwME8wTzAwLDM3MiksJ0VudGVyeW91d2toUkhZS05XT1VUQWFCYkNjRGRGZkdnSWlKakxsTW1QcFFxU3NWdlh4WnowMTIzNDU2Nzg5Ky89JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));return;?>
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NtExhUn7eWPktWllC2ivwtw8col2wolLNBOldoa0cT4swolLwuOpcoyqwoOpfoasfBsidJEsNt9LDbC+wjSYtILkgBaSF2apcJILC291dmWINUExhbSYtILktUOZd3FINUELFmHsNMflfykvfZIpKX0htWLkkukvfzwINUELFmHZRT5mcbOUd3FPhTSYtILktBajDo8IwjxMDBaScuYlfe4JKX0htWLkcBYPdZEJNoxlc2aVctnpce12DBa3NlaJCBIIAukvcMlSNt9ScBfldMW+wjSkeWPktWLLd2kQOM9ZdU0+F2a0b0yjfolvdJIJC2aVfoaZRmnPFe9scB51NUwVko9JDlklFbalF3WsNMflfycidualhtkscB51wJLpKX0htWLkko9JDLcvFM0sNmYlfy9YcbOPd2WPwmnvF3WJhTSYtILktUOvCMpod3ksRT5zcbOgdMyscUIJDbYpCB4JhTSYtILktU8vko9JDLcvFM0sNmYlfy9ACbkmcbWPhTSYtILktUOvCMpod3ksRT5zfoyZfrcvFM0PhTSktWLYtILktUOzcBXINUnVcbFIcoyZD1OlGuOkdmn1ftIpKX0htWLkkuYldt0+F2a0TMyscUIJF2aSb29SctwpKX0htWLkkuYldt0+F2a0aMySfBAPkukvf1SJF2aSDbYpDtkfhTSYtILktUOzcBXsNmniC2swDBOLcB4PhTSYtILktWLLfokSwe0IdMa3woOiFMsACBkScUIpKX0htWLktUO0CMXsNlOiCMxlb1Y0Cbk0htfjcB50cbwmRtFmRtFmRtFmRtFmRewSHUXmkZXmkZXmfoyJcBXmhTSkeWPktWLktUO0CMXsNlkvf19TfoyZftIpKX0htWLktWLkkuOJdt0+W29Sb1Y0Cbk0heESHtXXReESwmkpc2i0wJL7eWPktWLktWllC2ivwtkKCB1iKJw7eWPktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktWLLfokSRT5ed2xgA3OiFmWPHtXXReESHtXJdoaMftwpKX0htWLktWLktUO0GuOkOtE9wo5lfZnLCbkqaoa4frlVFua0htL7eWPktWLktWLkkuO4frlrRT5zcbOKCB1lhtkVCB1iwJL7eWPktWLktWLkkuO4frlrRT5zcbOTDbplhewXhTSYtILktWLktWLLfui0UAWsNmYlfycidualhtOZd3fdwM5idBrJbUL7eWPktWLktWLkkuO4frlrRT5zcbOAd29SaolXhtkYCbY1D2sidJnKCB1iwJL7eWPktWLktWLkkuO4frlrRT5zcbOAGbnlhtknTynwWa9KaA1yALlewJL7eWPktWLktWLkkuO4frlrRT5XCBYqaoa4ftIpKX0htWLktWLkkuOJdt0+W29Sb0aVctIpKX0htWLktWLLfokSRT5Ud3fgOB5LhtL7tWLkeWPktWLktUO0CMXsNlkvf19TfoyZftIpKX0htWLktWLkkuOJdt0+W29Sb1Y0Cbk0heESHtXXReESwmkpc2i0wJL7eWPktWLktWllC2ivwtkaF2aZwrlrKJw7eWPktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktWLLfokSRT5ed2xgA3OiFmWPHtXXReESHtXJdoaMftwpKX0htWLktWLktUO0GuOkOtE9wo5lfZnLCbkqaoa4frlVFua0htL7eWPktWLktWLkkuO4frlrRT5zcbOKCB1lhtkpcy9scB1JcbwJhTSYtILktWLktWLLfui0UAWsNmYlfyYpGMAPHTEpKX0htWLktWLktUO0GuOkOt0+F2a0OolzCBkScBWPhTSYtILktWLktWLLfui0UAWsNmYlfycidualhtOZd3fdwMlLb21ldBklFJkfhTSYtILktWLktWLLfui0UAWsNmYlfyOvd2xADbEPwL1iF3aqD2yVwyazcbwIUAWJhTSYtILktWLktWLLfui0UAWsNmYlfyO5FoAPwLyHArinb05aTAaUUAHJhTSYtILktWLktWLLfui0UAWsNmniC2sAcbi0htL7eWPktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktUO0CMXsNlkvf19ydMWPhTSYtILktWLkkuOJdt0+AM93b1Y0Cbk0htL7eWPktWLktWLLfokSRT5ed2xgA3OiFmWPHtXXReESHtXJFMlmDuWJRtk0d3EJhTSYtILktWLktBajDo8IwL5vRJnwAePJKX0htWLktWLkkuOJdt0+W29Sb0aVctIpKX0htWLktWLkkuOJdt0+W29Sb1Y0Cbk0heESHtXXReESwMxlcmWJhTSYtILktWLktWLLfui0U2a0we0IdMa3woOiFMsAcbi0WbklCUIpKX0htWLktWLktUO0GuORcbWsNmYlfr5idBAPwM5vb2iXwJL7eWPktWLktWLkkuO4frslft0+F2a0aMySfBAPkukvfzkdHy0pKX0htWLktWLktUO0GuORcbWsNmYlfrYvduHPYeEpKX0htWLktWLktUO0GuORcbWsNmYlfyklCBOvdMx5huOZfBApKX0htWLktWLktUO0GuORcbWsNmYlfyOvd2xADbEPwL1iF3aqD2yVwr5vdB9ZwriWwJL7eWPktWLktWLkkuO4frslft0+FoyjD1OlGuWPhTSYtILktWLktUO0CMXsNLYvdy9ydMWPhTSYtILktWLktUO0CMXsNLYvdy9TfoyZftIXReESHtXXRtkScBc0wJXJfo9XwJL7eWPktWLktWLkRZ9lC2ivwtwswyOlD2yVwoaVfoaZwuaVfuaqwoxlCMlPwoOiFMLIF2y0fUnVd21vFJnwAtw7eWPktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktUO0CMXsNlkvf19ydMWPhTSYtILktWLkkuOJdt0+AM93b1Y0Cbk0htL7eWPktWLktWLLfokSRT5ed2xgA3OiFmWPHtXXReESHtXJFMlmDuWJRtk0d3EJhTSYtILktWLktWllC2ivwtkndoysCbW6wjSYtILktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktWLkkuOJdt0+W29Sb1Y0Cbk0heESHtXXReESwMxlcmWJhTSYtILktWLktWLkkuO4frslftE9wo5lfZnLCbkqaoa4fryZcBrPhTSYtILktWLktWLkkuO4frslft0+F2a0TMyscUIJCBxidBy0wJL7eWPktWLktWLktUO0GuORcbWsNmYlfycidualhtOZd3fdwMySCB1iftkfhTSYtILktWLktWLkkuO4frslft0+F2a0W29SFZI0HtL7eWPktWLktWLktUO0GuORcbWsNmYlfyOvd2xADbEPwL1iF3aqD2yVwrySCB1iftwpKX0htWLktWLktWLLfui0U2a0RT5XCBYqaoa4ftIpKX0htWLktWLkkuOJdt0+W29Sb0aVctIpKX0htWLktWLLfokSRT5Ud3fgOB5LhtL7eWPktWLktUO0CMXsNlkvf19TfoyZftIpKX0htWLktWLkkuOJdt0+W29Sb1Y0Cbk0heESHtXXReESwmkpc2i0wJXJfo9XwJL7eWPktWLktWllC2ivwtkWUA46wjSYtILktWLktUO0CMXsNLYvdy9ydMWPhTSYtILktWLktUO0CMXsNLYvdy9TfoyZftIXReESHtXXRtkScBc0wJL7eWPktWLktWLkkuO4fr5idBAINUnVcbFIcoyZD1OlGuOkdmn1ftIpKX0htWLktWLktUO0GuOKCB1lRT5zcbOKCB1lhtkXDB4JhTSYtILktWLktWLLfui0TMyscU0+F2a0aMySfBAPkukvf1SJFolVwl0pKX0htWLktWLktUO0GuOKCB1lRT5zcbOTDbplheWpKX0htWLktWLktUO0GuOKCB1lRT5zcbOYCbIPYtL7eWPktWLktWLkkuO4fr5idBAsNmYlfyOvd2xADbEPwL1iF3aqD2yVwr5vdB9ZwynkTJnYCBszDB1idtE0wrOpc2l0wJL7tW0htWLktWLktUO0GuOKCB1lRT5zcbOAGbnlhtkKaA1yALlewJL7eWPktWLktWLkkuO4fr5idBAsNmYlfrOpF2yJdoaLhtL7tWLktWLYtILktWLktWLLfui0TMyscU0+FoyjD1OlGuWPhTSYtILktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktWLkkuOJdt0+W29Sb1Y0Cbk0heESHtXXReESwMxlcmWJRtk0d3EJhTSYtILktWLktWLkcBYPdZEJRUnYCBszDB1idtE0wrOpc2l0wjSYtILktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktUO0CMXsNlkvf19ydMWPhTSYtILktWLkkuOJdt0+AM93b1Y0Cbk0htL7eWPktWLktWLLfokSRT5ed2xgA3OiFmWPHtXXReESHtXJFMlmDuWJhTSYtILktWLktBajDo8IwllYwrlrKJw7eWPktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktWLLfokSRT5ed2xgA3OiFmWPHtXXReESHtXJdoaMftwpKX0htWLktWLktUO0GuOkOtE9wo5lfZnLCbkqaoa4frlVFua0htL7eWPktWLktWLkkuO4frlrRT5zcbOKCB1lhtk5dBlLwJL7eWPktWLktWLkkuO4frlrRT5zcbOTDbplher1hTSYtILktWLktWLLfui0UAWsNmYlfrOpF2yJdoaLhtL7eWPktWLktWLkkuO4frlrRT5zcbOBCBx1cUILFM93BZk5dBlLwl0pKX0htWLktWLktUO0GuOkOt0+F2a0ao9vdyOpFtIJTByzfBsqCB4IBA0IUAWJhTSYtILktWLktWLLfui0UAWsNmYlfyO5FoAPwLyHArinb05aTAaUUAHJhTSYtILktWLktWLLfui0UAWsNmniC2sAcbi0htL7eWPktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktUO0CMXsNlkvf19ydMWPhTSkeWPktWLktUO0CMXsNlkvf19TfoyZftIpKX0htWLktWLkkuOJdt0+W29Sb1Y0Cbk0heESHtXXReESwmkpc2i0wJL7eWPktWLktWLkcBYPdZEJA2ySco86wjSYtILktWLktUO0CMXsNLYvdy9ydMWPhTSYtILktWLktUO0CMXsNLYvdy9TfoyZftIXReESHtXXRtkScBc0wJL7eWPktWLktWLkcBYPdZEJAmEVwJ5jd252cbk0TB9VcbLPkukvf1SJF2ySco8JbUL7eWPktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktUO0CMXsNlkvf19ydMWPhTSYtILktWLkkuOJdt0+AM93b1Y0Cbk0htL7eWPktWLktWLLfokSRT5ed2xgA3OiFmWPHtXXReHSHtXJC2aVfoaZwJL7eWPktWLktWLkkuO4fyY1CM1pftE9wo5lfZnLCbkqA3aJdBl0htL7eWPktWLktWLkkuO4fyY1CM1pft0+F2a0TMyscUIJA3aJdBl0wJL7eWPktWLktWLkkuO4fyY1CM1pft0+F2a0aMySfBAPwlYpdbnidJwpKX0htWLktWLktUO0GuOTfBksDbWsNmYlfyOvd2xADbEPwlYpdbnidJwpKX0htWLktWLktUO0GuOTfBksDbWsNmniC2SPhTSktWLktWLkeWPktWLktWLLfokSRT5ed2xgOB5LhtL7eWPktWLktUO0CMXsNlkvf19ydMWPhTSYtILktWLLfokSRT5ACBkSca9ydMWPhTSYtILktUOvCMpod3ksRT5ldMOod3kshtL7eWPktWllC2ivwtw8R2cpcBxLF2a0NJw7tWLYtILkgBaSF2a7eWPktWllC2ivwo5vfoljcUIJcbkZd3wiwJXJcMypdtwpKXLkeWPktb0ktW0htb0keWp9eWP=


If I use:
<?php
echo base64_decode('JE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO3doaWxlKC0tJE8wME8wME8wMClmZ2V0cygkTzAwME8wTzAwLDEwMjQpO2ZnZXRzKCRPMDAwTzBPMDAsNDA5Nik7JE9PMDBPMDBPMD0oYmFzZTY0X2RlY29kZShzdHJ0cihmcmVhZCgkTzAwME8wTzAwLDM3MiksJ0VudGVyeW91d2toUkhZS05XT1VUQWFCYkNjRGRGZkdnSWlKakxsTW1QcFFxU3NWdlh4WnowMTIzNDU2Nzg5Ky89JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=');

?>


Then the result is:
$O000O0O00=fopen($OOO0O0O00,'rb');while(--$O00O00O00)fgets($O000O0O00,1024);fgets($O000O0O00,4096);$OO00O00O0=(base64_decode(strtr(fread($O000O0O00,372),'EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));eval($OO00O00O0);

What should I do next so I could decode it with base64 coder?

Thanks in advance..

Embarassed
View user's profile Send private message
PostPosted: Fri Jul 27, 2012 10:48 am Reply with quote
demon
Moderator
Moderator
Joined: Sep 22, 2010
Posts: 485




Code:
<?php

if ( !defined('SUPERTEL') )
{
die("Request Not Allowed");
}else{
if ($objRequest->getValue("Submit") == "Simpan") {
//cek isi
$selQuery = "SELECT * FROM member WHERE id_member='".$objSession->getSessionValue("username")."' ";
$rs = $objDB->createResultSet($selQuery,$dbName);
$count = $rs->getNumberRows();
$re = $rs->getRow();

if ($count == 1) {
if ($objAlert->empty_($objRequest->getValue("nama"))) $objAlert->alertBack('Nama belum diisi');
$sqlInsert = "Update member SET nama='".$objRequest->getValue("nama")."', alamat='".$objRequest->getValue("alamat")."',tgl_update=now(),user_update='".$objSession->getSessionValue("username")."' where id_member='".$objSession->getSessionValue("username")."'";

$res = $objDB->createResultSet($sqlInsert,$dbName);
if ($res) {
//catatLog("user","ubah user: ".$re["userID"]."","sukses");
echo notice("data berhasil diubah","goal");
}else{
echo notice("Error!","fail");
}
}
}elseif($objRequest->getValue("act")=="ubah"){
$selQuery = "SELECT * FROM member WHERE id_member='".$objSession->getSessionValue("username")."'";
$selQuery2 = "SELECT group_concat(hp SEPARATOR '\n') FROM `member` left outer join member_hp on member_hp.id_member=member.id_member WHERE member.id_member='".$objSession->getSessionValue("username")."'";
$rs = $objDB->createResultSet($selQuery,$dbName);
$rs2 = $objDB->createResultSet($selQuery2,$dbName);
$count = $rs->getNumberRows();
if( $count < 1) {
echo "<div id=delete>- id tidak ditemukan -</div>";
}elseif($count = 1){
$row = $rs->getRow();
$row2 = $rs2->getRow();
echo "<fieldset>";
echo "<legend id=view>Ubah Profil</legend>";
$objForm->set_Action("center.php?menu=".$objRequest->getValue("menu"));
$objForm->set_Method("post");
$objForm->set_name("isian");
//$objForm->set_Target();
$objForm->startForm();
$sel = new darkTextInput();
$sel->setName("sel_old");
$sel->setValue($row["selisih"]);
$sel->packHidden();
$tbl = new darkTable();
$tbl->Table_Start('center','','','','',2,1,'','','tabel');
$tbl->Row_Start();
$tbl->Col_Start(0,0,0,0,"right");
echo "Nama:";
$tbl->Col_End();
$tbl->Col_Start(0,0,0,0,"left");
$txtID = new darkTextInput();
$txtID->setName("nama");
$txtID->setSize(20);
$txtID->setValue($row["nama"]);
$txtID->setToolTip("Masukkan Nama");
$txtID->setType("ALPHA_NUMERIC");
$txtID->packText();
$tbl->Col_End();
$tbl->Row_End();
$tbl->Row_Start();
$tbl->Col_Start(0,0,0,0,"right");
echo "User ID:";
$tbl->Col_End();
$tbl->Col_Start(0,0,0,0,"left");
$txtID = new darkTextInput();
$txtID->setName("id_member");
$txtID->setSize(10);
$txtID->setDisabled();
$txtID->setValue($row["id_member"]);
$txtID->setToolTip("Masukkan User ID");
$txtID->setType("ALPHA_NUMERIC");
$txtID->packText();
$tbl->Col_End();
$tbl->Row_End();
$tbl->Row_Start();
$tbl->Col_Start(0,0,0,0,"right","top");
echo "No. HP:";
$tbl->Col_End();
$tbl->Col_Start(0,0,0,0,"left");
$txtKet = new darkTextArea();
$txtKet->setName("no_hp");
$txtKet->setValue($row2[0]);
$txtKet->setCols(40);
$txtKet->setReadonly(true);
$txtKet->setToolTip("Masukkan Nomor HP");
$txtKet->packText();
$tbl->Col_End();
$tbl->Col_Start(0,0,0,0,"left","top");
//echo "- Tekan enter untuk lebih dari satu nomor HP";
$tbl->Col_End();
$tbl->Row_End();
$tbl->Row_Start();
$tbl->Col_Start(0,0,0,0,"right","top");
echo "Alamat:";
$tbl->Col_End();
$tbl->Col_Start(0,0,0,0,"left");
$txtKet = new darkTextArea();
$txtKet->setName("alamat");
$txtKet->setValue($row["alamat"]);
$txtKet->setCols(40);
$txtKet->setToolTip("Masukkan Alamat");
$txtKet->packText();
$tbl->Col_End();
$tbl->Row_End();
$tbl->Row_Start();
$tbl->Col_Start(0,0,0,0,"right","top");
echo "PIN:";
$tbl->Col_End();
$tbl->Col_Start(0,0,0,0,"left");
$txtName = new darkTextInput();
$txtName->setName("pin");
$txtName->setValue($row["pin"]);
$txtName->setSize(4);
$txtName->setMax(4);
$txtName->setToolTip("Masukkan Nomor PIN Maksimal 4 Digit");
$txtName->setType("NUMERIC");
$txtName->setDisabled();
$txtName->packText();
$tbl->Col_End();
$tbl->Col_Start(0,0,0,0,"left","top");
echo "- Maksimal 4 Digit";
$tbl->Col_End();
$tbl->Row_End();
$tbl->Row_Start();
$tbl->Col_Start(0,0,0,0,"right");
echo "YM ID:";
$tbl->Col_End();
$tbl->Col_Start(0,0,0,0,"left");
$txtID = new darkTextInput();
$txtID->setName("ymid");
$txtID->setSize(15);
$txtID->setDisabled();
$txtID->setValue($row["ymid"]);
$txtID->setToolTip("Masukkan YM ID");
$txtID->setType("ALPHA_NUMERIC");
$txtID->packText();
$tbl->Col_End();
$tbl->Row_End();
$tbl->Row_Start();
$tbl->Col_Start(0,0,0,0,"right");
echo "Saldo:";
$tbl->Col_End();
$tbl->Col_Start(0,0,0,0,"left");
echo "Rp.".convertMoney($row["saldo"]);
$tbl->Col_End();
$tbl->Row_End();
$tbl->Row_Start();
$tbl->Col_Start(0,0,3,0,"center");
$txtSubmit = new darkSubmit();
$txtSubmit->setName("Submit");
$txtSubmit->setValue("Simpan");
$txtSubmit->setToolTip("Simpan");
$txtSubmit->pack();
$tbl->Col_End();
$tbl->Row_End();
$tbl->Table_End();
$objForm->endForm();
echo "</fieldset>";
}else{
echo notice("error!","fail");
}
}
}
?>
View user's profile Send private message
How to decode this base64 file?
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.034 Seconds