39,388 Topics
![]() | |
guys, i developed Students alumni project,in php + mysql where students registers and check their online status and view his academic records, i completed evaluated my project on local host, WAMP(apache), and my project worked fine, all db connection, data access everthing is fine on local host but on Online … | |
hi guys having some problems and for the life of me cant work it out how can i get all users that have a registerd date of 3, 6, 12 months which i think i can make as an array and get the users that have been registerd at these … ![]() | |
hi all, please kindly give me advice and help me on my project this is just a piece of it. thanks and God Bless. i got this database error **A PHP Error was encountered Severity: Notice Message: Undefined index: username Filename: controllers/login.php Line Number: 20 A PHP Error was encountered … ![]() | |
Hi, i made an HTML contact form with the following fields name, email and message and i want to send it to my gmail address with SMTP authentication. Please can anyone guide me with a step by step process? i am new to PHP. i found the script for SMTP … ![]() | |
Hello Admin and other PHP experts..!! small question, how to send email to the email IDs, that are listed in a database, i want to sent it as "noreply(at)mydomian(dot)com" and the receipents should be in BCc. And the mail i send is a HTML Advertisement of my service. help me … | |
Hi everyone :) i am doing my final year project in PHP and MYSQL and i am just at beginner level of php.i found this forum really helpful. in my teacher module i allowed the teacher to upload video, audio, mp3 and image files and here is my code... i … | |
Hello, I am stuck with tryting to upgrade PEAR fri 1.7.2 to newest version. I want to install PHP unit and it does not like 1.7.2 version of pear. I managed to get till there: C:\Users\Darius>pear upgrade pear WARNING: channel "pear.php.net" has updated its protocols, use "channel-update p ear.php.net" to … | |
<html> <head> <basefont face="Arial"> </head> <style> body { background-color: #E6E6FA; } </style> <body> <?php error_reporting(E_ALL); if (!isset($_POST['Submit'])) { // form not submitted ?> <H3>Search Records Application</H3> <form action="search.php" method="post"> Search <input type="text" name="search"> <select size="1" name="dropdown"> <option value="" selected>Search By...</option> <option value="BookID">Book Id</option> <option value="transactiondate">Transaction Date</option> <option value="storename">Store Name</option> <option … | |
I have three scripts running under crontab and theyre executing perfectly (see the log below): Oct 9 10:40:01 servercharlie CRON[29850]: (root) CMD (php -q /var/www/folder/script-3.php) Oct 9 10:41:01 servercharlie CRON[29861]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:42:01 servercharlie CRON[29867]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:43:01 servercharlie CRON[29873]: … | |
Hello, so im trying to send an metod that takes a class as input parameter with a bunch of variables. I want to write in some textboxes in my php side of the program send them with my class and into a database. but the database part is no problem … | |
i want to create a login page for admin anduser.suppose admin is login access to all pages.But user is login only display for user details page.so any idea give me.i want to related script | |
Hello, I have a problem in my codes. Obviously, I'm beginning to program in PHP and know nothing about its advanced concepts. So I'm asking of your help. I'd like to add 2 months to the end date the user input. I tried this code below: public function inputEndDate() { … | |
I have something like this <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="xxxx"; // Database name $tbl_name="xxxxxx"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form $username=$_POST['username']; … | |
I am getting this error "Fatal error: Call to undefined function mysql_connect() in /var/www/html/test1.php on line 8" for the following code: <?php $host = "localhost"; $user = "user12"; $pass = "34klq*"; ini_set ('display_errors', 1); $r = mysql_connect($host, $user, $pass); if (!$r) { echo "Could not connect to server\n"; trigger_error(mysql_error(), E_USER_ERROR); … | |
when i search something in the database it doesn't show me what is in the databese how to connect into it or it doesnt show what is in it???? | |
I cant for the life of me understand why I get this error: Undefined index: wages in F:\EasyPHP-5.3.2i\www\PaycheckCalc.php on line 13 line 13 is: $wages=$_POST['wages']; I also get this for the following line. this is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Paycheck Calculator</title> … | |
Hey guys, I'm a noob in javascript and want to know what I'm doing wrong. What I'm trying to do basically is hava a select menu determine where my strings are to be stored. Here is what I'm doing: The code: <form id="form1" name="form1" method="post" action="push.php"> <select name="ga" id="ga" onchange="gameApp(this);"> … | |
Hey guys, i'm dng a website with geographic location, i want to track user's city or country with PHP, is it possible ? please help me guys. Thanks in advanse | |
Hello, i use geoIP to find location of visitors but seems like theyr database dont support all Citys/Regions well, im looking for a free-good ip to country provider, This is my website: http://dotest.webege.com/ Now i add geoIP script , so many IP's just are setet in NULL | |
Does anyone have any suggestions on a stat map? Wordpress has -[http://en.wordpress.com/stats/](http://en.wordpress.com/stats/) But I would like to display live people.. Any suggestions or ideas to point me in a direction? | |
Hi, I'm having a problem with what seems to be conflicting URL rewrite rules. Basically the first and second rule work individually but when i add both together the second rewrite rule no longer works. RewriteEngine On RewriteBase / RewriteCond $1 !\.(gif|jpe?g|png)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule … | |
This is sort of a long drawn out question, but I felt it needed some explanation as I don't really know which parts of the code would be helpful to evaluate... or if it is just the browser itself. I have an event registration script that I'm running into an … | |
Hello, This is about a PHP PDF utility called "FPDF." Can anyone tell me if it is possible to change the margins on the second page of a PDF using the library. I set the margins on the first page, but because the first page has a letterhead, it starts … | |
I want to working with login system jQuery ajax and json. I'm facing no problem with success function. I dn't know how to through custom errors like "incorrect login". Here is my code, Please help me. <script> $(document).ready(function(){ $("#login").click(function(){ if($("#defaultEmail").val() == ""){ $("#defaultEmail").addClass("field-err"); $("#defaultEmail").focus(); }else if($("#defaultPassword").val() == ""){ $("#defaultEmail").removeClass("field-err"); $("#defaultPassword").addClass("field-err"); … | |
hi all, i am actually working on a project. But the mysql_real_escape_string() is not working on my php5 codes. Can anyone suggest me an alternative to avoid sql injection, plz! Thank you! ![]() | |
Where can I find tutorials about creating a social website using PHP & MySQL ? I do not need a ready script, I just want to learn how to do it.. | |
I have just started using php includes on my website to help me propagate changes across an entire site. So far I have set up include for 3 parts of my site. The header, footer and the navigation, as these are quite likely to change on a regular basis. I … | |
hi i want to upload and post my pdf material in my site and its my personal institute material so i dnt want to give the download option for that file so how it is can anybody help me ??? | |
hey..can someone help me?? i have a html/php file with a command button and when i clicked it, it will run the exe file of a vb6 application. how can i do this?can i have sample code?? thanks in advance. | |
How can I avoid negative numbers from being inserted in my database table? i have a code that works but will not prompt until the value itself in the table is below 0. $nega = mysql_query ("SELECT * from `bgl` where product_code = '$product_code' and stock > 0"); $row = … |
The End.