81 Posted Topics
Code: <div class="container"> <div id="preview"></div> <form id="form" method="post" enctype="multipart/form-data"> <div class="form-body"> <div class="form-group"> <label class="control-label col-md-3">Title</label> <div class="col-md-9"> <input name="title" placeholder="Holiday" class="form-control" type="text"> </div> </div> </div> <div class="form-body"> <div class="form-group"> <label class="control-label col-md-3">Image1</label> <div class="col-md-9"> <input type='file' name='image1' class='form-control'> <img class="image1 img-thumbnail" style="display:none" alt="image1" width="100" height="100" /> </div> </div> </div> … | |
http://stackoverflow.com/questions/32432100/facebook-after-login-redirects-to-codeigniter-3 | |
Hi please go through this issue and suggest me http://stackoverflow.com/questions/32294820/where-to-locate-facebook-sdk-v4-vendor-directory-in-codeigniter-3-0 | |
This is my array Array ( [33] => Array ( [for sale] => Array ( [1] => villas [2] => plots [3] => flats [4] => houses ) ) [34] => Array ( [for rent] => Array ( [5] => in house [6] => appartment [7] => godams ) ) … ![]() | |
<div class="hor-menu "> <ul class="nav navbar-nav"> <li class="active"> <a href="index.html">Dashboard</a> </li> <li class="menu-dropdown mega-menu-dropdown"> <a data-hover="megamenu-dropdown" data-close-others="true" data-toggle="dropdown" href="javascript:;" class="dropdown-toggle"> Categories <i class="fa fa-angle-down"></i> </a> <ul class="dropdown-menu" style="min-width: 710px"> <li> <div class="mega-menu-content"> <div class="row"> <div class="col-md-4"> <ul class="mega-menu-submenu"> <li> <h3>Level 1</h3> </li> <li> <a href="add_category.php" class="iconify"> <i class="icon-plus"></i> Add Categories … | |
I need After-ship API integration for e-commerce website. https://www.aftership.com/docs/api/4 which will be useful in tracking the order status. I have downloaded sdk from https://github.com/abishekrsrikaanth/aftership-php-sdk I have given the api key in AfterShip/Core/request.php. But its not working can anyone suggest me steps to integrate it. | |
Which one provides more secuity, And mostly used in companies.Please Suggest 1.laravel 2.Zend 3.YII ![]() | |
I am implementing stay login functionality using codeingiter 3 Steps: 1. If user signin's successfully , checking the remember me checkbox. 2. Then i am setting 2 cookies for that user. 3. $cookie 1: is 128 length random string ,(series) 4. $cookie 2: is the hash of (email,password,ip,useragent). (token) 5. … | |
I am using codeigniter 3 And i am trying to build stay signing functionality In hash_hmac() i am passing an array , but i want to convert it into a string , Can any one tell me how to convert it? /* | --------------------------------------------------------------------------- | REMEMBER ME TOKEN | --------------------------------------------------------------------------- … ![]() | |
My Model : admin_login_model.php Unable to view them in browser as shown in the image below http://i.stack.imgur.com/fychj.png i am working on CodeIgniter version 3 Can anyone tell me what is the issue if ($email === $admin_email && $password = $password) { echo 'credential match'; $this->load->helper('cookie'); if ($remember_me == '1') { … | |
I am using codeigniter if ($this->form_validation->run() ) always returns false. please help me out with this Here is my controller and view page as shown bellow This is controller admin.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Admin extends CI_Controller { public function index() { $this->login(); } public … | |
i am creating an admin panel in my project. So to sepeate admin files i am creating admin folder in my views can i also create admin folder in my controller and model. to seperate admin related file? is that a correct procedure? | |
I have a gallery in grid. For eg: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSegNVXMSnTRzHETnAjZXCd6siwHQysMXc_jp1OyiSDie2_9jhsIg Each row can cont max of 4 images. I have written while loop. i want to get the total count of images in each row For eg: row1 -> 4 (images) row2 -> 3 (images) <!-----------------------------------------------------------------------------> <div class="main_bg"> <div class="top_bg1"> <div … | |
$descrr = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only … | |
$descrr = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only … | |
can anyone tell best cms for employee time sheet management | |
I need Live Webcam Video Streaming Script for a tv channel website pl help | |
Problem:On click logout it again shows the html page content which i dont want to show <?php session_start(); if(isset($_GET['action']) == 'logout'){ session_destroy(); unset($_SESSION['user']); unset($_SESSION['pass']); echo '<pre>'; print_r($_SESSION); //header('location:index.php/'); exit(); } if(isset($_SESSION['user'])== ' '){ header('location:index.php'); exit(); } if( !( isset($_SERVER['PHP_AUTH_USER']) && $_SERVER['PHP_AUTH_USER'] == "a" && $_SERVER['PHP_AUTH_PW'] == "a" ) ){ header('WWW-Authenticate: … | |
<?php include('db.php'); $query=mysqli_query($con,"select * from reg"); while($row=mysqli_fetch_array($query)) { echo $id; echo $name; } ?> i want to display it as follows: 1.chaitanya 2.swati 3.rena 4.geeta ![]() | |
i want to display this slideshow dynamically please help me. I am getting more than 3 images if i put dynamic code <div class="row"> <div id="carousel-reviews" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="item active"> <!--------------------------------> <div class="col-md-4 col-sm-6"> <div class="block-text rel zmin"> <a title="" href="#">Active1</a> </div> </div> <!--------------------------------> <div class="col-md-4 … | |
How to enable Designer Mode in phpMyAdmin...i am on main server not on local server | |
I want to display 3 images at a time in a slideshow(testimonial)..but remaing images also getting display's at the bottom of slideshow..i have attached image please chaeck.... <div class="row"> <div id="carousel-reviews" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="item active"> <?php $sel = mysql_query("select * from alumini"); $output = ''; $x … | |
<?php $query=mysqli_query($con,"select * from reg where user_id = '".$_GET['id']."' "); $row=mysqli_fetch_array($query); ?> <select name="sex" id="opt2"> <option value="">select</option> <option value="Male" selected="selected">Male</option> <option value="Female" selected="selected">Female</option> </select> | |
how to do content scrapping or crawling in php Can any one suggest me a vedio tutorial | |
I have a (2gb)txt file which has thousands of queries, i need to read those file queries and split those queries into n no. of txt files..and save them in a folder... can any one post an example or guide | |
move_uploaded_file gives Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this … | |
length should be [2-10], should accept [a-zA-z0-9],accept one space in between characters. eg: timesheet 2 shanti chakra shantichakra shantichakra2 ![]() | |
what is the difference between FTP,SFTP client can any one explain me briefly | |
can any one explain in when to use left join and right join i am quit confused with this ![]() | |
I have attached an image file i want to escape first there rows and import data from sudha---- if(isset($_POST['submit'])) { $account_type = $_POST['account_type']; $fname = $_FILES['sel_file']['name']; echo '<center class=green>Uploaded file name is: '.$fname.'</center> '; $chk_ext = explode(".",$fname); if(strtolower(end($chk_ext)) == "csv") { $filename = $_FILES['sel_file']['tmp_name']; $handle = fopen($filename, "r"); fgetcsv($handle); //skip … | |
Re: Use this auto generator tool for writing htaccess,just copy paste htaceess code after customization http://www.generateit.net/mod-rewrite/index.php | |
Re: Use this plugin http://datatables.net/release-datatables/extensions/TableTools/examples/button_text.html | |
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.", "; } } ?> | |
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 | |
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 | |
How to upload files from a system to server automatically after every 10 mins | |
Payment should be done with credit card . http://www.zenatdesign.com/PaypalProDemo/index.php | |
can we make desktop application with php?? ![]() | |
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)) { ?> … | |
<?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); ?> | |
<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(); … | |
i want some like this in jquery and php(plugin) see img | |
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) ![]() | |
can any one give me sample code.. ![]() | |
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 … | |
i am unable to concardinate i am getting error.. <?php $subject = "You got a Project Invitation from ".echo $_SESSION['user_name']; ?> | |
| |
<?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']; … | |
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 … |
The End.