718 Topics
Hello! I am missing something... I am using phpmailer-fe to collect the information from a form and send it to me in an e-mail. This is the first time I'm using the phpmailer scripts and they seem straightforward. The form seems to process and sends the viewer to a success …
Hi all, this is my first post, so I would like to say hello to all members and will try to help when possible. What I am trying to do is to split a word document with N pages into N documents (one for each page) and give each of …
Hey Guys, I have a quick question. I want to make sure I am doing this right, according to my understanding of the PHP manual. Here's my question: If I have an "address" input field for my form and a user inputs their address and then this information is passed …
Hello, I'm a web developer,currently interested in designing flash games with AS3. also learning CI, a php framework, that's fascinating!
I have 3 tables. Locations, Units and phases. Each location can have multiple units and each unit will have multiple phases. Hence my database structure consists of foreign key associations as follows. 'Units.location_id' references 'Locations.id' 'Phases.unit_id' references 'Units.id' When I delete a Location, all associated Phases of the Location and …
Hello all, I am not new to php but what I want to try is new to me. i am designing a website (elbonfx.com)that I want to include a kind of newsletter system into. Now I have a form where visitors can insert their details and it gets sent to …
hi guys, im using linux opensuse as my web server, now i installed php there accdg to the manual, moreover, i also installed php to another computer having windows as its platform, now i compared the phpinfo() of the both pcs, ive noticed that there are some modules available on …
is this code what im doing is correct..? im using codeigniter framework of this oneā¦engine use is iNNodb [code=php] db->simple_query('SET AUTOCOMMIT=0'); $lockquery = "LOCK TABLE costumer_prof WRITE"; $db->insert('costumer_prof',$valueAdded); if($db->trans_status() === FALSE) //is this ok to used trans_status without trans_start or trans_begin..? { $db->trans_rollback() return 1; } else { $db->trans_commit(); return …
Hi, Which one do you prefer CakePHP, Symfony, Zend Framework, CodeIgniter ? I need to decide on one to go for. Thanks
So I'm trying to make a program that counts how many vowels are there in the user's first name. I tried to make the code but its not 100% functional, can someone take a look and tell me where I went wrong? [CODE]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> …
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 …
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 …
Hi, I use phpMailer to send authenticated email. The mail i sent goes into bulk or junk folders in yahoo and hotmail. They should go to inbox. How can i solve this problem? Thanks [code] $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "mail.myserver.com"; $mail->SMTPAuth = true; $mail->Username = "username"; $mail->Password …
Hi all, I am using codeigniter. I want to generate dynamically the contents of the textarea of the tinyMce. Is there any plugin for generating the content something like smarty. Thanks in advance. Jino
I am working on happinessworks website. In that we can create a some question to calculate the happiness of every user or visitor. He or she can fill up the survey report and then we can send the survey report on his/her account by using the infusion soft for that …
Hi, I want to learn ZEND Framework. I have checked the courses and they are very expensize. My question is, if I buy a book for ZEND, do you think i could learn it. I know PHP5 and OOP. I am open for other recomendations. Thanks
I want to create reports in php for which i need php_pdf.dll.I am using php5 which doesnot have this extension. I tried downloading php_pdf.dll from some sites and php.ini accordingly but it still gives me an error : Fatal error: Call to undefined function pdf_new() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\reports.php …
So I decided that I would describe my attempts at developing my own Rapid Development Framework, here on DaniWeb since they are so nice to give people free blog space. So many of you are probably asking, "What exactly is a Rapid Development Framework?" A Rapid Development Framework (I'll just …
Hi, this is my first post here, just wanted a place to post some PHP code for a Savant2 plugin I created. I hope that's ok. If you've never heard of Savant/Savant2, you should definitely visit its website. Savant is a very elegant template solution for PHP that stands out …
hello., I'm newbie here., this is my first post^^ how are u doing all??? i hope u are good. ok, let start with my problem in use codeigniter framework, where i want to upload multiple file in same form but with different allowed type (image n pdf). how can i …
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 …
Hi there, I'm currently trying to write a function that works on a 24 hour (obviously) day but it must run 4x the normal speed. So as an example, hour: 22 will pass 4 times every day. It doesn't need to work on a AM/PM basis but only hour 1-24. …
i have wamp server installed and running properly if its a simple php application. The application even connects to the database properly. I am trying to develop an application in cake php. i have cake properly installed in my webroot folder c:\wamp\www\cake_1_2. When i browse through this folder using [url]http://localhost/cake_1_2[/url] …
I have searched the web, the PHP manual and checked some reference books, but I can find any satisfactory answer to my question. Perhaps It my poor grasp of the constructor concept and it's proper application? Here is the issue: I have a an existing class constructor definition that I …
Hello friends, i need java source code for cross matching two large access database records (1st file is of 20000records {28 columns and 20000 rows} and 2nd file is of 39000records {30 columns and 39000 rows}).I need to compare each n every cell of 1st file to the each n …
Hello World, I am Antonio KC, from Peru. Currently I am developing a job board system, php based, using CodeIgniter framework.
hi all, i am using codeigniter for a shopping cart for my admin panel i created a first method mentioned [URL="http://philsturgeon.co.uk/news/2009/07/Create-an-Admin-panel-with-CodeIgniter"]here [/URL] for this iam getting error failed to open stream 'D:\wamp\www\codeigniter\admin/system/codeigniter/CodeIgniter.phpā i need to add ../ in this line [code=php]require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;[/code] how to do this i am getting error …
Hey thanks for reading this. Say I have 3 classes and I want to combine those class into a core. Example [code=php] <?php class One { public function get_me(){ echo 'Hello from class One. '; } } class Two { public function call_me(){ echo 'Hello from class Two. '; } …
Hi to all, I am using XAMPP (PHPMYADMIN) for developing my Final Project of MBA-IT. I can show the reslut in table using SELECT query, But I want to use PHPMYADMIN for reporting purpose. For Example Browse, Search, Insert, Export. Is it possible. Is there any easy PHP Reporting tool …
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 …
Hi i am new to web developnment and fortuantely i was able to create a website for my friend i have used dreamweaver to do the entire site in HTML now i am using an enquiry form where a person types his info and submits the same which needs to …
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 …
I a newbie on using the phpmailer. Correct me if i wrong. I create a html index page that a submit form. When i fill up the detail on the form press send it will send mail to my email account using phpmailer function. Question why i cant recieve the …
Hey all, I've found a lot of good help here on Daniweb, but this is my first post :) Here's my situation: I have a form that has 2 select boxes with multiple options. For the First dropdown, I have assigned IDs to each option (1,2,3,etc) For the Second dropdown, …
Does PHP Frameworks like CodeIgniter, helps a lot in buidling a websites?How? and the second question is Do I need to really a have depth understanding of OOP in PHP, so I can easily program in some php frameworks? and last is can a jQuery/AJAX work with the CodeIgniter?How?
Hi all, I plan on desining a PHP driven site. I was wondering what people used in terms of a framework (or none at all). I've looked into ones such as Cake PHP but I'm just not sure whats out there and am looking for suggestions/comments. Any feedback/input would be …
Hi guys, I have a bit of a problem here. I have dynamic URLs which are changed using mod_rewrite from 'example.php?id=204' to '/example/title-of-story-from-db/'. My problem is that I need to call a function through a link on either the example.php page or another separate page which uses information from the …
Hi everyone, I want to make a Discussions Forums Module in my website using PHP Code where i want to make a community for persons in which registered persons that know that by visiting our web site and ātalkingā to other people they will find answers they need. How i …
So I've created an array based on posted information (a big list of numbers separated by lines which has then been exploded) So this array may contain numbers from 0-100 or whatever So I have one array of numbers Now for each number I want to find out many numbers …
Hi, I am a beginner for the zend framework. I have viewed the screencast from the zend site and followed them. The summary of the screencasts are: [code] application controllers IndexController.php models views scripts index index.phtml library Zend public .htaccess index.php [/code] The codes are following: index.php: [code] <?php //error …
Hey everybody, I am currently working on a program that has to write nice PDFs, and I'm using the iText library to do this. I am nearly done, except for some major layout problems. 1. iText automatically splits tables up if it reaches the end of the page, and continues …
Hello friends As you know, the way to manage the code that you write, is very importnant. By manage, I mean that you have a good way to know where to control the core of the project, the objects' act, and managing separating view from object core. As I've reasearched, …
I'm currently unsure of how to do this. I have 3 separate scripts I'm using as well. The 2 class scripts and the "global" script to bring them together. [class_mysql.php] <- makes the mysql object [class_main.php] <- calls the mysql object in the class [global.php] <- includes both classes to …
Hey everybody, I've been working with PHP for a few months now and have come pretty far... and am starting some pretty big projects using Object-Oriented PHP design patterns. I've learned a bit about the Model-View-Controller and decided to sort of make it with twist. Before I started implementing it …
Hi folks, Working on a small project with PHP spell checking features (pspell) and wind up with strings containing both plain text (properly spelled words) and drop down lists (misspelled word suggestions) such as: The large brown [dog] ate my [homework]. Where words in brackets are drop down lists containing …
I have a server Windows 2003 which receives DHCP syslog messages from another server! With Kiwi i can listen them and write them to file! What i need is php to by able to listen to UDP syslog messages and write each message to DB. Any ideas how to implement …
Hello, Please tell how to work on this. Iam displaying data(some fields) even i have many fields in mysql database. iam retrieving data from mysql and displaying in php page now i have to convert this data into excel sheet when i click a button that too only that data …
Hello dears, I have problem with setting up a PHP bible ( [url]http://phpbible.org/[/url] ) to use in my page. Any help please! I really appreciate single jot to this problem, Steve
I'm sorry for my ignorance, but I'm fairly new to PHP, so let me explain what I'm trying to do. I'm using a CSV file as my data source, which isn't a problem, I can read/write fine. I'm using this code to create a table from the CSV file: [code] …
Hie everyone. Its been a year now using PHP and i think i do understand it now but dont understand what a PHP framework is and what it is used for, how it works, and if its necessary to use it. please help
The End.