38,021 Topics
| |
The iPage ISP places limits on sending emails (200 in 1 hour 2000 in 1 day). I've built a PHPMailer application for a small retirement club that needs only to send out about 250 emails twice per month. iPage will not budge on allowing this to occur. They purport it's … | |
I am a newbie, really need your help. I've been working on this for 2 days and can't get it to work correctly. I have a form that I want to submit to the database "New Lead" form. I am using the submodal feature for the customer notes. For some … | |
Hi, I am making a mini cms for managing my website and to increase my php skills so I wrote some code to give out the result of a query by using mysql_result(..,..,..); but when I tried to echo it out, the php code which is stored in my database … | |
Hi, I coded a script and I have started to use it with facebook apps. I want to set cookies while users are using my app. In firefox, cookies are working normally;however, the application do not set cookies in Internet Explorer and users cannot have any restriction. There are my … | |
Hey All! I'm having trouble getting the nodeValue of a specific set of nodes. The xml looks like this: [ICODE] <root> <SpecialParameter>Some Text</SpecialParameter> <SpecialInfo someNumber="123456789"></SpecialInfo> <book> <title>Rusty Bedsprings</title> <author>I. P. Knightly</title> </book> <book> <title>Rush To The Out House</title> <author>Willie Makeit</title> </book> </root> [/ICODE] What I need to get are the … | |
Hi there, since recently i have been trying to master HTML, and now i am full ready to take on PHP therefore, just like HTML instead of making many .html files | i want to use the PHP dynamic page function that can show me pages from database. usually as … | |
Hi, I have 4 checkboxes. red black brown white What i am trying suppose if red is checked then my query execute "Select * from tbl where color='red'"; similarly for black "Select * from tbl where color='black'"; Need suggestions.I have knowledge of PHP,Mysql but not of java script,ajax | |
Hello , have any one know how to develop a zend framework site, the include admin(control panel) and visitor sections . thanks | |
hi all, i am new to php. i am developing a login where i compare encrepted password and set session to the user and login to the system. but I need mote to do with this. I need to know how to lock IP if a user try more than … | |
Hey everyone. I've been trying to install my own webserver on my computer along with PHP and MySQL. I thought I installed everything correctly but I just uploaded my first script and NONE of the PHP seems to be working. I'm running apache v2.0.x, the latest version of MySQL and … | |
I Don't Know What Is Zend Framework. I Want Some Information About This . Like What ? Why ? How ? Zend Framework Is? So If Anyone Here Know At Leaset About It Then Please Share With Me... | |
Hi friends.... I want to add a customer support chat on my website in PHP. I downloaded some codes also from internet but their configuration is very difficult for me. Do anyone have code of Customer Support chatting in PHP?? Please share with me. or have any idea how I … | |
I have a form which action is a php script. That script returns a header('Location: whatever.html'); Now my question is, would be a way through ajax/javascript to do that only the form were sent, but avoid or prevent the redirection to whatever.html? Also, if would be possible know the page … | |
I'm no sure if this is the best forum to ask this question. It doesn't seem to fit in any of the categories. I've set up a password protected directory using htaccess. The client now is asking for customizable error messages if the user enters the wrong user name or … | |
hello! I have zend framework 1.10.8 and xampp, but the problem is i don't how to install it. Do you have guides or steps there in installing zend framework in xampp. Please help me. i really want to learn this framework. thanks for advance | |
See,am working with joomla 1.5 component,i want to create a component so that it can submit some datas to database...so i have a folder "com_lessons" inside the "component" folder.so u know,we have controller,model,view, for creating a component...sn't it?? [CODE] <form action=""> <table width="400" border="0"> <tr> <td>Lesson Title</td> <td><input type="text" name="lesson_title" … | |
Hello,Can anybody show the work flow (working) of MVC architecture with example??Provide me the code...if you can.. | |
I have this code. I put everything within <?php ?>. Because I thought that would help. I have the code commented for easier read. Can someone please show me where I went wrong, or what I forgot? [code] <?php ?> <html> <head> <style> body { background-color:#000000; color:#E27907; font-family:Verdana,Arial; font-size:10pt; letter-spacing:2; … | |
[CODE]<table width="100%" align="center" border="0" bgcolor="#FFFFFF"> <tr height="30px" style="color:#000000;" > <th>Unique ID</th> <th>Username</th> <th>Form Name</th> <th>Name</th> <th>Mobile</th> <th>DOB</th> <th> </th> </tr> <? /*$username="username"; $password="password"; $database="your_database";*/ mysql_connect('locahost', 'username', 'password') or die(mysql_error()); mysql_select_db('database') or die(mysql_error()); $query="SELECT * FROM table_name WHERE user_id='username'"; $result=mysql_query($query); $num=mysql_num_rows($result); mysql_close(); $i=0; while ($i < $num) { $form_id=mysql_result($result,$i,"form_id"); $form_name=mysql_result($result,$i,"form_name"); $username=mysql_result($result,$i,"user_id"); $first=mysql_result($result,$i,"first"); … | |
Hello, I'm new to php, I'm working on a website for employment. I want user to be able to pull data from mysql by using selection from drop down menu. I have a table call jobs, inside this table there are 5 columns: JobType, Place, Wage, Phone, Date. I created … | |
In a few URLs I have on my website, they feed a parameter into the URL that sometimes contains [] in it. I have a preg_replace fixing some links, but the [] breaks my current system. How can i make this work? (I need it in the second half, for … | |
Hi, I have a code here (in a model behavior). [CODE] function beforeFind(&$model, $queryData) { foreach($model->cryptedFields AS $key => $field) { if(strstr($queryData['fields'],$field)) { $queryData['fields'] = str_replace($field,DboSource::expression("AES_DECRYPT({$value}, '{$this->aesKey}')"),$queryData['fields']); } } return $queryData; } [/CODE] I want certain fields to be affected with AES_DECRYPT, however, it does not work. When i use … | |
Is there an easy way to post a form to the same page. I currently have an HTML (/javascript) page with a number of selection forms. I want to then display certin HTML below below based upon the users selection. Many Thanks, | |
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. | |
the following code gives first date of week for the given date range. how to get week number from the date??? thanks. [CODE]<?php $start = $week = strtotime('2011-01-01'); $end = strtotime('2011-02-01'); while($week < $end) { echo date('Y-m-d',$week), PHP_EOL; //echo week num??? $week = strtotime("+1 week", $week); } ?>[/CODE] | |
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'); … | |
This is a very newbie post. I think I'm just missing something. Anyway. I'm trying to display the contents of one column's field (not column name) specified by the contents of another filed in the same row. Here I show you my table and what I need: [code] Enter password: … | |
| this is the code to email confirm. The user clicks on the link in the email, passing the code through url to this page. Then the data is transferred from a tmp table to main one. I have queried in phpmyadmin and it works fine. But when i actually use … |
Hi I have the error message in the line 61 : mail($mailto, $subject, $message, $header); I can't figure out what is wrong :( Can you advise ? thanks [CODE] <?php /* * v1.7 * * * */ $fromname = $_POST['fromname']; $mailfrom = $_POST['mailfrom']; $msg = filter_var($_POST['msg'], FILTER_SANITIZE_SPECIAL_CHARS); // filter from … | |
Hi i have 2 files one is Left.php which is is getting categories of product...code is [CODE] <?php require('Connection.php'); $query ="select distinct(P_Category) from tblProducts_info"; $result = mysql_query($query); if(!$result) { die('echo invalid query:,mysql_error()'); } else { if(mysql_num_rows($result)>0) { while($rows= mysql_fetch_array($result)) { $P_Category = $rows['P_Category']; $cat_List=""; $cat_List = "<li class=\"odd\"><a href=\"services.html\"?P_Category=$P_Category>$P_Category</a></li> "; … |
The End.