17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for gyannitin

Hi All, When I am fetching a photo from the database, it is getting save into my tomcat server root directory. Now to use this photo i have to give path as C:\Program Files ...... I dont want to hard code this path in any of my web page. Is …

Web Development image java-jsp web-server
Member Avatar for gyannitin
0
87
Member Avatar for thinstaafl

Please help! I have a form with checkboxes. When one or more checkboxes are clicked, I want the program to dynamically create a div, assign that div an editable text area, then when user clicks submit, I need it to gather the input from EACH textbox and output that to …

Web Development javascript xml
Member Avatar for sana3366
0
217
Member Avatar for phaedrusGhost

Hi all, I mistakingly posted this in the PHP forum but hope to find my solution here. I am trying to make a dropdown system for states and cities but the cities aren't coming up correctly. I have this on the root page: [code] <? echo "<form name=sel>\n"; echo "States …

Web Development javascript session
Member Avatar for phaedrusGhost
0
165
Member Avatar for adityaagrawal

Sir, I have developed a few simple projects using Netbeans IDE.They contain JSPs,Servlets,Java Classes and i use Mysql as database.Please guide me how to place them on internet.how will the databse work.I have created (exported) a[B] .sql[/B] (dump file) of my databse. I Understand that i will have to register …

Web Development ide java java-jsp java-netbeans
Member Avatar for adityaagrawal
0
208
Member Avatar for jonathan96

Basically, Im trying to get a list of groups that a member is part of in an array (excluding a few), and limiting it to certain status in that group. I want all the values returned from the query to go into an array. The problem is, when I do... …

Web Development php
Member Avatar for vibhaJ
0
100
Member Avatar for samsons17

Hi.. I've just finished built my website,and now what left is to create the login page so that i could do the admin things.. For this website i just have one user only that is me.. So ,should i create the database for the login page or not? is that …

Web Development php
Member Avatar for swilliamrobert
0
247
Member Avatar for mattlorimor

When doing email blasts using CFMAIL and CFMailPart email accounts with gmail can not view the content, (it is blank). I am using the following construct: CFMAIL CFMailPart type="TEXT" Text version of EMail here. CFMailPart type="HTML" HTML version of EMail is here. No one seems to have a problem except …

Web Development coldfusion
Member Avatar for jsmall26
0
160
Member Avatar for Nathaniel10

I manage a small website. I went over the logs this morning and found a page reference on the site that should not have been there. It was of the format "/xmlrpc.php". I did a search for the term and found the XMLRPC website. I didn't understand what was written …

Web Development php xml
Member Avatar for Nathaniel10
0
120
Member Avatar for Nathaniel10

I manage a small website. I went over the logs this morning and found a number of pages or page references on the site that should not have been there. Most were of the format "/_vti_bin/". I did a search for the term and learned about the Front Page debacle. …

Web Development php windows-server
Member Avatar for Nathaniel10
0
160
Member Avatar for Nathaniel10

I hope this is the correct forum for this question. I manage a small website. The site uses a database with MySql. When I launched the site, around 3 years ago, the PHP code I wrote had minimal security and validation in PHP because I relied on javascript validation for …

Web Development php
Member Avatar for hielo
0
144
Member Avatar for momo219

Hello all I have a form working perfectly, however I need to put this form in a $display_block .= "... ... ..."; which I have done and which works fine also (minus the following radio code). My problem is that when I add this code back inside the display block, …

Web Development php
Member Avatar for momo219
0
121
Member Avatar for dalip_007

Hi all I want to make sure that my password field should contain numbers as well as letters i am using something like function isAlphabet(elem, helperMsg){ var alphaExp = /^[a-zA-Z]+$/; if(elem.value.match(alphaExp)){ return true; }else{ alert(helperMsg); elem.focus(); return false; } } but it does nothing when there are letter in field …

Web Development javascript
Member Avatar for dalip_007
0
100
Member Avatar for midjam

Hi this is driving me a little crazy, have been looking everywhere for a solution for the last few days. I'm new to php and i'm trying to create a simple food shopping cart, i have a repeat region for food extras attached to the food item. [CODE=php]<table width="100%" border="0" …

Web Development mysql php programming-construct
Member Avatar for midjam
0
203
Member Avatar for danimal132

When I use a GET request from a browser address bar… [URL="http:/example.com/vast/1/73188"]http:/example.com/vast/1/73188[/URL] …it loads and displays an XML output. If you then refresh the page a new file loads. Actually, there are something like 5 different titles with load in rotation as you re-call/re-fresh the page. That’s all well and …

Web Development php xml
Member Avatar for hielo
0
285
Member Avatar for ceeandcee

I am learning mySQL and PHP and am very appreciative of the help I have received here. As some of you know, I am working on a Hockey Pool site. One of my first experiments was to build a static form on a php page that would take the input …

Web Development first-post mysql php
Member Avatar for ceeandcee
0
164
Member Avatar for brown23

Hey Guys, I'm just experimenting at the moment - I've made a small application in C# that uses a WebBrowser Control to navigate to a website (which is currently on my LocalHost using WAMP) using a custom UserAgent (HelloWorld) Now, when I echo the useragent, it tells me what I …

Web Development php
Member Avatar for Stefano Mtangoo
0
91
Member Avatar for bobyx

Hello,everybody.I want to write a program that change the color of blocks and text on each block in a web page by it.You know in a web page we have many blocks and each blocks we have texts and may be shapes.[B]So,I want to assign three(3) code to each block …

Web Development javascript
Member Avatar for bobyx
0
153
Member Avatar for julianmoors

Hi guys, I have a form which has multiple drop-down menus using the standard <select> tags, but I can only get the results for the first drop-down menu. Does anyone know how I can expand the below code to support multiple variables using a querystring? Thanks, Julian [CODE]<!DOCTYPE html PUBLIC …

Web Development html-css javascript php xml
Member Avatar for julianmoors
0
225
Member Avatar for bsewell

I'm trying to populate a select box with rows from a table, but it's not showing up properly. I've looked at the source of the page, and it looks like the option html is not being outputted. Anyone spot what's wrong? [CODE]<h1>Upload Picture</h1> <form action="gallery.php" method="post"> <label for="photo">Select file: </label><input …

Web Development php
Member Avatar for bsewell
0
279
Member Avatar for nikk

I'm creating a website as my college project which consists of HTML pages and JSP. I've started writing JSP code, but don't know how to run it. Can you tell me how to proceed after creating JSP file. (i've created Login.jsp and login.html file. Gave <form method=post action="Login.jsp"> in login.html …

Web Development java-jsp xml
Member Avatar for rajmtech2010
-1
408
Member Avatar for divya.padukone

wanted to know the difference between Page.IsPostBack and Not page.IsPostBack. what is the purpose of using these? where it is being used?

Web Development asp.net
Member Avatar for jay_gandhi
0
732
Member Avatar for qazplm114477

I keep getting an error when I try to instantiate the ArrayIterator class within a name space [CODE]$a = new ArrayIterator; //works just fine namespace test; $a = new ArrayIterator; //get error //Fatal error: Class 'test\ArrayIterator' not found in /www/ on line 3[/CODE] I've been searching the web for hours …

Web Development php
Member Avatar for qazplm114477
0
213
Member Avatar for jackparsana

hi, I m working on vs 2010. asp.net. i have problem with apply class using jquery. there is one textbox. i use class by this way its perfectly work. but when textbox multilink property is true. then problem is raise. pls help me to use this... thanks in advance. jack

Web Development asp asp.net
0
119
Member Avatar for Cool&Awesome

Hi everyone, I need to modify a website created with Smarty. Pretty big website. I have 2 questions. 1. When I try to access index.php, instead of webpage I get screen full of characters. How to see the pages? Guess I need to install smarty, but even their "quick installation" …

Web Development php
Member Avatar for pritaeas
0
107
Member Avatar for Kieran Y5

Hi, I am currently creating a CMS which will allow PHP code to be used but I need to make sure that certain functions are not used that can ruin the CMS. Basically, I need a way to stop certain functions (like [I]fopen[/I]) to be executed. The only problem I …

Web Development cms php
Member Avatar for Kieran Y5
0
93
Member Avatar for Jack_1

Before i start learning php, many sites like phpBuddy say to donload php installer, Apache server and MySQL. So simply i want to know what is the use of web server and MySQl.More importantly, Also tell me how to use them correctly. If possible provide me lnks from where i …

Web Development apache php web-server
Member Avatar for justiceigwe
0
115
Member Avatar for cmccully

Hi all, I have a page that modifies (using AJAX) a list of animal characteristics stored in a database. The page uses a PHP file to control the actual access to the database. Everything works except when a duplicate entry is entered. The PHP file prevents the duplicate entry from …

Web Development html-css javascript
Member Avatar for cmccully
0
401
Member Avatar for Zexsz

I'm working on a basic CMS for a club at my school. But I'm having trouble with the log in. The log in works but after entering the user name and password and submitting it, the form comes back up and you have to do it a second time before …

Web Development cms php
Member Avatar for Zexsz
0
142
Member Avatar for bwls

I need to open a popup window from a PHP site and pass in some parameters to use in the pop up window. I have the params in an input box and need to get the val of the box into a param and pass it to the new popup …

Web Development javascript
Member Avatar for fobos
0
121
Member Avatar for ivan3510

Hi all! Sorry for my bad english (if it is bad). How is on site jango.com made that, when song plays and when we click on a button e.g.Home, or Music..., site changed, but the song still plays, it doesn't stop playing? (Which program they used to make that!) Thanks!

Web Development php
Member Avatar for ivan3510
0
118
Member Avatar for MARKAND911

i have a div tag named <div id="div1" runat="server"></div> i wrote a javascript which adds content like 0,1,2,3, in this div tag as its content. Now i want a script which will delete some of the content of div1. as like 0,2,3, how can i remove content from div tag.

Web Development asp.net javascript
Member Avatar for MARKAND911
0
178
Member Avatar for digiplaystudios

Hi There, For some reason the following is not working - Inside the text field it displays nothing: [CODE]<?php include 'dbc.php'; page_protect(); $rs_settings = mysql_query("select * from users where id='$_SESSION[id]'"); $row_settings = mysql_fetch_array($rs_settings); ?> <html> <head> </head> <body> <form action="index.php" method="post" name="regForm" id="regForm" > <input name="first_name" type="text" class="updateusersmall" id="first_name" value="<? …

Web Development mysql php session
Member Avatar for P0lT10n
0
155
Member Avatar for digiplaystudios

Hi There, I've set up a profile page where people can enter the address and then it displays all the information. However the URL doesn't seem grab the MySQL information for the certain ID. How do I do it? Example URL: [url]http://www.website.com/profile.php?id=[/url][B]1[/B] so when you go to that URL it …

Web Development mysql php
Member Avatar for digiplaystudios
0
2K
Member Avatar for mpc123

I have this very easy form to store info in a database table but i would like to be emailed once somebody has entered the details, how would i do this please? Form [code=php]<form action="insert.php" method="post"> <div align="center">Firstname: <input type="text" name="firstname" /> Lastname: <input type="text" name="lastname" /> Email: <input type="text" …

Web Development php
Member Avatar for mpc123
0
92
Member Avatar for danny4444

Hi there, I'm having a bit of a problem passing a variable from a form to a php script and could use some help. I hope this makes sense: The problem occurs when the script doesn't recognise the name of the text-area (which is a unique name that changes each …

Web Development first-post php
Member Avatar for danny4444
0
95
Member Avatar for fredw300

Hello all, I need to develop a simple web application in java that will take MS excel files as input and generate output in excel format as well. Since I am not very experienced in java I am not sure what framework should I be using. Do I need to …

Web Development java-jsp user-interface
Member Avatar for peter_budo
0
160
Member Avatar for phpDave

Hi, My mysql_error is No Database Selected. errno 1046 I am connected to the database and it has worked fine before so I was wondering what I am doing wrong. The code is from a tutorial I am using. [CODE]<?php require_once('Connections/connAdmin.php'); ?> <?php //file properties $file = $_FILES['content']['tmp_name']; if (!isset($file)) …

Web Development mysql php
Member Avatar for phpDave
0
108
Member Avatar for nyler01

How to automatically setfocus on text input in a and go back to same page after data has been entered.. Just like after you enter a data in input box, the form will refresh and the focus will go in the textbox again.. thanks in advance..

Web Development php
Member Avatar for nyler01
0
90
Member Avatar for Marian0

Hello. I am trying to get the correct code in order to get specific content shown according to the current site the visitor is on. I have done two tests: [CODE=php] <!--START TEST 1--> <?php class address { function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= …

Web Development apache php
Member Avatar for P0lT10n
0
152
Member Avatar for lwaterfo

Is there an easy way to display records in a database? I have the query set up but I don't know how to output the result to the user.. Here is my php: [CODE]<?php session_start(); if (!isset($_SESSION['memberusername'])){ header("location:contractorlogin.php"); exit(); } $user = $_SESSION['memberusername']; $sql = "SELECT Username FROM contractors WHERE …

Web Development php
Member Avatar for lwaterfo
0
81
Member Avatar for cwarn23

Does anybody know how I would use sockets to tap into the SMS protocol for sending+receiving SMS messages. Basically, all I want to be able to do is setup a php script that will be able to act as the SMS server and send+receive the SMS's directly through the SMS …

Web Development php
Member Avatar for chrishea
1
325
Member Avatar for phpuser

I made one php project in which we provide facility to create his/her own web site. Now I wants to add new feature giving different subdomains to the members' web pages. Because the number of members is about 120,000, manual configuring is not the solution. Let me give you an …

Web Development php web-server
Member Avatar for phpuser
0
134
Member Avatar for phpuser

Hi All, My client want statistics report for page visits and he gave me google analytics reference for same. In which they gave facility to get report between two dates and report wil be day, week and month wise. I having with two dates but havent any idea how i …

Web Development php
Member Avatar for phpuser
0
134
Member Avatar for terrymold

Hi I'm writing a website which will eventually create a new NewsLetter every week, which is saved in a MySQL Table. The user wants to view previous newsletters with the aim of selecting one to send out again. As each record contains 83 fields, this would be so cumbersome as …

Web Development php
Member Avatar for teedoff
0
109
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to make simple chat with php and ajax without creating mysql database? Can you write code? Thanks everyone!

Web Development php
Member Avatar for ivan3510
0
128
Member Avatar for MoreBloodWine

My PHP knowledge is extremely limited so with someone saying read this wont help me much. Anyway... below should be everything one would need to assist me. Thx in advance ! [url]http://www.myu2sig.com/EoJCardLibrary.php[/url] If you check out the above link you will see some tables where I'm pulling and displaying DB …

Web Development php
Member Avatar for MoreBloodWine
0
124
Member Avatar for c0deFr3aK

Hello, I have a newly created ASPX Website with Default.aspx and a Masterpage. on the master page i created a navigation menu i.e Home, News ect. then i created a folder inside the site and put some pages i.e page1.aspx. My problem is when im at page1.aspx (/mysite/folder1/page1.aspx) then hit …

Web Development asp.net
Member Avatar for c0deFr3aK
0
94
Member Avatar for dirkjan75

So, two pages: first one is a simple datasource & gridview with edit button, is working. Second is the same code but then in a contentplaceholder page, linked to a masterpage. Now the code is not working, when editing, it returns empty fields in steds of edited fields. [CODE]<%@ Page …

Web Development asp.net
Member Avatar for dirkjan75
0
279
Member Avatar for andrewliu

Hello, I was wondering what could be wrong? There is this ajax code that I'm trying to work on and its supposed to show the results in a div tag when submitting a search form, but theres no results. here's my code [CODE]$(document).ready(function(){ $("form.ajax").submit(function(){ var ajax_div = $(this).attr("id")+"_results"; var data …

Web Development html-css javascript seo
Member Avatar for andrewliu
0
353
Member Avatar for lwaterfo

Hi all, Newbie question;.... I have a database and a table within called 'data'.. I also have a login script that allows users to access it. My question is..how do I make only the user's record viewable/accessible after login. Specifically, how do I access, the a specific record in the …

Web Development php
Member Avatar for lwaterfo
0
114

The End.