i want to display numbers only from 01 to 12 How to write a loop <?php for($a=0; $a<10; $a++) { for($b=0; $b<10; $b++) { echo $a.$b.", "; } } ?>

Member Avatar
Member Avatar
+0 forum 2

I am transfering files from system directory to server directory which works perfect. But i need to run batch file after every half n hour. I need to make it as a **batch file** please help ftp -i 21.49.567.12 username password cd "uploads" lcd "c:\up" binary mput p* disconnect bye

Member Avatar
Member Avatar
+0 forum 1

how to execute a php file after every half n hour without using schedular (cron jobs). i need to upload pdf files automatically from system to server after every half n hour.but without using cron jobs.Please help

Member Avatar
Member Avatar
+0 forum 7

How to upload files from a system to server automatically after every 10 mins

Member Avatar
Member Avatar
+0 forum 1

Payment should be done with credit card . http://www.zenatdesign.com/PaypalProDemo/index.php

Member Avatar
Member Avatar
+0 forum 1

can we make desktop application with php??

Member Avatar
Member Avatar
+0 forum 5

i want to group all photos in slideshow depending on description(topic) as show in db image. if description changes another slideshow should be displayed with that description relates photos.how to write such loop. <?php $sql="SELECT * FROM activities WHERE cat='PRABHUDDHA BHARATH SEMINARS' GROUP BY descr "; $res=mysqli_query($con,$sql); while($row=mysqli_fetch_array($res)) { ?> <div> <?php echo "<img u='image' src=admin/$row[photo] />" ; echo "<img u='thumb' src=admin/$row[photo] />" ; ?> </div> <?php } ?>

Member Avatar
+0 forum 0

<?php header('Content-type: image/jpeg'); $source = 'a.jpg'; $watermark = imagecreatefrompng('logo.png'); $watermark_width = imagesx($watermark); $watermark_height = imagesy($watermark); $image = imagecreatetruecolor($watermark_width,$watermark_height); $image = imagecreatefromjpeg($source); $image_size = getimagesize($source); $x = $image_size[0] - $watermark_width - 10; $y = $image_size[1] - $watermark_height - 10; imagecopymerge($image, $watermark, $x, $y, 0, 0, $watermark_width, $watermark_height, 20); imagejpeg($image); ?>

Member Avatar
Member Avatar
+0 forum 2

<form> Select Project:* <select name="project_id" id="project_id" > <option value="0">Select Project</option> <option value="1">a</option> <option value="2">b</option> <option value="3">c</option> </select> Select Week*: <select name="week" id="week_id"> <option value="0">Select Week</option> <option value="1">This Week</option> <option value="2">Last Week</option> <option value="3">2 Weeks back</option> </select> </form> <script type="text/javascript" src="js/jquery-latest.js"></script> <script> function showValues() { var str = $( "form" ).serialize(); //$( "#mydiv" ).text( str ); $.ajax({ type : 'POST', url : 'test.php', data : str, dataType : "html", success: function(htmlResponse) { } }); } $( "select" ).on( "change", showValues ); showValues(); </script> test.php <?php echo $_POST['project_id']; echo $_POST['week']; ?>

Member Avatar
Member Avatar
+0 forum 1

i want some like this in jquery and php(plugin) see img

Member Avatar
+0 forum 0

how to find number of days(days ago)different between today and database date .. eg: difference between 04/09/2014 and 06/08/2014 =(no of days ago)

Member Avatar
Member Avatar
+0 forum 7

Any source code available

Member Avatar
Member Avatar
+0 forum 1

can any one give me sample code..

Member Avatar
Member Avatar
+0 forum 1

error ------->Notice: Undefined variable: result in C:\wamp\www\ <?php include(db.php); ?> <table> <tr> <td>Select Project:*</td> <td> <select name="project_id" id="project_id"> <?php echo project_name($con); ?> </select> </td></tr> </table> function project_name($con){ $select = mysqli_query($con,"select projects.project_id, projects.project_name, user_proj.user_id, user_proj.project_id from projects projects, users_projects user_proj where projects.project_id = user_proj.project_id and user_proj.user_id ='".$_SESSION['user_id']."'"); while($row = mysqli_fetch_array($select)){ $result .='<option value="'.$row['project_id'].'">'.$row['project_name'].'</option>'; } return $result; }

Member Avatar
Member Avatar
+0 forum 2

i am unable to concardinate i am getting error.. <?php $subject = "You got a Project Invitation from ".echo $_SESSION['user_name']; ?>

Member Avatar
Member Avatar
+0 forum 4

how to view doc,docx files with php???

Member Avatar
Member Avatar
+0 forum 5

<?php $con = mysql_connect("localhost","root",""); $db = mysql_select_db("abc"); if(!$db){ echo 'Could Not connect database'; } $sel = mysql_query("select * from user_registration"); ?> <script type="text/javascript" src="http://code.jquery.com/jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('input[type="checkbox"]').click(function(){ //how to select multiple checkbox value here?????????? }); }); </script> <div> <?php while($row = mysql_fetch_array($sel)){ ?> <label> <input type="checkbox" name="<?php echo $row['user_id']; ?>" value="<?php echo $row['user_id']; ?>"> <?php echo $row['first_name']; ?> </label> <?php } ?> </div> <div class="display"></div>

Member Avatar
Member Avatar
+0 forum 1

My resume is already present in resume folder with following formate eg: 3chaitanya.doc = > [session_id+session_firstname] i need to attach it to email without browsing it <?php session_start(); include('db.php'); $to = "company@gmail.com"; $fromEmail = $_SESSION['user_email']; $fromName = "Job tile"; $subject = "Applying for job"; $message = "some text"; //path of my resume is $path ="C:\wamp\www\jobportal-deb\resume\S_SESSION['user_id'].S_SESSION['first_name']"; /* GET File Variables */ $tmpName = $_FILES['attachment']['tmp_name']; $fileType = $_FILES['attachment']['type']; $fileName = $_FILES['attachment']['name']; echo $tmpName.'<br/>'; echo $fileType.'<br/>'; echo $fileName.'<br/>'; /* Start of headers */ $headers = "From: $fromName"; if (file($tmpName)) { /* Reading file ('rb' = read binary) */ $file = fopen($tmpName,'rb'); $data = …

Member Avatar
Member Avatar
+0 forum 3

extracting reports in excel/pdf etc.... is there any plugin

Member Avatar
Member Avatar
+0 forum 1

How to view our uploaded resume online with php in website <?php if($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['submit']) == 'upload') { var_export($_POST); $allowedExts = array("pdf", "doc", "docx"); $temp = explode(".", $_FILES["file"]["name"]); $extension = end($temp); if ((($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/msword") || ($_FILES["file"]["type"] == "application/vnd.openxmlformats-officedocument.wordprocessingml.document")) && ($_FILES["file"]["size"] < 20000) && in_array($extension, $allowedExts)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br>"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br>"; echo "Type: " . $_FILES["file"]["type"] . "<br>"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " kB<br>"; echo "Temp file: " . $_FILES["file"]["tmp_name"] . …

Member Avatar
Member Avatar
+0 forum 4

Need continuous marquee scroll without gaps after the last line of marquee.

Member Avatar
Member Avatar
+0 forum 3

<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css"> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <style type="text/css"> .bs-example{ margin: 20px; } </style> </head> <body> <div class="bs-example"> <!-- Button HTML (to Trigger Modal) --> <a href="#myModal" class="btn btn-lg btn-primary" data-toggle="modal">Login</a> <!-- Modal HTML --> <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <div class="form-feedback" style="display:none;">Login Success</div> <form id ="employer_login"> <div class="form-group"> <label for="inputEmail">Email</label> <input type="text" class="form-control" id="inputEmail" placeholder="Email"> </div> <div class="form-group"> <label for="inputPassword">Password</label> <input type="password" class="form-control" id="inputPassword" placeholder="Password"> </div> <div class="checkbox"> <label><input type="checkbox"> Remember me</label> </div> <input type="submit" name="submit" /> </form> </div> </div> </div> </div> </div> <!--//// Modal HTML --> <script> $(function() { …

Member Avatar
Member Avatar
+0 forum 2

http://www.flipkart.com/mens-clothing/winter-seasonal-wear/pr?sid=2oq,s9b,qgu&otracker=hp_nmenu_sub_men_0_Winter%20Wear I want to intergrate filters for checkboxes. is there any jquery plugin avaliable ?

Member Avatar
Member Avatar
+0 forum 5

<?php if($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login']) == 'Login'){ $email = test_input($_POST['lemail']); $password = test_input($_POST['lpassword']); $passw = sha1($password); echo sha1($passw); $sql = mysqli_query($con,"select admin_id,admin_email,admin_password from admin where admin_email = '".$email."' and admin_password = '".$passw."'"); $row = mysqli_fetch_array($sql); if(mysqli_num_rows($sql) == 1){ session_start(); $_SESSION['admin_id'] = $row['admin_id']; $_SESSION['admin_email'] = $row['admin_email']; if($_SESSION['admin_id']){ header("Location:jobpost.php"); }} else{ echo '<center><span class="displayerror">Invalid User Name and Password Combination</span></center>'; } } ?> <!------------------------------------------///login code-------------------------------------------------> <h3 class="text-center" style="color:#666666;"> Admin Login </h3> <form method="post" action="<?php echo $_SERVER["PHP_SELF"];?>"> <label for="inputEmail3" >Email</label> <input type="email" id="inputEmail" name="lemail"/> <div id="login_email_error" class="displayerror"></div> <label for="inputPassword3" >Password</label> <input type="password" id="inputPassword" name="lpassword"/> <div id="login_password_error" class="displayerror"></div> <label><input type="checkbox" /> Remember me</label> <input …

Member Avatar
Member Avatar
+0 forum 3

How to hide onmouseover status of an anchor tag When we mouseover on edit link we get some link like this index.php?editid=1; so how to hide this on mouseover

Member Avatar
Member Avatar
+0 forum 3

When i reload my registration page, duplicate data gets entered in to database ...should i clear cookies..any solution

Member Avatar
Member Avatar
+0 forum 2

How to disable typing in datepicker field

Member Avatar
Member Avatar
+0 forum 3

can any one give me resume upload script for careers page in php

Member Avatar
Member Avatar
+0 forum 1

How to convert html to pdf and download in php

Member Avatar
Member Avatar
+0 forum 1

How to check if pancard no. is valid for a user in our website

Member Avatar
Member Avatar
+0 forum 1

The End.