17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for gonidelux

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\baby\mail_result.php on line 16 [CODE]<?php $contact_us=1; include("dbconnect.php"); include("funksione.php"); include("header.php"); include("left.php"); include("tbl_begin.php"); $from=$_POST['email']; $sender=$_POST['name']; $headers = 'From: $sender' . "\r\n" . 'Reply-To: $from' . "\r\n" . 'X-Mailer: …

Web Development email php
Member Avatar for pritaeas
0
106
Member Avatar for aPPmaSTer

Hey everyone, I'm working on a web application that's supposed to be compatible with all browsers, yet IE, as usual, is giving me one hell of a headache. I'm posting the code below, it's very straightforward... 3 divs containing ordered lists are made hidden/unhidden via a select menu. The problem …

Web Development javascript web-browser
Member Avatar for matricol
0
138
Member Avatar for cwarn23

Hi and for the past 4 days, I have been trying to make a secure spam-proof blog with no login. I manage to embed a lot into a demo but the following code I know works (as I have made it work on my forum login) but has an error …

Web Development javascript php
Member Avatar for spidersdesign
0
306
Member Avatar for gonidelux

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>The Book Center</title> </head> <body> <?php include('header.html'); //shtohet pjesa e kodit qe gjendet ne fajllin header.html // ne variablat perkatese ruhen vlerat perkatese qe vijne nga fajlli paraprak $bookid=$HTTP_POST_VARS['bookid']; $title=$HTTP_POST_VARS['title']; $datereal=$HTTP_POST_VARS['datereal']; $cost=$HTTP_POST_VARS['cost']; $pages=$HTTP_POST_VARS['pages']; $genderid=$HTTP_POST_VARS['genderid']; …

Web Development php
Member Avatar for gonidelux
0
322
Member Avatar for sree22_happy

Hi friends Can anyone tell me about the difference between <%@include file="abc.jsp" %> and <jsp:include file="abc.jsp"/> :-/

Web Development java-jsp
Member Avatar for haribol
-1
2K
Member Avatar for dhruv_arora

I made two scripts register.php and register1.php, the register.php takes the values and register1.php process them and stores them into a mysql database. after i fill in the form and press submit, I get an error. I am using mySQL 5.5.8 Register.php [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <html> <form action="register1.php" …

Web Development mysql php
Member Avatar for dhruv_arora
0
189
Member Avatar for saikishore

Hi Frnds.. plz check below code & tell me how to create DB table,inserting values for checkboxes.... its urgent plz.. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>shopping</title> </head> <body class="bg"> <table width="780" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td>&nbsp;</td> </tr> …

Web Development php
Member Avatar for Daulat007
0
943
Member Avatar for sha1023012

Hello everything, I am not uderstanding what i did wrong. Everything looks good but before they submit the information it should ask to re-enter the password. Can someone help me out to understand this. Here is my code [CODE]<?php function showForm($strMessage){ echo "<h1>".$strMessage."</h1>"; echo " <p>Note: fields marked with '*' …

Web Development html-css php
Member Avatar for diafol
0
112
Member Avatar for didi00

Hi everyone. So I'm trying to make a thumbnails for the products from my shopping cart. A script wa suggested to me which is this: [url]http://shiftingpixel.com/2008/03/03/smart-image-resizer/[/url] Which looks simple and nice. The problem is this: When I merge the script and my code together I get this (the file is …

Web Development apache php
Member Avatar for didi00
0
522
Member Avatar for Graycode

Hi! I'm not sure if there's something i'm missing... I want to implement the Wordpress Gallery Plugin into my site. I want it to be present just after the navigation (which would be stuck to the top if the browser window almost as if it were in header). I'm sure …

Web Development php wordpress
Member Avatar for Graycode
0
145
Member Avatar for rakibtg

hello, i am trying to add a feature in my contact form that create a link with visitors submitted 'TITLE' and 'URL'. Have a look at this code! ***In this code [B]$attn = Visitors submitted URL[/B] and [B]$visitor = Visitors submitted title[/B]. [CODE]$todayis = date("l, F j, Y, g:i a") …

Web Development email php
Member Avatar for rakibtg
0
193
Member Avatar for apanimesh061

I want to know what types of useful softwares can be made by using ASP.net/C# ? I have Software Engineering and Web Development as my subjects ...... What type of softwares can I design for a project ? Currently I was working of a ChatRoom application !!!! Please help !

Web Development asp asp.net c# engineering web-design
Member Avatar for Sarama2030
0
262
Member Avatar for prabhjitsw

Hi everyone My problem is that i am using javascript form validation for the first time and have made a function "Validateform()" to validate "emailid" field in my Form. Now the problem is that it's not working. Now in my registeration form when i enter a wrong email id for …

Web Development html-css javascript php
Member Avatar for twiss
0
400
Member Avatar for sha1023012

I have a few questions about PHP. I am a newbie and still a little confused. Now when you do a form for php do you put everything on one page or use links for the page. Such as HTML,PHP and the form. Or can the form just be on …

Web Development php
Member Avatar for twiss
0
98
Member Avatar for pebesoft

Hello all, Think I am going mad I want to do a simple update and get a parse order at line 1. 1: UPDATE ir312 // the table name 2: SET 3: R3_21 = $tot // R3_21 is the field name, $ tot is an amount 4: WHERE irdnumber=$irdnumber The …

Web Development php sql
Member Avatar for pebesoft
0
123
Member Avatar for sha1023012

I am working on this code for php with HTML now i want a container around the information but it is not turning out. Can someone help me understand what I am doing wrong. Should my HTML code suppose to be at the top of the page or not. Here …

Member Avatar for sha1023012
0
150
Member Avatar for Joe34

It sounds confusing, but is quite simple. I have a square div, and using css I have four circles replacing the corners of the of the divs border. I want the user to be able to click on one of the corner circles changing the curser image and calling the …

Web Development html-css javascript
Member Avatar for ko ko
0
305
Member Avatar for Sorcher

I dont know why this code will not show any data from the mysql......................... [CODE]$query = "SELECT * FROM g_attack WHERE winner ='$username' ORDER BY created ASC LIMIT 10"; $row = mysql_query($query) or die("Could not connect to db"); while ( $result = mysql_fetch_assoc($row)) { $created = $row['created']; $looser = $row['looser']; …

Web Development php
Member Avatar for Sorcher
0
64
Member Avatar for preston326

Hello, this error has been torturing me for an hour... [I]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''lock'='0' where pmID='206'' at line 1[/I] This is the code: [CODE] else { print "ŽinutÄ— …

Web Development php
Member Avatar for preston326
0
103
Member Avatar for dhruv_arora

Hey, I am new to PHP and I wrote this it supposed to validate the from and add the errors to an array variable (which will be showed on later), I am having problems on line 41, when I run the script it says [B]Parse error: syntax error, unexpected '{' …

Web Development php
Member Avatar for dhruv_arora
0
81
Member Avatar for virendra_sharma

Hi Frnz , i am getting the error while i tried to add ajax control toolkit to .net framework. i have added ajaxcontrol toolkit to bin folder on webapplication .

Web Development asp.net
Member Avatar for virendra_sharma
0
92
Member Avatar for coleguitajuan

Hello guys, I'm starting to learn Javascript and I'm having trouble combining 3 text fields on a form in order to submit it in a single textfield. For example I have the following texfields: [CODE]<input id="country_code" name="country_code" size="6"> <input id="area_code" name="area_code" size="5"> <input name="hphone" size="9">[/CODE] I want to combine them …

Web Development javascript
Member Avatar for coleguitajuan
0
133
Member Avatar for didi00

Hi everyone. Hopefully this will be the last thing that I need to do to my shopping cart. Basically I have a product details and it gives me the actual picture in its actual size. In order to look more neat, I want to make the pictures to be like …

Web Development php
Member Avatar for didi00
0
296
Member Avatar for Jaklins

My php code for upload is supposed to filter out images with file extentions different than the ones below and bigger than 5 Mb. It's a normal post fileField form in html that runs this php script. It works like a charm on Firefox and Chrome, but for some reason …

Web Development file-system php
Member Avatar for Jaklins
0
704
Member Avatar for branding4you

I want to keep what the user selected so when he clicks back and goes to my search the values are still there, have three listboxes. Country, State, City Country Listbox [CODE] <select name="country" id="country" onChange="filter_state();"> <?php echo "<option selected>" . $_POST['country']; "</option>"; $sql = "SELECT * FROM tbl_country"; $result …

Web Development php
Member Avatar for IIM
0
139
Member Avatar for baig772

i m creating a new row onclick containing 3 drop downs in it, if i add 3 rows drop downs are shown but thier names are same, how can i change the name of every drop down in each row so that it can be handled on php page? any …

Web Development php
Member Avatar for diafol
0
94
Member Avatar for untio

Hi, I am starting to learn JavaScript. But now I need a good IDE to code. Obviously I need a free IDE, I am not planning to make money with my code. Can experts give me some advice. Thanks in advance.

Web Development ide javascript
Member Avatar for untio
0
129
Member Avatar for facarroll

I have two related scripts. The first script displays a pass or fail icon depending on whether the value of passState is 1 or 0. If a student failed a quiz the row also displays a link to check.php so that the student can view their quiz attempt in a …

Web Development php session
Member Avatar for facarroll
0
132
Member Avatar for didi00

Hi everyone. So I have a shopping cart which has a product details. The thing is, the photo is taken from the database but it is just a plain photo. I want to make it more pretty, so I want to add the prettyphoto script to it. Basically I have …

Web Development image php
Member Avatar for didi00
0
88
Member Avatar for shyam2011

<?php // Inialize session session_start(); include('config.inc'); // Check, if username session is NOT set then this page will jump to login page if (!isset($_SESSION['username'])) { header('Location: index.php'); } ?> <html> <head> <title>Secured Page</title> </head> <body> <?php $result = mysql_query("SELECT user.password, data1.dob FROM user INNER JOIN data1 ON user.username = data1.username …

Web Development mysql php session
Member Avatar for vibhaJ
-1
1K
Member Avatar for sha1023012

Hello everyone, My table is not showing right I have look over my code but I do not see anything wrong. So I figure I post it on here to see if any of you guys see it. Here it is [CODE]<html> <head> <title> Html Tables</title> </head> <body> <?php echo …

Web Development php
Member Avatar for rotten69
0
2K
Member Avatar for abhi10kumar

[CODE] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC] [/CODE] The above works only for branid=27 and If I include mutilple statements, LIKE [CODE] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC] RewriteRule ^(.*)$ /products.php?brandid=42&pname=$1 [NC] RewriteRule ^(.*)$ /products.php?brandid=47&pname=$1 [NC] [/CODE] it will also run for …

Web Development php
Member Avatar for vibhaJ
0
2K
Member Avatar for heshanm

Hi all, According to my project, if a customer opens an account he should be able to deposit or withdraw cash. This is my table structure. [B]account_details[/B] (account_number, nic, full_name, name_with_initials, phone_number, address, gender, date_of_birth) [B]account[/B] (account_number, account_type, fd_period, account_balance, account_interest) [B]transaction[/B] (tran_id, transaction_type, from_account, to_account, transaction_amount, transaction_date) I want …

Web Development html-css php
Member Avatar for diafol
0
461
Member Avatar for baig772

i m suffering with the following error Warning: oci_connect() [function.oci-connect]: ORA-01017: invalid username/password; logon denied in C:\wamp\www\New Folder\connection.php on line 4 but i've tried atleast 100 times, username and passwords both r correct $conn=oci_connect("sysdba", "hammad90", ""); is thr any problem in the above code?

Web Development php
Member Avatar for baig772
0
794
Member Avatar for apanimesh061

[CODE] [I]Server.aspx[/I] <%@ Page Language="C#" CodeBehind="Server.aspx.cs" AutoEventWireup="false" Inherits="AMChat.Server" %> <p> &nbsp;</p> [/CODE] [CODE] [I]Server.aspx.cs(excerpt)[/I] namespace AMChat { /// <summary> /// Summary description for Server. /// </summary> public class [B][U]Server[/U][/B] : System.Web.UI.Page { private void Page_Load(object sender, System.EventArgs e) { . . . [/CODE] When I build this application, I get …

Web Development asp.net
Member Avatar for apanimesh061
0
90
Member Avatar for veledrom

Hi, I have a problem related to BACK button in browsers. In [U]very first page[/U] my basket shows "0 item". I go to [U]next page[/U] to add one item to basket and it shows "1 item" in [U]current page[/U]. If I hit BACK button in browser to go back to …

Web Development caching php
Member Avatar for veledrom
0
2K
Member Avatar for jacob21

Hi,I want to retain value of checkbox,when some validation error occours. In this i am calling a function checkCheckBoxes() & want to call this function when validation error occours. [CODE]<input type="checkbox" name="chk1" onclick='checkCheckBoxes() <?php if (isset($_POST['chk1'])) echo ' checked="checked"'; ?>'/>check for Birth year only [/CODE] function [CODE]function checkCheckBoxes() { if(document.myform.chk1.checked) …

Web Development php
Member Avatar for urtrivedi
0
88
Member Avatar for jonsan32

I've searched a while, can't find this... I'm looking for a way to present two choices for values, then to have a result immediately appear based on those choice. IE... The first choice is an option between 1, 2, 3, 4, or 5 players... and the second choice is an …

Web Development javascript mathematics
Member Avatar for jonsan32
0
228
Member Avatar for karthik_ppts

Hi Frendz, In my vehicle tracking system, I have got the latitude and longitude points of the vehicle for every 30 secs while the vehicle moving. Now i need to get the report of the vehicles when it crosses from one state to another state and one district to another …

Web Development php
Member Avatar for karthik_ppts
0
179
Member Avatar for avocado_juice

Hello, I wanna ask about scan card. Is there any way to disallow keyboard input and only allow scan card input to key in a field? FYI, I am using vbscript, html and javascript for this program. So, may be doing something with the javascript? How about limit the time …

Web Development javascript vbscript
Member Avatar for avocado_juice
0
3K
Member Avatar for Sorcher

Alright so whatever i do i cant get this to work. Now...im not a wizzard or anything but why does it have to be so damn hard to find out if its more than 2 minutes or more in difference by the time in database to now. The "timed" in …

Web Development php
Member Avatar for Sorcher
0
185
Member Avatar for public-image

Hello Guys! :) I am just wondering how I would be able to echo a random [B]hour[/B] timestamp. Any help would be appreciated! Yours, Public-Image

Web Development php
Member Avatar for edwinhermann
0
8K
Member Avatar for didi00

Hi everyone! I'm trying to add the class="" to an image tag in php but I can't make it work. The code is this: [code] echo "<td width=\"$columnWidth%\" align=\"center\"><a href=\"$url\"><img class="pImageCenter" src=\"$image\" border=\"1\" /><br>$name</a></td>\r\n"; [/code] Help please

Web Development php
Member Avatar for MrDJK
0
76
Member Avatar for simirnov

Hi, I am new to php development! I have email table in my database which has email records. On the page read_emails.php, i have two buttons, one is of Reply and second is of Delete. My delete button is not deleting the email record in the database.[B] Please help me …

Web Development php
Member Avatar for calebcook
0
421
Member Avatar for nonshatter

Hi there, I am in the process of implementing draggable/droppable interaction using the JQuery UI. This is something that I have very little experience with so please be gentle. I can drag and drop using <tr> elements which looks great, but I need to get the <tr> attributes (perl variables) …

Member Avatar for nonshatter
0
114
Member Avatar for k9shark

Hi all.. I've learnt a bit of html and css in the last week, and am eager to start with more complex website actions than simply posting widgets.. For instance, allowing comments to be made and feedback etc.. I was wondering whether PHP is a good place to start for …

Web Development html-css php
Member Avatar for diafol
0
229
Member Avatar for ranj_s20

I am using crystal report of VS 2008. I want to open a crystal report in PDF even when it is loaded with out showing the crystal report . I also not want to show the save dialog box while opening in PDF. With code below the report is opening …

Web Development asp.net dataset pdf
Member Avatar for ranj_s20
0
376
Member Avatar for sathyanshan

Hi all, I am doing a small project which needs Tab control in JSF page.. so i went for MyFaces Tomahawk. While using it I experience a different error. While using components like Input Calendar, Input date etc, Its working Fine.. But while using TabbedPane It throws me an excpetion …

Member Avatar for sathyanshan
0
459
Member Avatar for johndohmen1963

Can someone tell me wy image/png dos not workinig in IE Her i have the code [CODE]<?php session_start(); if(!session_is_registered(myusername)) { header("location:../../../weinachtfeier.php"); } ?> <body bgcolor="blue"> <?php if (isset($_POST['senden'])) { if($_FILES['cover']['size'] === 0 || empty($_FILES['cover']['tmp_name']) || $_FILES['pic']['size'] === 0 || empty($_FILES['pic']['tmp_name'])) { echo("<form action='albums.php' <div style='background-color: blue; border: solid red 3px; …

Web Development image php
Member Avatar for johndohmen1963
0
138
Member Avatar for apanimesh061

This is a snippet of global.asax.cs. [CODE] . . . . namespace AMChat { public class Global : System.Web.HttpApplication { private System.ComponentModel.IContainer components = null; public static AMChat.[B][U]ChatEngine[/U][/B].IChatEngine Engine = new AMChat.[B][U]ChatEngine[/U][/B].ChatEngine(); . . . . [/CODE] I have a folder 'AMChat' in which there is another folder 'ChatEngine' which …

Web Development asp.net assembly
Member Avatar for kvprajapati
0
146

The End.