39,326 Topics

Member Avatar for
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
461
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
231
Member Avatar for code739

Hi guys, Im just confuse...heres the situation Im having photo uploads in php.., before uploading temporary file will be created my question is where can you find the temporary file, @the web server(where your php app is runnin) or @the client PC(where the uploading session is done) thanks in advance.....

Member Avatar for code739
0
228
Member Avatar for darl.liew

Hi, I need help with this... can anyone help me?? Plssssss Im getting Parse error: syntax error, unexpected T_VARIABLE, expecting T_STRING in line 10 What's wrong with it... can't seemed to find the error. Im trying to make my blog display the video. <?php $file = $_GET['file']; $image = $_GET['image']; …

Member Avatar for darl.liew
0
5K
Member Avatar for edsweng

Is it possible to embed variable in longtext data field? **For instance:** the field name is "description" and it contains... The date is $date_var. **In PHP/MySQL Query:** $date_var = date('m/d/Y'); echo $row['description']; **The output should be:** The date is 10/14/2012. please advise.

Member Avatar for edsweng
0
109
Member Avatar for davBro

Hi can someone help me out, please. I have been using the same file upload script on three websites that I manage, with great success. But recently I have encountered some errors when accessing the file upload form on my locahost server on my own computer server. This has never …

Member Avatar for davBro
0
411
Member Avatar for andyy121

i have create a html page with log in,log out,register ect... i wont to create a admin page for this,for example if i wont to change images colors border color add image or something else can somebody suggest me what i have to do,give me some ideas.

Member Avatar for andyy121
0
128
Member Avatar for colorockies1975

Hello experts, I'm new to PHP/Javascript. I am working on an Online examination system for prospective candidates. This is so as to learn object-oriented programming for my improvement. Story So far: I have the mechanism in PHP/Javascript/Mysql to create an online test. This lets the user select the kind of …

Member Avatar for sukhoi1027
0
565
Member Avatar for Clanstrom

Hi guys. It's been a third day now, I am having problems with header. I have many included files which output echo before the header, so since I can't output them after the header, I used ob_start(); and ob_flush(); but still I am getting header problems. If you wanted to …

Member Avatar for diafol
0
149
Member Avatar for vishalonne

Hi Every Body I am facing problem in retreving the data from my mysql table I want to use prepared statement with mysqli for security reason. Here is my code Please give a guidance - <?php $host="localhost"; // Host name $username="**********"; // Mysql username $password="**********"; // Mysql password $db_name="**********"; // …

Member Avatar for adam.adamski.96155
0
220
Member Avatar for anna.piperides

Dear community, May I ask you for your help please. I have two pages: item page, where customer selects required size and basket page, where this size is displayed alongside other information. All the data is passed OK, but 'size' data is not. Here are the pieces of code that …

Member Avatar for anna.piperides
0
161
Member Avatar for squeak24

I am currently in the process of creating a open source dating script. I am nearly there. Just one thing that I can see that is an error now. When a user completes there profile, other users can see the answers, but the person who the profile belongs to can't. …

Member Avatar for squeak24
0
211
Member Avatar for vizz

I have 12 field form One field is file (How to validate for **.doc**, **.docx**, **.pdf**) How to send all information and file as email? I found complicated codes. Can anybody help with simple one?

Member Avatar for vizz
0
152
Member Avatar for marvolo1300

Hi. This code should be functional but I can't seem to figure out why this won't work. Thank you in advance. <?php function e($f){ echo ($f); printf("\r"); } e("setup"); $user->setup(); /* globale variablen setzen */ global $phpbb_root_path; global $phpEx; global $db; global $config; global $user; global $auth; global $cache; global …

Member Avatar for diafol
0
578
Member Avatar for dalilice

Hi, I'm rather new to php so...I use simplepie to parse rss feed but i want to filter them by keywords i made this code : $feed = new SimplePie(); $feed->set_feed_url(http://website.name/rss); $feed->init(); $feed->set_cache_duration (3600); $feed->set_timeout(30); $feed->handle_content_type(); $countItem = 0; foreach ($feed->get_items() as $item){ $checktitle = $item->get_permalink(); //Regex keyword filter $pattern …

Member Avatar for Squidge
0
384
Member Avatar for ehpratah

Hi need some assistance here im having an error connecting my database to the server online,the thing is it is working fine in localhost but when i uploaded it just wont work.. i already change the necessary string to match the server configuration online from config.php this is in the …

Member Avatar for ehpratah
0
200
Member Avatar for mmcdonald

Hey all. All I need is to collect every `id` from `servers` where `active ='1'` and then cycle the results in a loop right until the end for each individual id. (I've written this on daniweb, might be typo's or errors. I'm not interested in code errors it's the process …

Member Avatar for cereal
0
208

The End.