• 31-05-2006, 23:38:03
    #1
    Bilenler zaten biliyordurda bilmeyen arkadaşlar için yazıyorum.Oldukça yararlı bir program.Özellikle kodlama ile ugraşan arkadaşların takım çantasında olması gereken bir program.
    Ne işe yarıyor:
    html kodlarınızı asp php yada javascript formatta ekrana çıktı basma formatına gönüştürüyor.
    örnekte vereyim hemen.örnegin şu kodu


    <!-- / close content container -->
    <!-- /content area table -->
    
    <form action="index.php" method="get">
    	
    <table cellpadding="6" cellspacing="0" border="0" width="100%" class="page" align="center">
    <tr>
    	
    	
    		<td class="tfoot">
    			<select name="langid" onchange="switch_id(this, 'lang')">
    				<optgroup label="Hızlı Dil Çubuğu">
    					<option value="2" class="" >-- turkce</option>
    <option value="3" class="" selected="selected">-- Turkce (TR)</option>
    <option value="4" class="" >-- Türkçe (TR)</option>
    
    				</optgroup>
    			</select>
    		</td>
    	
    	<td class="tfoot" align="right" width="100%">
    		<div class="smallfont">
    			<strong>
    				<a href="sendmessage.php" rel="nofollow">İletişim</a> -
    				<a href="https://www.r10.net/index.php">Webmaster Resource, Hosting, Dedicated, Seo</a> -
    				<a href="admincp/index.php">Admin</a> -
    				<a href="modcp/index.php">Mod</a> -
    				<a href="archive/index.php/">Arşiv</a> -
    				
    				<a href="#top" onclick="self.scrollTo(0, 0); return false;">Yukarı Git</a>
    			</strong>
    		</div>
    	</td>
    </tr>
    </table>
    
    <br />
    
    <div align="center">
    	<div class="smallfont" align="center">
    	<!-- Do not remove this copyright notice -->
    	Telif Hakları vBulletin v3.5.4 &copy; 2000-2006, ve <br />Jelsoft Enterprises Ltd.'e Aittir.
    	<!-- Do not remove this copyright notice -->
    	</div>
    	
    	<div class="smallfont" align="center">
    	<!-- Do not remove  or your scheduled tasks will cease to function -->
    	
    	<!-- Do not remove  or your scheduled tasks will cease to function -->
    	
    	
    	</div>
    </div>
    
    </form>
    
    
    <script type="text/javascript">
    <!--
    	// Main vBulletin Javascript Initialization
    	vBulletin_init();
    //-->
    </script>
    
    </body>
    </html>


    bir tık ile echo formatına hatasız şekilde çeviriyor

    <?php
    echo "<!-- / close content container -->\n";
    echo "<!-- /content area table -->\n";
    echo "\n";
    echo "<form action=\"index.php\" method=\"get\">\n";
    echo "\n";
    echo "<table cellpadding=\"6\" cellspacing=\"0\" border=\"0\" width=\"100%\" class=\"page\" align=\"center\">\n";
    echo "<tr>\n";
    echo "\n";
    echo "\n";
    echo "		<td class=\"tfoot\">\n";
    echo "			<select name=\"langid\" onchange=\"switch_id(this, 'lang')\">\n";
    echo "				<optgroup label=\"Hızlı Dil Çubuğu\">\n";
    echo "					<option value=\"2\" class=\"\" >-- turkce</option>\n";
    echo "<option value=\"3\" class=\"\" selected=\"selected\">-- Turkce (TR)</option>\n";
    echo "<option value=\"4\" class=\"\" >-- Türkçe (TR)</option>\n";
    echo "\n";
    echo "				</optgroup>\n";
    echo "			</select>\n";
    echo "		</td>\n";
    echo "\n";
    echo "	<td class=\"tfoot\" align=\"right\" width=\"100%\">\n";
    echo "		<div class=\"smallfont\">\n";
    echo "			<strong>\n";
    echo "				<a href=\"sendmessage.php\" rel=\"nofollow\">İletişim</a> -\n";
    echo "				<a href=\"https://www.r10.net/index.php\">Webmaster Resource, Hosting, Dedicated, Seo</a> -\n";
    echo "				<a href=\"admincp/index.php\">Admin</a> -\n";
    echo "				<a href=\"modcp/index.php\">Mod</a> -\n";
    echo "				<a href=\"archive/index.php/\">Arşiv</a> -\n";
    echo "\n";
    echo "				<a href=\"#top\" onclick=\"self.scrollTo(0, 0); return false;\">Yukarı Git</a>\n";
    echo "			</strong>\n";
    echo "		</div>\n";
    echo "	</td>\n";
    echo "</tr>\n";
    echo "</table>\n";
    echo "\n";
    echo "<br />\n";
    echo "\n";
    echo "<div align=\"center\">\n";
    echo "	<div class=\"smallfont\" align=\"center\">\n";
    echo "	<!-- Do not remove this copyright notice -->\n";
    echo "	Telif Hakları vBulletin v3.5.4 &copy; 2000-2006, ve <br />Jelsoft Enterprises Ltd.'e Aittir.\n";
    echo "	<!-- Do not remove this copyright notice -->\n";
    echo "	</div>\n";
    echo "\n";
    echo "	<div class=\"smallfont\" align=\"center\">\n";
    echo "	<!-- Do not remove  or your scheduled tasks will cease to function -->\n";
    echo "\n";
    echo "	<!-- Do not remove  or your scheduled tasks will cease to function -->\n";
    echo "\n";
    echo "\n";
    echo "	</div>\n";
    echo "</div>\n";
    echo "\n";
    echo "</form>\n";
    echo "\n";
    echo "\n";
    echo "<script type=\"text/javascript\">\n";
    echo "<!--\n";
    echo "	// Main vBulletin Javascript Initialization\n";
    echo "	vBulletin_init();\n";
    echo "//-->\n";
    echo "</script>\n";
    echo "\n";
    echo "</body>\n";
    echo "</html>";
    ?>
    http://www.exactcom.com/products/htm...codeconverter/
  • 31-05-2006, 23:56:54
    #2
    Paylaşım için teşekkürler,

    Üşenmeyenler için herhangi bir programdan (notepad dahil)
    tüm " leri \" yaptıktan sonra
    kopyala yapıştır ile echo ""; kodunun tırnaklarının arasına alabilirsiniz