718 Topics

Member Avatar for
Member Avatar for gr8pathik

Dear can any body tell me how to configure cakephp with wamp?? i m new in cakePHP. I have already copied cakephp folders/files in wamp's www folder and DocumetRoot "C:\wamp\www\cakephp\app\webroot" Tell me what else have to do.? I am getting a page when clicking on localhost from Wamp but it …

0
93
Member Avatar for pilipinas

Hi Guys, I would like to ask help on how to create a page using php. The page consist of a multiple choice quiz wherein the choices are in radio button. It has a fixed time of 15 minutes to answer the questionnaire. The page has two users the student …

Member Avatar for decade
0
92
Member Avatar for sayedkhalid

how can i pass value of textbox into code iginator controller after submit. i get Disallowed Key Characters message. i have array of controls. or if you could provide some tips on how to get the posted values in controllers . in view [CODE] <form method="post"> <input type="text" name="Insert['name']"/> <input …

Member Avatar for Member #120589
0
147
Member Avatar for mwenyenia07

i want to load client details as follows: 1. you enter his/her Identity number in a textbox and press enter. this will call a controller that will do the rest of the stuff. how can you do it using jquery and codeIgniter. show by example.

-2
98
Member Avatar for Buppy

Hi, Maybe anyone has worked with this before. I have a cakephp app where i need to dynamically create images. When i use header('Content-Type: image/png'); imagepng($dest); i get this - The image cannot be displayed, because it contains errors. When i try this imagepng($dest,"image.png"); The image is never saved, tried …

Member Avatar for cereal
0
115
Member Avatar for mwenyenia07

hi i want an idea/code that can call a controller method from a javascript function inside a view. am using codeIgniter 1.7.2. what i wanted to achieve is to load details of a client by entering his account number and press enter key to load the details. hope you will …

Member Avatar for urtrivedi
0
126
Member Avatar for nikita.chandra

Hi, I have installed Netbeans IDE 7.0.1 for php application and created a demo application. When i executed the application in the browser following url [url]http://localhost/CSR/index.php[/url] and error : Oops! Google Chrome could not connect to localhost Please help. Thanks, Nikita

Member Avatar for Member #120589
0
249
Member Avatar for kaizokupuffball

Hi! Im currently trying to make a social website of a kind. I got the login, registration, userpage, profile TINYMCE editor working. But there is one thing im really struggling with, and that is; How do i let other users visit other users? When the user log's in, they're redirected …

Member Avatar for kaizokupuffball
0
383
Member Avatar for mwenyenia07

can somebody send me a code that can convert the date for the current day into year-month-day only. i don't want inclusion of hours/minutes/seconds stuffs. this will make it easy to tally with MYSQL's y-m-d format. am using codeIgniter 1.7.1 --sorry for my bad english---i speak afrikaan--

Member Avatar for Wraithmanilian
0
95
Member Avatar for mwenyenia07

i downloaded cronjob bootstrapper and edited as shown: #!/usr/bin/php [CODE] <?php /* |-------------------------------------------------------------- | CRON JOB BOOTSTRAPPER |-------------------------------------------------------------- | | By Jonathon Hill (http://jonathonhill.net) | CodeIgniter forum member "compwright" (http://codeigniter.com/forums/member/60942/) | | Created 08/19/2008 | Version 1.2 (last updated 12/25/2008) | | | PURPOSE | ------------------------------------------------------------- | This script is …

Member Avatar for rch1231
0
977
Member Avatar for mwenyenia07

i have tried to create a function to send Email and this is the code: $this->load->library('email'); $this->email->from('gbagbo@presidency.com', 'elhaji'); $this->email->to('abdjan@ivoycoast.com'); $this->email->cc('another@another-example.com'); $this->email->bcc('them@their-example.com'); $this->email->subject('Email Test'); $this->email->message('Testing the email class.'); $this->email->send(); echo $this->email->print_debugger(); it displayed the following error: Severity: Notice Message: Undefined index: Subject Filename: libraries/Email.php Line Number: 969 i tried to add …

Member Avatar for sureronald
0
102
Member Avatar for mwenyenia07

i have created an application which is supposed to check database after every 20 minutes to get some new data and respond accordingly. how do i implement this regular checks ?

Member Avatar for paulrajj
0
133
Member Avatar for mwenyenia07

can somebody send me a code that can validate a string of alpha characters and allow space between one string and another. e.g barrack obama. am using codeIgniter and am new to it and all web applications.

Member Avatar for cereal
0
92
Member Avatar for mwenyenia07

Hi all, i want to load some data from mysql database and display it in a datagrid. this will enable me to exploit datagrid events like 'onMouseclick' to load specific data whose key corresponds to the column i have clicked say CustomerId. how can i achieve this ?

Member Avatar for G&G Designing
0
80
Member Avatar for mwenyenia07

in java or vb.net, we have controls like datagrid or listview which makes loading and displaying of large data easy.in this case, there are events like cellDoubleclick which you can use to select data from a particular column and use it as key to select particular data from database for …

Member Avatar for blocblue
0
80
Member Avatar for praset

Hello i have problem in my software, i want to read file excel and compare data. If i use file excel with small size it run succesfully, but if i use large file i have fault. Please some body help me

Member Avatar for madCoder
0
130
Member Avatar for youvi

See this is the URL path to access my local server.. "http://localhost/CodeIgniter/" I need to change this URL and need to give my own URL..after adding my URL i need to access my local server using my own URL... How can i do that??please help me...

Member Avatar for IWDesigns
0
168
Member Avatar for mwenyenia07

i am new to codeIgniter and am using version 1.7. can somebody give me sample scripts to illustrate MVC. use login/user authentication from database typically using username and password. after logging, user should be redirected to certain page if invalid credentials, display error message. give comments on your logic.

Member Avatar for ko ko
0
79
Member Avatar for mwenyenia07

Hi, I have created a web application in php/codeIgniter. when i want to access the same from anothe computer using say 'http://10.11.111.101/pos',it displays a blank page instead of login page. i have developed it using ubuntu 9.04. what can i do to make it accessible local area network ? i …

Member Avatar for ko ko
0
74
Member Avatar for jacksantho

Hi, I needs to create a PDF report for my project. Did PHPExcel suits for creating a PDF document. I needs a tutorial to create a PDF document. Please help me out.

Member Avatar for broj1
0
66
Member Avatar for mwenyenia07

i have written an application(login page) using codeigniter 2.02. when i try to load the page, it displays the following message: Fatal error: Class 'Controller' not found in /var/www/Files_Manager/application/controllers/login.php on line 2 this is the script: [CODE]<?php class Login extends Controller { //constructor function login() { parent::Controller(); $this->load->helper('url'); $this->load->helper('form'); $this->load->library('form_validation'); …

Member Avatar for aquilax
0
140
Member Avatar for ibrahimbit17

Hello all, I have a problem. I need to make a php application with manual licensing not using any software for it but I didn't find anywhere a tutorial or a book about this. I have only found some tutorial about different types of licensing but could not find any …

Member Avatar for ibrahimbit17
0
522
Member Avatar for sarithak

Hi Team, I have 2.6 years of exp in PHP tech(complete exp on core php,mysql,javascript)... 8 months back i resigned my job due to marriage.. now i am trying to get job on PHP...but now without any CMS/ZEND there is no calls for core php. so.. i m trying to …

0
70
Member Avatar for jacksantho

Hi, I am generating an excel list using PHPExcel class. That generating excel list, should be mailed out to the particular person. Can you please help me out. Thanks in advance

Member Avatar for vibhaJ
0
37
Member Avatar for Buppy

Hi, I have a form (using cake form helper) and it's validation rules. The problems is that the errors does not show. I can see it validates correctly - the data is not being saved, the fields has their .required class added, and also when i check the $this->Model->invalidFields(); it …

0
66
Member Avatar for airmvp23

I've been trying to use the php includes code instead using iframe, but I'm having some issues. I have 2 php platforms (Joomla & Shopping Cart) that I need to connect together somehow. Basically I need to "include" the shopping cart template within a Joomla Template (so basically like iframe). …

Member Avatar for airmvp23
0
532
Member Avatar for Whilliam

Hello guys, I've been having this problem for 4 days now. I have this table that outputs records. One row contains all the records of the person. Every row has a 'ban' function. When the user clicks this 'ban' hyperlink, the program should popup a ban form wherein the user …

Member Avatar for ko ko
0
90
Member Avatar for Whilliam

Hello guys, sorry if this is a noobish question but I'm really new to framework. My question is how do you pass parameters with codeigniter?

0
90
Member Avatar for mvsjs

I am using jpgrpah in php to show a bar diagram by using an array as an input. The array is created by a function. I am getting the following error. Error 25044 - Cannot use auto scaling since it is impossible to determine a valid min/max value for y-axis …

0
168
Member Avatar for infopost

Hi, I have ran into a problem with a script I am using that shows content to a visitor based upon their browser referer. Here is the relevant portion of the script: [CODE]<?php $allowed_referers[0] = "allowedwebsite.com"; $ok_mode = 0; if((in_array(parse_url($_SERVER['HTTP_REFERER'],PHP_URL_HOST), $allowed_referers) && $_SERVER['HTTP_REFERER'] != "") || $ok_mode) { } ?>[/CODE] …

Member Avatar for pritaeas
0
91
Member Avatar for whiteyoh

Hi All, I have a number of arrays stored as a text string in a database (ive included it at the very bottom). As this is a text string i need to know how to convert it back into an array. Also, how can i access a single element, i.e …

Member Avatar for NettSite
0
129
Member Avatar for ronnieaka

i'm gonna be building a website,for my summer training,but then later commercialize to earn a few bucks Main thing is, i want to make it as attractive GUI wise as possible with probably PHP only, and ajax and flash are allowed to get as many marks as possible and it …

Member Avatar for dhruv_arora
0
132
Member Avatar for samsons17

Hi all.. i want to design a structure for a large user base application..and i am using the codeigniter framework.. I wondering here, how could then i separate the data/files from the user such as the pictures, videos and so on from the application files. If i am not mistaken, …

Member Avatar for momo219
0
136
Member Avatar for Ritesh_4

Hello Anyone can recommend me the best php IDEs available which also provide support for frameworks like zend or codeigniter?

Member Avatar for Ritesh_4
0
140
Member Avatar for ronnieaka

i'm gonna be building a website,for my summer training,but then later commercialize to earn a few bucks Main thing is, i want to make it as attractive GUI wise as possible with probably PHP only, and ajax and flash are allowed to get as many marks as possible and it …

Member Avatar for chrishea
0
265
Member Avatar for IWDesigns

hi guys... ive been working with codeigniter for over a year now, but ive been taking scripts apart and fixing errors/adding new functions, ....now im coding something from scratch and its proving to be quite annoying as the new version has a lot of stuff changed, so im pretty much …

Member Avatar for Member #120589
0
784
Member Avatar for veledrom

Hi, I am using this function to download an image that I uploaded before by using Codeigniter. Function successfully downloads it with same name but when I try to open it, I get an error which says "Cannot be opened... file format... is not supported..." Please help. Thanks CONTROLLER: [CODE]public …

0
82
Member Avatar for veledrom

Hi, I want to buy a Codeigniter book to learn its framework and develop PHP applications with it. I've been using PHP about 4 years but never used any kind of framework before. Which one of these books would be good for me to get staring: [URL="http://www.amazon.co.uk/CodeIgniter-Professional-Development-Adam-Griffith/dp/1849510903/ref=sr_1_1?s=books&ie=UTF8&qid=1304357639&sr=1-1"]CodeIgniter 1.7 Professional Development[/URL] …

Member Avatar for veledrom
0
215
Member Avatar for praveen_dusari

hi all, i am using json and codeigniter for a project which it has 2 language preferences..english and french...my problem is.. in json number field has to accept (,) instead of (.) in french language can any one guide me on this... thanks, Praveen

Member Avatar for twiss
0
91
Member Avatar for veledrom

Hi, I just started learning CodeIgniter. There is a library [ICODE]$this->load->library('form_validation');[/ICODE] for form validation with rules. Does that mean we don't have to use Javascript to validate forms anymore? Because, if we have to use those validators in CI (sake of the best practise), what is the point of using …

Member Avatar for veledrom
0
951
Member Avatar for wd3bbas

[B]is Codeigniter able to protect Your Site From sql injection When You Use Active Record??[/B]

Member Avatar for McLaren
0
108
Member Avatar for thekiddy

I am selecting an image as part of a html form. Once selected, jQuery assigns a user-defined attribute of the image to a hidden form variable and passes it to form handler. Neat. Problem is when I dynamically add images that can be selected. I am using live function to …

Member Avatar for Airshow
0
698
Member Avatar for samsons17

Hi all.. I am working on a website which require me to handle the image uploading and retrieval. This website is some kind like an image gallery. Straight to the point, i am having trouble in retrieving the last image to be displayed on my view.Clearly to be said, i …

Member Avatar for mr.allty
0
203
Member Avatar for McLaren

[CODE] if(!$this->upload->do_upload()) { //echo $config['upload_path']; $error = $this->upload->display_errors(); echo $error.':err'; //pagal galune .err javasctriptas atskirs kad cia klaida } else { $data = $this->upload->data(); $this->load->model('Image_model','image'); if($data['image_width'] > 700) { $task = $this->image->image_resize_for_gallery('./uploads/gallery/'.$this->input->post('album_folder').'/'.$data['file_name']); if($task != 'ok') { echo $task.':err'; //pagal galune .err javasctriptas atskirs kad cia klaida } } if($this->image->gallery_thumb($this->input->post('album_folder'),$data['file_name'])) { …

0
110
Member Avatar for McLaren

Hi, I am trying to install PHPUnit and having problems. I get many errors: # pear install phpunit/PHPUnit phpunit/PHPUnit can optionally use PHP extension "dbus" phpunit/PHP_CodeCoverage can optionally use PHP extension "xdebug" (version >= 2 .0.5) downloading PHPUnit-3.5.13.tgz ... Starting to download PHPUnit-3.5.13.tgz (118,553 bytes) ..........................done: 118,553 bytes could not …

Member Avatar for McLaren
0
203
Member Avatar for mr-jacob

Hi there, I have a question about how to set up a blog with a MVC model(codeigniter). I did some research but i cant find any information because i gues i dont know the terms to look for. I know how to set it up but i get stuck on …

0
95
Member Avatar for samsons17

hi..I am wanted to use the anchor() tag which is one of the url helper in codeigniter for the div. [B] Below is the code which i want to convert into the codeigniter form :[/B] [CODE] <a href="events/page/<?php echo $id; ?>"> <div class="title_row" id="<?php echo $id; ?>"> <div class="content" > …

Member Avatar for jigarvyas
0
5K
Member Avatar for sawjuk

Hello, Guys Please help me.. 1.which are the popular CMS (like joomla,drupal) now in use with most popular websites? 2.which are the popular frameworks(like codeigniter) now in use with most popular websites? I wish to work with php,but i have only mere knowledge about php,frameworks,etc..please quote your suggestions based on …

Member Avatar for Member #120589
0
137
Member Avatar for McLaren

Hi, I have one question: I am programming with PHP, CodeIgniter. But it may suit for other tools as well. I need to delete something from the table and I want to be sure that there will be deleted row from another table. In short - delete to rows, each …

Member Avatar for McLaren
0
463
Member Avatar for samsons17

Hi all. I got some problem here. I made a website using codeigniter framework. And on my website there is the list of events that are happening at my university.. Whenever a person click on the events title bar, a slide panel like Twitter will shows up next to that …

0
69

The End.