39,388 Topics

Member Avatar for
Member Avatar for HunainHafeez

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 …

Member Avatar for HunainHafeez
0
211
Member Avatar for maori

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 …

Member Avatar for diafol
0
156
Member Avatar for nicoalmighty

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 …

Member Avatar for LastMitch
0
207
Member Avatar for bafaqih

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 …

Member Avatar for LastMitch
0
331
Member Avatar for asrsmunna

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 …

Member Avatar for rayidi
0
251
Member Avatar for Riu 2009

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 …

Member Avatar for Riu 2009
0
156
Member Avatar for McLaren

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 …

Member Avatar for McLaren
0
309
Member Avatar for tonyfonseca

<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 …

Member Avatar for tonyfonseca
0
3K
Member Avatar for mmcdonald

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]: …

Member Avatar for pritaeas
0
233
Member Avatar for Dendei

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 …

Member Avatar for Dendei
1
965
Member Avatar for reemasmartin

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

Member Avatar for Bachu
0
192
Member Avatar for bettybarnes

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() { …

Member Avatar for bettybarnes
0
320
Member Avatar for sparkles_links

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']; …

Member Avatar for sparkles_links
0
122
Member Avatar for nit8899

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); …

Member Avatar for nit8899
0
1K
Member Avatar for andyy121

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????

Member Avatar for rayidi
-2
321
Member Avatar for austenr

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> …

Member Avatar for simplypixie
0
130
Member Avatar for persianprez

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);"> …

Member Avatar for urtrivedi
0
290
Member Avatar for rayidi

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

Member Avatar for chrislim2888
0
346
Member Avatar for Panathinaikos22

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

Member Avatar for chrislim2888
0
148
Member Avatar for xbat

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?

Member Avatar for xbat
0
132
Member Avatar for pjh1985

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 …

Member Avatar for pritaeas
0
203
Member Avatar for showman13

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 …

Member Avatar for showman13
0
109
Member Avatar for visualmonk

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 …

Member Avatar for rayidi
0
2K
Member Avatar for rayidi

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"); …

Member Avatar for rayidi
0
3K
Member Avatar for ajay.motah

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!

Member Avatar for iamthwee
0
111
Member Avatar for PHIPH

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..

Member Avatar for pritaeas
0
62
Member Avatar for Alochai

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 …

Member Avatar for Alochai
0
332
Member Avatar for ratanji

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 ???

Member Avatar for ratanji
0
154
Member Avatar for newbie26

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.

Member Avatar for newbie26
0
467
Member Avatar for mionazraelmiranda

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 = …

Member Avatar for mionazraelmiranda
0
233

The End.