52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for riahc3

Hey All of a suddent my Apache Tomcat server has broken. Very strange but I try going to [url]http://localhost:8080[/url] and I get a HTTP 400 error. How do I fix this as it is very strange that this suddenly appears. Using MyEclipse. Note, I believe I installed NetBeans which installed …

Web Development apache java-jsp
Member Avatar for jbennet
0
174
Member Avatar for rushikesh jadha

i don't know what setting have to make on linux to run jsp programm using tomcat, please tell me what setting and how to do.

Web Development java-jsp
Member Avatar for jbennet
0
118
Member Avatar for gopi17

Heyy guys, need some help here...the thing i'm suppose to do is, update a value for a single row, but currently its updating the value for all the row... [CODE] <?php session_start(); $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="testing3"; // …

Web Development mysql php
Member Avatar for gopi17
0
101
Member Avatar for zacharysr

Does anyone know how to use youtube's api? I downloaded it from [URL="http://code.google.com/apis/gdata/articles/php_client_lib.html#php-path-installation"]here[/URL] But i cant figure out how to use a form to send a link to it and get back the name, keywords, html, description and thumbnail link..... Does anyone know how to get this info from youtube …

Web Development api php seo streaming-service
Member Avatar for veedeoo
0
302
Member Avatar for qasim baig

hello, I have a problem with my code please help me,I am using sand box form { <form action="<?php echo $paypal_url; ?>" method="post" name="frmPayPal1"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value=""> <input type="hidden" name="lc" value="GB"> <input type="hidden" name="quantity" value="1" /> <input type="hidden" name="item_name" value=""> <input type="hidden" name="item_number" value=""> <input …

Web Development php
Member Avatar for qasim baig
0
90
Member Avatar for praveen_dusari

hi all, i have an array like this one [CODE]Array ( Array ( [0] => Array ( [id] => 12 [name] => praveen ) [1] => Array ( [id] => 14 [name] => pandu ) [2] => Array ( [id] => 16 [name] => phani ) [/CODE] and i have …

Web Development php
Member Avatar for diafol
0
373
Member Avatar for ArtphotoasiA

Hello everyone... I have a good issue here... I made a website in WP and I have now a conflict with an old plugin. That plugin is called wpdir (word press directory pro) and is useful for several reason but regretfully no one care about that code anymore. Here are …

Web Development javascript javascript-jquery
Member Avatar for ArtphotoasiA
0
153
Member Avatar for sagar2dumbre

Hello i am developing a web app...i am using MVC architecture in my design. i have one form add_Flat.jsp in which admin enter the flat details and it will be stored in database (MS-Access) no other jsp page would be open on submit button.just a message displayed on add_Flat.jsp. How …

Member Avatar for jbennet
0
168
Member Avatar for Que336

Hi there I have been trying to experiment with Parsing XML using Javascript. For some reason nothing happens. I found this example on W3 schools. Any idea why it's not working? This is my HTML page which contains the Javascript [CODE]<html> <head> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, …

Web Development javascript xml
Member Avatar for Que336
0
250
Member Avatar for pjh1985

Hi, I am building a web form which contains several groups of checkboxes with many items in each. I want to store these values in a database so they can be retrieved and updated when needed. What would be the best way to store the information from a checkbox group …

Web Development php
Member Avatar for pjh1985
0
2K
Member Avatar for Trizocy

Greetings ;) Well i need some help here. I got a site and people click on link on my site Example! the link is www .mysite.com/redirect.php/url=www.google.com/search.php?word=computer&pages=195&country=us&ip=127.0.0.1 So when somebody click on it they will beredirect to my redirect.php file for a check at link. ----------------------------- <?php $url = $_GET['url']; $myPostbackUrl=$url; …

Web Development php
Member Avatar for diafol
0
281
Member Avatar for klemme

Hi, I think by now I have the right syntax for joining 3 tables, but please correct me if it is wrong. The tables I am joining a as follows: PRODUKTER (GENERAL PRODUCT INFORMATION) VARE_TYPE (SHIRTS, JEANS ETC) SIZES (PRODUCT SIZES) What I want to do is to let the …

Web Development php
Member Avatar for klemme
0
203
Member Avatar for abdulraqeeb33

Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in C:\xampp\htdocs\xampp\display.php on line 5 Connection Failed: php is working fine, ran other simple php scripts... but this is the error when i connect to a ms …

Web Development microsoft-access php
Member Avatar for abhinav24291
0
2K
Member Avatar for bflack

Hello, I am creating a site (for practice). It is a site that works like the '9gag.com' where users can see images stored on the page. So far, I have successfully retrieved and posted image files from the server but I wanted to put on a limit on how many …

Web Development image php
Member Avatar for iamthwee
0
168
Member Avatar for Chub97

I have spent the last few days trying to optimize my site for the uploading of large video files. I have changed all the php.ini settings way over the time that it would take to upload the videos but nothing seems to work. It gets to about 30% and then …

Web Development php
Member Avatar for amit prm
0
465
Member Avatar for david_r

I am trying to pull some data from a report that is simple called an API link. I am not familiar with the data format. Hopefully, I can find out the format and see if someone has already developed some PHP code to access and manipulate this. I thought it …

Web Development api data-structure php
Member Avatar for david_r
0
113
Member Avatar for moroccanplaya

i have random mobile number with text messages, how would i go about only viewing the numbers i want for example 1234 i have [CODE] foreach($message as $msg) echo $msg; [/CODE] which displays all the messages

Web Development php
Member Avatar for diafol
0
276
Member Avatar for Whilliam

Hey guys. I need your advice on how to pass critical data from page to page. It's just one data. It's an ID from a list. It has to be secure because this data needs to be concealed. I've used: the anchor tag. I did it like this. anchor($link . …

Web Development php session
Member Avatar for cereal
0
120
Member Avatar for nick3592

Hi i would like to know how i add the ... when you cut a string in php. For example a string gets cut that exceeds the character limit and gets added with ... You can find this anywhere like on youtube or any big media site. I have searched …

Web Development php
Member Avatar for Sorcher
0
292
Member Avatar for Troy III

[I][COLOR="Green"]!below is the code snippet [/COLOR][/I] This is a multi-use property toggler. In the given example we are toggling a sub property of an element. e -is the property owner to be targeted; p - is the property name to be set; v - is the property value; henceforward changing …

Web Development javascript
Member Avatar for Airshow
0
246
Member Avatar for kikic

I made pages for login and register. I use WSAT for giving privilegies to users. I split them into two groups: Admin and Users. When the administarator login into application, he is redirected to ADMINpage. there I want to set gridwiev with informations for users. ID and USERNAME and rights …

Web Development asp.net
0
104
Member Avatar for himanshu.1691

i have a page for user registration where i a form with a image tag to it. i want the user to fill the form but as soon as he uploads the image i want the image uploaded to be displayed on the image tag. Then i want all these …

Member Avatar for himanshu.1691
0
628
Member Avatar for Fibinacci85

Hi Guys, Sorry its been a while since iv posted been busy. ok so im working on this website That I`m trying to code in plain HTML or atleast try and get as far as i can using plain HTML. so i`ve created the main page where i can navigate …

Web Development html-css javascript
Member Avatar for Fibinacci85
0
223
Member Avatar for newbie1234

Hi, I want to know. How to filter data. I have two mysql table as follow name: task_id task my_id 22 aaa 1 22 bbb 1 23 ccc 3 23 ddd 4 24 fff 5 subname:: task_id task my_id 24 fff 1 now my id is 1. I want to …

Web Development mysql php
Member Avatar for NinjaMediaD
0
129
Member Avatar for McLaren

hello, I am very disapointed by facebook like button, because it throws stupid error when I set color checme to light. But it works perfectly when I set color scheme to dark :D come on where is the logic? I spent all day trying to figure out this stupid thing …

Web Development
Member Avatar for McLaren
0
201
Member Avatar for Ender330

Hello, I have a form that I really don't want to use captchas with. The problem I have is that people cURL my site and send messages on my system slowing it down for my legit users. I am looking for a way to change the name of the form …

Web Development php
Member Avatar for pritaeas
0
353
Member Avatar for zack654

My PHP pagination code is quite messy. I use something like this: [CODE]$display = 8; if(isset($_GET['p'])&&is_numeric($_GET['p'])) { $pages = $_GET['p']; } else { $q = "SELECT COUNT(image_id) FROM images"; $r = mysqli_query($dbc, $q); $ps = mysqli_fetch_array($r, MYSQL_NUM); $broj_redova = $ps[0]; if($broj_redova <= 8) { $pages = 1; } else { …

Web Development php ui-ux
Member Avatar for subrata_ushasi
0
241
Member Avatar for n3xtgen

I want to create a blog type site where I post stories and users are able to comment on them. In order to do this must I create a CMS? If so how difficult would it be? Would I only need to use PHP and MySQL? Thank You

Web Development cms php
Member Avatar for subrata_ushasi
0
147
Member Avatar for alinbabba

Hello everybody, I would like to start learning ColdFusion language and it is very hard to find a “teacher”. Let me explain: I have very little experience with HTML and CSS and … that’s about it. I am surprise how hard is to find literature necessary to learn ColdFusion (for …

Web Development coldfusion html-css
Member Avatar for subrata_ushasi
0
749
Member Avatar for amrita111

What shall be done in order to avoid access to a particular website on my laptop??

Web Development php
Member Avatar for almostbob
0
80
Member Avatar for Steven_B

Hello potential problem solvers! I want to apologize ahead of time if this is a repeat of a similar question that I did not find, but here's my issue. I have a form I recently have been asked to try to make work seamlessly(no page refreshes), so of course I'm …

Web Development html-css javascript php
0
104
Member Avatar for gilgil2

Hi I am having problems with authenticating session. I moved this over from a different site where I was testing it and didn't change anything but now it doesn't seem to be working. The site connects to the MySQL data base and if the info is wrong it says so. …

Web Development php session
Member Avatar for NinjaMediaD
0
177
Member Avatar for ruchir7

This is my first post on Daniweb. I am developing a social networking site and the register form isn't quite working as expected. Here is the PHP code : [CODE]<? $title = 'Register' ?> <?require ('scripts/top.php'); ?> <link rel='stylesheet' type='text/css' href='scripts/form.css'/> <div id='content'> <h1> Register an account </h1> <div id='form'> …

Web Development mysql php
Member Avatar for NinjaMediaD
0
2K
Member Avatar for webblar

I'm trying to get it so table cells within a row that are clicked on changes the background colour. HTML code: [CODE]<table border="1" cellpadding="10"> <tbody> <tr> <td>Hello World</td> <td>Hello World 2</td> </tr> <tr> <td>Hello World</td> <td>Hello World 2</td> </tr> <tr> <td>Hello World</td> <td>Hello World 2</td> </tr> </tbody> </table>[/CODE] Script code: …

Web Development javascript javascript-jquery
Member Avatar for stbuchok
0
2K
Member Avatar for Kunal Aggarwal

I am making a page that uses a login and contact page. Everything is working fine, but I have a small hiccup at one point. The scenario is: When the user isn't logged in, the contact form is to be filled completely and will be sent to a particular email. …

Web Development php session
Member Avatar for nice123
0
212
Member Avatar for sagar2dumbre

AJAX has retrieved value(using some DB operation)and inserted in text box.while retrieving that values on onClick event of button System.out.println shows null value.i want to retrieve value of "emp" input tag jsp file code:- [CODE] function checksubmit1() { document.w1allot.prepare.value=1; document.w1allot.submit(); } function showState(area_value) { if(document.getElementById("ddlFlat").value!="-1" || document.getElementById("emp").value!="") { xmlHttp=GetXmlHttpObject() xmlHttp1=GetXmlHttpObject1() …

Web Development java-jsp javascript
0
190
Member Avatar for nickg21

Hey everyone, I am lost on the exception that I have getting thrown at me right now. SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. What I am trying to do on my site, which is Windows Authenticated on an internal network, is capture the users …

Web Development asp.net session visual-basic
0
131
Member Avatar for NinjaMediaD

I have been having some issues with a date compare I have been getting a date from a database in YYYY-MM-DD format, and trying to compare todays date to that date to see if it has expired, then also a 30 day from the YYYY-MM-DD to check if it is …

Web Development php
Member Avatar for NinjaMediaD
0
90
Member Avatar for Surfsup

I have 2 links ('black' & 'white'). I wish for the user to click on one of these links in order to addClass and removeClass to the body and for that change of body class to persist throughout as the user browses other pages of the website (or indeed on …

Member Avatar for Surfsup
0
1K
Member Avatar for philspotter

CALLER [code] function showContent(s,i){ // loading //loading_img(1); //s = s.toString(); // i undefined if(i==undefined){ i=""; } if (window.XMLHttpRequest){// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); }else{// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function(){ if (xmlhttp.readyState==4 && xmlhttp.status==200){ //alert('s'+s); document.getElementById('s'+s).innerHTML=xmlhttp.responseText; if(s==0||s==1||s==4||s==7||s==8||s==9){ var v="js"+s; if(document.getElementById(v)){ eval(document.getElementById(v).innerHTML); // THIS IS …

Web Development javascript
Member Avatar for philspotter
0
258
Member Avatar for Pravinrasal

pass dynamic values in json data in java script means when i am changing combo box i want to store values from combo box to json in key -value pair and finally also want length of JSON anyone please help me ...... Here is my code [CODE] <script type="text/javascript"> var …

Web Development javascript json
Member Avatar for AleMonteiro
0
664
Member Avatar for vn412

Hi, I m populating 2 select boxes country & city dynamically using ajax. All is working fine in mozilla &all but not in IE. but when i change country acc. to it city select box doesn't get populated in IE. [CODE] <td width="60%" align="right">Country : <?=PopulateSelect('country1',"SELECT * FROM tblname order …

Web Development javascript
Member Avatar for vn412
0
218
Member Avatar for daitken

OK! I gave it away in the title. . What I have is a java script that is the floating top menu for the site. Instead of putting all that code on each page I want to have it on one page and just use a little code to import …

Web Development javascript
Member Avatar for daitken
0
300
Member Avatar for khanrock

I am currently having a html code as: <form> <input type="text" name="price1" size="14" value="Rs.900" readonly="readonly"/> <input type="text" name="price2" size="14" value="Rs.600" readonly="readonly"/> <input type="text" name="price3" size="14" value="Rs.500" readonly="readonly"/> </form> <form name="qty"> <input type="text" name="quant1" id="id1" size="14" value="0"/> <input type="text" name="quant2" id="id2" size="14" value="0" /> <input type="text" name="quant3" id="id3" size="14" value="0" /> …

Web Development javascript
Member Avatar for partha.asp
0
186
Member Avatar for Davetew

Dear Experts, I'm newbie in php. Can anyone please help to check my code as below: Blank value inserted to Mysql using dropdownbox. Thanks in advance. [CODE] <?php mysql_connect("localhost","root","") or die("Error: ".mysqlerror()); mysql_select_db("project_Test"); $Serial_Number = $_GET['Serial_Number']; $sql = "select * from `TestTable` where Serial_Number = $Serial_Number"; $query = mysql_query($sql); $row …

Web Development php
Member Avatar for Davetew
0
106
Member Avatar for us0343

hi All, how i can get daniweb forum software ? From where i can know about daniweb software's features and admin panel? And the other hand what forum software would you like to recommend for student's forum. I want to make an organization type forum for students. Suggestion will be …

Web Development
Member Avatar for pritaeas
0
185
Member Avatar for gopi17

heyy guys...really could use some help here... my table is not updating its value, but there are no errors...the syntax seem to be correct [CODE] <?php session_start(); $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="testing3"; // Table name $invoice_no=$_SESSION['invoice_no']; $container_no=$_SESSION['container_no']; // …

Web Development php
Member Avatar for gopi17
0
135
Member Avatar for Awah Mohamed

hey people please tell me what to do , when ever i use mysql_fetch_array(data) i get this error : [CODE] Warning: mysql_fetch_array() expects parameter 1 to be resource, null given in C:\xampp\htdocs\awah.biz2\classes\class_lib.php on line 34 [/CODE] please tell me what to do , here is the class_lib.php: [CODE] <?php class …

Web Development mysql php
Member Avatar for bavenbabu
0
171
Member Avatar for Niittii

Here is the Login.jsp: [ICODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Login</title> <script type="text/javascript"> </script> </head> <body bgcolor="#999966"> <p>&nbsp;</p> <form method="get" action="http://localhost:8080/WebApplication1/Login"> <% if (request.getAttribute("error")!=null) { %> Login failed. Please try again <BR><HR> <% } %> <p> &nbsp;&nbsp;&nbsp;&nbsp;Username: <input type="text" name="uname" size="20"></p> <p> …

Web Development java-jsp session
Member Avatar for vtm
0
485
Member Avatar for imonbayazid

In my website i want to download the current page's content as pdf whenever i press download button on that page.what will be the php code?? please help me..

Web Development pdf php
Member Avatar for chrishea
0
85

The End.