17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for winky

Hey everyone, I have been receiving an error that states that one of my variables ("$fileAmount") is undefined. I was hoping you guys might see something in my code where I am making a mistake. Please note that this is not the entire code, but where the error is occurring. …

Web Development javascript
Member Avatar for Airshow
0
81
Member Avatar for prithvi.web

Hi Guys, I am trying to make a string from an array.The array structure looks like this [CODE][n3] => Array ( [0] => 2011-01-19 [1] => 2011-01-12 )[/CODE] Now if n3[0] or n3[1] is null i mean if any one value is absent then the string should look like [CODE]$str …

Web Development php
Member Avatar for prithvi.web
0
106
Member Avatar for azegurb

hi All i have taken from internet script that post data with the help of AJAX and PHP below is script [CODE]<html> <head> <script type="text/javascript" src="prototype.js"></script> <script> function sendRequest() { new Ajax.Request("test.php", { method: 'post', postBody: 'name='+ $F('name'), onComplete: showResponse }); } function showResponse(req){ $('show').innerHTML= req.responseText; } </script> </head> <body> …

Web Development javascript
Member Avatar for scrappedcola
0
102
Member Avatar for Hawkeye Python

Hi! I don't know much about Java and I'm new to JQuery. I want to replace "+ Table" for "- Table" when the user clicks on it. For that I've used: [CODE]$(document).ready(function () { $('#table1_head').click(function () { $('#button1 a').replaceWith('- Table1'); }); });[/CODE] It worked. But I want to replace "- …

Web Development javascript javascript-jquery
Member Avatar for Hawkeye Python
0
193
Member Avatar for Nitin Daphale

In my project I need to open file dialog so that user can select local image file on his machine. I need to access that local file and rename it and FTP that file on server. What is the best way to that? I have already used FileUpload control but …

Web Development asp.net file-system
Member Avatar for Nitin Daphale
-1
274
Member Avatar for dragostone

Greetings everyone. i have a number of check box's, a message text area and a submit button. Depending on what box is checked it will send the message to that email address. Here is the code for the form: [CODE] <form method="POST" name="myform" action="checked.php"> <input type="checkbox" name="emails[]" value="user1@domain.com" /> <input …

Web Development email php
Member Avatar for dragostone
0
860
Member Avatar for samsons17

Hi,sorry for the title of this thread as I not really know what to give it :) Anyway, I got a problem with my newly created website. My website got the blog section where I write everything onto it.And i when I try to share the link of my recent …

Web Development php
Member Avatar for samsons17
0
193
Member Avatar for soft_coder

Hi! I have created a listview in which data is binded from a sharepoint list. There is an asp image button inside the listview on clicking which a an image should be displayed. The code is as follows: ASPX file: [CODE]<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ …

Member Avatar for soft_coder
0
1K
Member Avatar for ypks_destiny

I am working on Myql database and netbeans. i want to edit the table in a Jsp page and i want to place new values in it. I mean the previous data in the table must be dispalyed after that i want to edit it and replace new values ...after …

Web Development java-jsp java-netbeans
Member Avatar for ypks_destiny
0
2K
Member Avatar for PoisonedHeart

Hello everyone, I don't where should I post this thread, but since my project (document tracking system) will be using PHP, maybe I just post it here. Would someone tell what should be the features or modules of my project, here are my listing as of now: -a module for …

Web Development php user-interface
Member Avatar for PoisonedHeart
0
216
Member Avatar for Eblahmysuper

What I'm trying to do is take an array that I created and look for key abbreviations in that array, if it finds something it will append a variable until all item in the array have been found, then returns the appended variable. Having trouble with it though... [CODE=php]function check_programs($input) …

Web Development php
Member Avatar for Eblahmysuper
0
309
Member Avatar for dos_killer

i need to convert an image to ascii text so that the image is still visible somethigng like [URL="http://asciiconvert.com/"]http://asciiconvert.com/[/URL] any ideas as to how i can go about it ?

Web Development image php
Member Avatar for jkon
0
583
Member Avatar for eefh01

Hi, I am working on submitting a form with various info to update on db using jquery, ajax. The db is updating perfectly when I disable JS on firefox. When enabled, a few fields (adID, userID, comments) are not updating on the db. The field userID updated as zero, but …

Member Avatar for Airshow
0
161
Member Avatar for brynFlew

Hello, thanks for your time. Jsp + javaBean will not run in tomcat on local host [url]http://localhost:8080/is/scannerForm/process.jsp[/url], when i run it in eclipse though my local tomcat it actually does work and i can step through the jsp page as-well as the .java pages and i can see where they …

Member Avatar for brynFlew
0
245
Member Avatar for tape enterprise

I am building a simple CMS for a website, Instead of having a simple texarea box I want it to have different buttons on it for the users to edit the code without knowing html or css. I would like it to be like Daniweb's Toolbar above the textbox on …

Web Development cms html-css php
Member Avatar for jkon
0
99
Member Avatar for johnbo100

Hi All I have creating a database table that will store configuration values so that php knows whether to show a field within a html form or not. I know that the PHP code connects to the table within the database as there are now errors when the webpage is …

Web Development mysql php
Member Avatar for johnbo100
0
136
Member Avatar for ello

Hey, just got this contact form working, but had an email from the guy with the server, and he says he got the emails as well...which I thought was quite odd. Now I have no idea why it'd do this so I was wondering if one of you guys could …

Web Development perl php session
Member Avatar for ello
0
380
Member Avatar for dietdew12z

I'm editing someone else's code and I have a vague idea of what it does, but if anyone has seen this kind of thing and can explain it to me. [CODE] function mkdir_recursive($pathname, $mode) { is_dir(dirname($pathname)) | mkdir_recursive(dirname($pathname), $mode); return is_dir($pathname) || @mkdir($pathname, $mode); } [/CODE] I don't understand why …

Web Development php
Member Avatar for dietdew12z
0
111
Member Avatar for mbarandao

Hello: I have two input boxes on a form which receive the first and last name of a user. I want to be able to use charAt() to get the first letter in each box and pass it a third box on the same form. is this doable? May I …

Web Development javascript
Member Avatar for Airshow
0
252
Member Avatar for panagosa

First of all i'd like to say hello to everybody. I've been working upon a script and i seem to be facing a problem with a mysql_query. Here it goes: I have 2 tables on my data base and there are some html forms through which tha data is entered …

Web Development mysql php
Member Avatar for MindSter
0
133
Member Avatar for soapyillusion

Hello all, Just took a JavaScript class, where they didn't teach us anything about slide shows. Now I have a client and I promised them a slide show on their website. I made an external Js file, and Firefox debugger keeps on giving me this error: document[place].src is undefined. Here's …

Web Development javascript
Member Avatar for soapyillusion
0
102
Member Avatar for thebluestar

I don't know how to use the onmouseover event the text , then display the image. For example, I have a <p onmousever="">CHECK</p>, then when I move the mouse over the text, the image will display. Please help me!

Web Development display image javascript
Member Avatar for AMADH
0
3K
Member Avatar for panagosa

First of all i'd like to say hello to everybody. I've been working upon a script and i seem to be facing a problem with a mysql_query. Here it goes: I have 2 tables on my data base and there are some html forms through which tha data is entered …

Web Development mysql php
Member Avatar for panagosa
0
127
Member Avatar for kkjay

I need to know how to link (via a regular href anchor on a different page) to content that is inside a tab that is not the default tab. Can this be done? My code will explain hopefully what I require: My Code: The following is my profile_edit.php page: ----------------------------------------- …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
307
Member Avatar for phpDave

Hi, My script works but not the way I would like it to. [CODE]$file = $_FILES['content']['tmp_name']; if (!isset($file)) echo "please select an image."; else { $content = addslashes (file_get_contents ($_FILES['content']['tmp_name'])); $content_name = addslashes ($_FILES['content']['name']); $content_size = getimagesize ($_FILES['content'] ['tmp_name']); $user = $row_Recordset1['user_id']; if (!$content_size) echo "Thats not an image"; else …

Web Development image php
Member Avatar for kkjay
0
127
Member Avatar for lyrico

Hi again to all, Can anyone know how to do this? [code] <?php // let say the time now is 06:00 PM $time = Date('h:i A'); $time1 = strftime('$time'); // I know it is wrong coz the output of this code is $time only. I just include this for you …

Web Development php
Member Avatar for lyrico
0
114
Member Avatar for Brianbc

I need some help with inheritance in php. The code below does not produce any output. [CODE] Class Father{ var $car; Function inherited(){ print $this->car; } } Class Son Extends Father{ Function __Construct(){ $this->car='Benz';//I'm assuming here that car is still a property of father. } } $obj= new Father; $obj1= …

Web Development oop php
Member Avatar for Brianbc
0
123
Member Avatar for Brianbc

Working with some OOP, I had an error that I have now traced to inistantiation of a class when the file in which the class is contained is included in any other file. Is this the default/normal behaviour of php, and how do I get myself out of this? I …

Web Development oop php
Member Avatar for Brianbc
0
109
Member Avatar for localp

I need to know if you can add a javascript within [CODE]my_window.document.write( ); [/CODE] as [CODE]my_window.document.write( '<html><head><script type="text/javascript" src="http://somesite.com/xxy.js"></script></head></html>' ); [/CODE] When i add the code as shown above, it gets printed inthe parent window, how do i overcome this, if there's no way to overcome this, please suggest a …

Web Development javascript
Member Avatar for localp
0
1K
Member Avatar for brynFlew

Hello, and thank you for youre time, I have a problem with my jsp application, when i try to get the values from the html form on the jsp page process.jsp, it sets the values of each element but then does not return them to the java page. It keeps …

Web Development html-css java java-jsp
Member Avatar for peter_budo
0
242
Member Avatar for Nitin Daphale

Hi all, In my site, there is timeout session 30 minutes. After 30 minutes as I press on logout. Exception([I]Validation of Mac fialed.If thos applicationis hosted by a web farm or cluster,ensure that <machinekey>configuration specifies the same key and validation algorithm.Autogenerate cannot be used in cluster.[/I]) occurs in my page …

Web Development algorithm asp.net session
Member Avatar for Nitin Daphale
0
118
Member Avatar for natchattack

I wasnt sure whether or not to put this in the database section but i think the problem is in my php code so i thought it would be best posted here. I intend to use this as a simple search script. I want to compare what the user enters …

Web Development php
Member Avatar for natchattack
0
147
Member Avatar for public-image

<script> function close(){ window.open('alert_update.php?id=<? echo"$alertm[id]"; ?>','alert'); document.getElementById("alert").style.display="none"; } </script> The above script is what I am using to send a request as such to alert_update (the file that updates the database which is a small iframe 1px by 1px; but I also need it to onclick hide the div that …

Web Development javascript
Member Avatar for Airshow
0
159
Member Avatar for public-image

Okay so I was having a problem earlier where I could not get my DIV to hide using my script I used some source from google and got the following, I found it to be effective and do the job, however I want it so that when I click my …

Web Development javascript
Member Avatar for Airshow
0
101
Member Avatar for youlichika

I have ordered yahoo news rss, I use simplepie to separate the news items like title, content, url, date... and then insert them into database. I catch the source every 2 hours with cron. How to judge RSS source, if there has new then UPDATE into database? I mean if …

Web Development mysql php
Member Avatar for mschroeder
0
97
Member Avatar for johnbo100

Hi All I am building a web and desktop application where the user fills in a web form that is posted to a MySQL database. The database info is then collected by a desktop application for easy retreival. I know that my clients will want to have a web form …

Web Development php xml
Member Avatar for diafol
0
138
Member Avatar for raul8

I'm having trouble with nodeValue property. No matter what..it gives me value null. All other propeties are executing fine. XML file: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <details> <player> <name>MSchu</name> <poles>91</poles> </player> <player> <name>Alonso</name> <poles>25</poles> </player> </details>[/CODE] And I'm running this code: [CODE]<html> <head> <script> function loadXMLDoc(){ if (window.XMLHttpRequest){ xhttp=new XMLHttpRequest(); } else{ …

Web Development javascript xml
Member Avatar for Airshow
0
247
Member Avatar for Nitin Daphale

In my project each user can upload his logo images. For that am using a static function to FTP files. In that function am using many static variables. Now I want to ask that,is it safe using static functions for functionality like this?

Web Development asp.net
Member Avatar for kvprajapati
0
105
Member Avatar for prem2

Dear all, I am confused about the output of the below programs .When i use the scope resolution operator i am getting the below error. [code] <? class MyClass{ public $variable_value="This is a variable value "; function display(){ echo "Display Function \n"; echo $this->variable_value; } } MyClass::display(); //$obj=new MyClass(); //$obj->display(); …

Web Development php
Member Avatar for prem2
0
251
Member Avatar for doctorphp

Hi everyone. I am starting to learn AJAX and JavaScript and I am trying to make a popup login form and I am having trouble posting the data entered in the textboxes. It is fine when I post one piece of data but when I try to post two I …

Web Development caching first-post javascript php xml
Member Avatar for hielo
0
2K
Member Avatar for waniejjang

Hi, I'm really new to PHP and programming I can say. I really need your help. Basically I'm doing a dynamic dropdown menu using PHP and MySQL and when user select the company name at dropdown, then email address will be populated at new textfield. The company table consists of …

Web Development html-css php
Member Avatar for waniejjang
0
4K
Member Avatar for waniejjang

Hi all, I have a problem with javascript function. I already do a dynamic dropdown menu where user have to select a company name at dropdown. And after select the company name, an email address will appear in textbox. The company table consists of Id, comp_name, email_add fields. But I …

Web Development javascript
Member Avatar for waniejjang
0
2K
Member Avatar for paolonewage

Hello, I am trying to recall the $username in the private page (e.g. Welcome $username to your private page) and I think I'm having some difficulties. Actually I made working once before Christmas but now It drives me crazy. It's an assignment for the college. this the URL: http://www.dcs.bbk.ac.uk/~pparod01/index.php if …

Web Development php xml
Member Avatar for hielo
0
194
Member Avatar for nasablast

When executing the code below, I am getting the error: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given. From my understanding this would imply that mysql_query is returning false meaning the query is failing but I am not sure why.. Any ideas? [CODE]<?php include 'global.php'; $case=$_GET['case']; $query=" SELECT …

Web Development php
Member Avatar for nasablast
0
102
Member Avatar for arshadshaikh

Hello every body, Can any body help me for the 'video thumb' issue. I am using Embed code provided by site like youtube and vimio. But when I use youtube i can get and show the thumb image of that video. But I can not display or get the thumb …

Web Development php video
Member Avatar for diafol
0
251
Member Avatar for bg1976

Hi there I have a .net (3.5) user location dropdown menu (System.Web.UI.WebControls.DropDownList) called ddlLocation, that when the user selects a location menu item that item is saved in a database table, so that the next time the user accesses the page the selection is pulled from the db table. The …

Web Development asp.net html-css web-browser
Member Avatar for bg1976
0
182
Member Avatar for azgold472

This is what im trying to do. A pdf is uploaded to my uploads directory. Named abc activity.pdf or abc page2.pdf the pdf could be from different clients. so I want to pull the ABC or a certain amount of char out of the name to populate the destination `#Property#` …

Web Development client-server coldfusion pdf
Member Avatar for arrgh
0
144
Member Avatar for localp

There is textbox, and 2 buttons in a web page. when the user clicks one of the button, the character 'A', should get printed on the textbox. and when the user clicks on the other button, 'B', should get printed on the textbox in the format 'AB'. I was looking …

Web Development javascript
Member Avatar for localp
0
329
Member Avatar for reco21

Hello, I'm wondering how to add predefined text to many input fields on click of an image. so I have 4 images and I click one and 4 fields are filled with predefined text. If I click another the text is changed with some other predefined text. Thanks

Web Development javascript
Member Avatar for reco21
0
140
Member Avatar for reco21

Hello, I'm making a tagging system for a script. The tagging system is much like the one here. be it's not normalized like this one. It's a single table in my database with three columns. uid | id | name The 'id' field is not auto increment. It is a …

Web Development php
Member Avatar for reco21
0
191

The End.