Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for borntowin_786

[CODE] $date = mktime(1, 1, 1, $month, date("d"), $year); $first_day_of_month = strtotime("-" . (date("d", $date)-1) . " days", $date); $last_day_of_month = strtotime("+" . (date("t", $first_day_of_month)-1) . " days", $first_day_of_month); $first_week_no = date("W", $first_day_of_month); $last_week_no = date("W", $last_day_of_month); if($last_week_no < $first_week_no) $last_week_no=date("W", strtotime("-1 week",$last_week_no)) + 1; $weeks_of_month = $last_week_no - $first_week_no …

Member Avatar for emixfr
0
114
Member Avatar for borntowin_786
Member Avatar for borntowin_786

Hello friends, I am a new babie to codeigniter. I am working on a maintenace task.And I am getting the error as frontend_make_url_name this function not found. Can anybody is there to help me? For helping I am pasting my code below. [CODE] <?php class User extends Controller { var …

Member Avatar for vaultdweller123
0
150
Member Avatar for borntowin_786

Helllo freinds, I am a new babie to codeigniter.On admin side i m getting an error that is after login a black page get displayed.I am not getting what is exactly problem is.So I am pasting my code below. please if possible help me. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

0
116
Member Avatar for borntowin_786

Hello I am pasting my code.this code is used for data collection purpose.But i m getting an error in this.Can anybody help me? [CODE]<?php ini_set('max_execution_time','510000'); ini_set('memory_limit','2056M'); require_once 'Classes/PHPExcel.php'; require_once 'Classes/PHPExcel/IOFactory.php'; //$zipcode=35212; //$sleep_time=1; //Generating sleep time random-wise $sleep_time = rand(1,15); $result_array=array(); $number=2; $objReader = PHPExcel_IOFactory::createReader('Excel2007'); $objReader->setReadDataOnly(true); $objPHPExcel = $objReader->load("C:\Documents and Settings\Tushar.Chavan.DC\Desktop\sunlight\US_ZIP_CODES.xlsx"); …

Member Avatar for chrishea
0
127
Member Avatar for borntowin_786

Hello Friends, I am new in using codeigniter.I am working on a client project.In this i have 1 form with fields like entering name, address along with 5 file uploading basically all images.Suppose while submitting a form an error occures then fields like name and address value can be retrieve …

Member Avatar for slyme
0
149
Member Avatar for borntowin_786

//php file [code=php]$strSheetName = 'test'; $objXLApp = new COM( "excel.application" ) or die( "unable to start MSExcel" ); $objXLApp->Workbooks->Open( "path/test.xls" ); $objXLSheet = $objXLApp->ActiveWorkBook->WorkSheets( $strSheetName ); $i=3; do { $strCellName = 'B'.$i; $objXLCell = $objXLSheet->Range( $strCellName); $i++; echo $objXLCell->Value()."<br>"; }while($objXLCell->Value()); echo $i; //print $objXLCell->Value(); //objXLsheet.Range("A1:A100") //print "Cell $strCellName in $strSheetName: …

Member Avatar for borntowin_786
0
138
Member Avatar for borntowin_786

I have used this code for ajax pagiantion JS file - [code=JavaScript]document.getElementById('divname').innerHTML = content; ajax.callPage("URL"+str, ajaxSearchFilter); tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox imgLoader = new Image();// preload image imgLoader.src = tb_pathToImage;[/code] Php file - [code=php]<td colspan="2" align="center"> <?php if($page != 1) { $pageno=$_GET['page']; $pageprev = $pageno-1; if($_GET['city_name'] != "") …

Member Avatar for Airshow
0
58
Member Avatar for borntowin_786

Hello, I am using spaw editor.Till now i think it is the one of the best editor.But i m now facing 1 problem.Suppose we left editor as empty.then switch tab to html view.then we see a <br /> tag by default.So is there any way to remove this <br /> …

Member Avatar for diafol
0
132
Member Avatar for borntowin_786

Hi , I am using codeigniter for my project.On admin side i am using spaw editor to add content.On user side i have used a code so that for large content to have read more and close link.For normal text no problem what so ever.But suppose in a content we …

Member Avatar for emarshah
0
437
Member Avatar for borntowin_786

Hi , I am a new in using codeigniter.I want to use a single show_404 page for both admin and user side.But in different way.i.e.if user try to change anything in URL he should be redirected to custom 404 page.this is not required in admin side.So how to differentiate between …

Member Avatar for cwarn23
0
87
Member Avatar for OmniX

I assuming it is unefficent to upload and stream a video with php. So this is a 2 part question (1. using php to upload the contents, 2. using php? flash? etc? to convert and play the video file). 1. How would I upload a video file? - Like a …

Member Avatar for digital-ether
0
1K