Wednesday, November 2, 2016

Display Loading On Oopen page php

<!DOCTYPE html>
<html lang="en">
<head>
<title>Display Loading Image While Page Loads using jQuery</title>
<style>
p{font-size: 40px;}
.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('pageLoader.gif') 50% 50% no-repeat rgb(249,249,249);
    opacity: .8;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript">
$(window).load(function() {
$(".loader").fadeOut("slow");
});
</script>
</head>
<body>
    <div class="loader"></div>
    <h2>&nbsp;</h2>
</body>
</html>

Sample Beautifull Send Mail PHP

<?php
$to = 'user@example.com';$subject = "Beautiful HTML Email using PHP by CodexWorld";
$htmlContent = '
    <html>
    <head>
        <title>Welcome to CodexWorld</title>
    </head>
    <body>
        <h1>Thanks you for joining with us!</h1>
        <table cellspacing="0" style="border: 2px dashed #FB4314; width: 300px; height: 200px;">
            <tr>
                <th>Name:</th><td>CodexWorld</td>
            </tr>
            <tr style="background-color: #e0e0e0;">
                <th>Email:</th><td>contact@codexworld.com</td>
            </tr>
            <tr>
                <th>Website:</th><td><a href="http://www.codexworld.com">www.codexworld.com</a></td>
            </tr>
        </table>
    </body>
    </html>';
// Set content-type header for sending HTML email$headers = "MIME-Version: 1.0" . "\r\n";$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
// Additional headers$headers .= 'From: CodexWorld<sender@example.com>' . "\r\n";$headers .= 'Cc: welcome@example.com' . "\r\n";$headers .= 'Bcc: welcome2@example.com' . "\r\n";
// Send emailif(mail($to,$subject,$htmlContent,$headers)):
    $successMsg = 'Email has sent successfully.';
else:
    $errorMsg = 'Email sending fail.';
endif;?>

Saturday, October 22, 2016

sample php live text




<div class='printchatbox' id='printchatbox'></div>

<input type='text' name='fname' class='chatinput' onkeyUp="document.getElementById('printchatbox').innerHTML = this.value" />

Wednesday, September 21, 2016

Resolved Microsoft AX Cannot Default exe

This code copy as reg Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.axc] [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.axc\OpenWithList] "a"="ax32. \"%1\" %*" "MRUList"="a" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.axc\UserChoice] "Progid"="Applications\\ax32.exe"

phprunner view custom filed status

if ($value=="Process") $str.='<img src="1.png">'; if ($value=="Receive") $str.='<i...