52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for simplypixie

Sorry if the title of this thread doesn't make sense - I didn't know what to write :) I am using jQuery form validation and one of the rules is to check for a valid url. The field isn't required so am just validating formatting. This all works fine but …

Web Development javascript javascript-jquery
Member Avatar for simplypixie
0
610
Member Avatar for Nithyamaha

protected void Button3_Click(object sender, EventArgs e) { GetRandomPassword(); } public static string GetRandomPassword(int length) { char[] chars = "$%#@!*abcdefghijklmnopqrstuvwxyz1234567890?;:ABCDEFGHIJKLMNOPQRSTUVWXYZ^&".ToCharArray(); string password = string.Empty; Random random = new Random(); for (int i = 0; i < length; i++) { int x = random.Next(1, chars.Length); if (!password.Contains(chars.GetValue(x).ToString())) password += chars.GetValue(x); else i--; …

Web Development asp
Member Avatar for Nithyamaha
0
151
Member Avatar for jet101

guys, need help... Im currently working on a project with jasper report. it seems that the pdf file (report) runs on a browser succesfully without a subreport in Glassfish server but when there is a subreport the error occurs. ive been working with this problem since last week and im …

Member Avatar for tamseo
0
1K
Member Avatar for Octet

I am attempting to send the data from a set of radio buttons to my MySQL Database so that I am able to get people to review the site. When I did my initial test with a single radio button in a test database all went well, however when I …

Web Development database-design mysql php
Member Avatar for Octet
0
294
Member Avatar for softDeveloper

Hi All! I'm trying to call a method defined in a jsp that is in my webcontent web application. I placed [CODE] <%@include file="method.jsp"%>[/CODE] in the jsp from where I want to call the method. I get an exception saying: [CODE]org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred …

Web Development apache java-jsp
Member Avatar for stultuske
0
296
Member Avatar for xuweisen

Hi, this is my website [url]www.byouinternational.com[/url] That website is a website that I make with full ajax programming.. I feel my website is quite long time loading the ajax content.. What do you think? Is it slow? Specially for the first page when you click the enter site.. Is quite …

Web Development php
Member Avatar for xuweisen
0
129
Member Avatar for amansingh

Please advise me, to this following group function in PHP. this works perfectly fine,it groups the airline name and starts with the MIN price, however the problem is that it also shows the season but it is picking the MIN season which is not required. I want it to pick …

Web Development php
Member Avatar for amansingh
0
158
Member Avatar for kevindougans

Can anyone help me with "adapt.js" ([url]http://adapt.960.gs/[/url]) to set it up to include 2 css files instead of just 1. For example I need it to figure out I want to include /css/960.css, then i also want it to include /css/<= $pagename ?>/960.css Here is my current code (not included …

Web Development html-css javascript
Member Avatar for kevindougans
0
232
Member Avatar for javedsai

Hi everyone, I'm using move_upload_function for uploading file. I works fine on localhost but, it doesn't work on live server. Thank in advance..

Web Development php
Member Avatar for javedsai
0
799
Member Avatar for HasNor

Hi all, i got a problem in my php web, i got error page that show "webpage has expired" when i want to go to previous page. Why it happen?? It happen sometime.. Do you have any idea to solve it?? Thanks for your sincerely help..

Web Development php
Member Avatar for HasNor
0
112
Member Avatar for paulhook

having problems with a header redirect i am trying to redirect to [url]http://www.mysite.com/somepage[/url] the problem is header info is being added before my link, so it is resolving as [url]http://www.mysite.com/component/uddeim/www.mysite.com/somepage[/url] my code is: session_start(); $adredirect = $_SESSION['goback']; header( "LOCATION:, $adredirect" ); the value stored in $adredirect is [url]www.mysite.com/somepage[/url] do you …

Web Development php session
Member Avatar for paulhook
0
160
Member Avatar for jcomputing

Does anyone know where I can get a php script from that validates form fields and uses smtp authentication then sends an email of the information in the form.

Web Development php
Member Avatar for vaultdweller123
0
106
Member Avatar for cheelo007

Hello you all, first time posting and I am new to php. My question is regarding my registration and log in script. I have successfully added new users to my database, however I am having a problem signing in. Below is my script for handling my login page, Below that …

Web Development php
Member Avatar for hag++
0
358
Member Avatar for extjac

Hello there! I am new with PDO and I am trying to replace the old code with PDO... The main issue i have is that i dont know how to get/use the objects vs the arrays when it comes to showing data. Please see bellow examples and let me know …

Web Development php
Member Avatar for veedeoo
0
161
Member Avatar for jstfsklh211

I hate websites that timeout and don't let you know about it this script pops up a message when you timeout and allows you to re-login in place

Web Development javascript
0
300
Member Avatar for patrick1981

I Need to to update multiple checkbox values on multiple records at the same time. When the form loads, it should display the sizes already selected for each style as stored in the style table and if we select or deselect any sizes on a style it should update the …

Web Development data-structure mysql php
Member Avatar for patrick1981
0
11K
Member Avatar for cheelo007

Hello, this one is probably really simple, but I am a noob... I just want the password confirmation function to work and I would also like the password to not equal the username. I am running into a problem with how I set up the logic for my variables. Trying …

Web Development php
Member Avatar for cheelo007
0
11K
Member Avatar for BenzZz

Hi, I have a query which retrieves the most recent end_date of a contract. It works when i enter it into a cmd window but not inside my actual script as when i do a var_dump it shows as NULL. I don't understand why it works in one but not …

Web Development php
Member Avatar for BenzZz
0
117
Member Avatar for FrostMaster

Hey guys! I need to dynamically load result from query. Not all at the time, but by portions (like person scrolls down and they dynamically load). By now I add them all and then manipulate them with jQuery, but it makes final html code too large. Is there any other …

Web Development php
Member Avatar for diafol
0
82
Member Avatar for abhishek2301

Hello, I am trying to make a simple image editor by changing the brightness randomly. I have a simple HTML page with an image and a button which is supposed to be clicked and the brightness of the image will change to a random value using POST method and a …

Web Development first-post html-css image php
Member Avatar for diafol
0
255
Member Avatar for jcomputing

This script says my message was ucessfully sent. I don't recaive any emails. Please can someone help me. <?php //set variable error var $er = 0; //enter the website the contact form is on $website = 'jonathan@jcomputingconsultants.co.uk'; //Set all POST variables $email = $_POST['email']; $name = $_POST['name']; $hereaboutus = $_POST['hereaboutus']; …

Web Development php
Member Avatar for pritaeas
0
254
Member Avatar for raul8

Hello, I want to fetch the rest of the XML stored inside SOAP body, but with the below simple code, I'm not able to: [CODE]public class AttributeScanner { protected String getEnvOject(InputStream iStream) throws Exception { String xml = null; // First create the connection SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance(); SOAPConnection connection …

Web Development xml
0
117
Member Avatar for IanArcher

i want to place the contents of values from a form into a text file. When an option is changed in the form and submit button is clicked, the user is taken to another page where info about the company's address, website and so are displayed line after line like …

Web Development php
Member Avatar for IanArcher
0
216
Member Avatar for nadskap2

Hi there, DaniWeb. I have been struggling with this one for a while. How do i write a regexp that matches every {$*} wherein * is wildcard. I have written one: /\{\$(.*)\}/ and it works fine at regexpal.com, but not with my preg_replace:( [code] <?php $string = "Hello {$name}! How …

Web Development php
Member Avatar for diafol
0
129
Member Avatar for 21122012

roomID is used to list all record of some room ID, all the record is associated with roomBookingID. When a user clicked "modify", a form is supposed to show. However, a error message shown after I added the red statement. <?php require_once('../../config/conn.php'); $roomID=$_GET['roomID']; $sql="SELECT * FROM roomBooking where roomID = …

Web Development php
Member Avatar for cigoL..:)
0
212
Member Avatar for srdva59

hi, i have a configuration file with this content for example: test = "100"; teste2 = "300"; now need change the test from 100 to 300, i just want use something like this: function ( "test" , 300 ); how can i do that? thanks for help

Web Development php
Member Avatar for cigoL..:)
0
73
Member Avatar for Ksrinivas92

I am trying to create a webpage which does the following: 1)Has an image,which has an onclick javascript function f1() and an image map with a link pointing to a javascript function f2(); 2)updateAnim() is an "animation" it changes the image sources some 30 times 3)f2() is any function(trying with …

Web Development image javascript
Member Avatar for Ksrinivas92
0
208
Member Avatar for zodehala

this is my code i wanna insert value starting with [B]cb[/B] into [B][I]no[/I][/B] table coming from form. but i cannot count $a (just starting with cb) value [CODE] foreach($_GET as $a=>$b){ $q1 = "UPDATE no SET drm = 1, s = '$time', h = '$dest' WHERE s = '$b'"; $q2 …

Web Development php
Member Avatar for pzuurveen
0
142
Member Avatar for vijayram

Hi everyboby. plz help me. I created calendar using php and javascript.but the javasript function did not work.plz tell me what is the error. [CODE]<?php use_javascript('schedule') ?> <?php use_javascript("editProfile") ?> <?php use_javascript('unfinishedbussiness')?> <?php use_javascript('scheduleload')?> <script type="text/javascript" language="javascript"> function isAjax() { return isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER ['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest'; } if(isAjax() && …

Web Development php
Member Avatar for pritaeas
0
227
Member Avatar for vikkii_gv

Hi to everyone, what's my doubt is when u r closing the window it should as do u want save the changes you made the option are yes,no,cancel it should be done in jsp,java script. can anyone help to solve this problem plz if anyone know the solution mail me …

Web Development display email java-jsp
Member Avatar for stultuske
0
129
Member Avatar for lastgame2007

i want to generate a student id, this is my code it is saving but, no output in dB. [CODE] $yr=date('Y'); $id=mysql_insert_id();--auto_increment $b="MATH"."$yr"."$id"; $a=$_POST['b']; MATH201201 -- i want my output to be this, [/CODE]

Web Development php
Member Avatar for diafol
0
247
Member Avatar for rahul8590

I want to make a user profile , where in the people can login and fill in profile details . Well basically i am wanting to make a connection between the alumni of my college with the existing students. So , i initially thought of making the alumni registered and …

Web Development php
Member Avatar for diafol
0
7K
Member Avatar for fika

how can i show current local date and time using php?? do i need to use new page or just add in the same page? and how can i insert time and date that show in the page into my database? i have search for a while for this, but …

Web Development php
Member Avatar for diafol
0
197
Member Avatar for mshdpotato

I got this PHP page where I get data from a database and turns it into a link through javascript. It works well on Google Chrome and IE but doesn't work at all on Firefox. Any idea why? Thanks a bunch :) [CODE] <script type="text/javascript"> function submitform(action) { document.forms("pSubCategory" + …

Web Development javascript
Member Avatar for stultuske
0
523
Member Avatar for simplypixie

I am not sure if this is a server issue as seemed to be working on my testing server but now live on the clients server this issue is arising. The email is generated from a form which includes a file upload in either word or pdf which is saved …

Web Development pdf php
Member Avatar for simplypixie
0
4K
Member Avatar for shielaolid

[CODE]<?php // connect to the database include('connect-db.php'); // check if the form has been submitted. If it has, start to process the form and save it to the database if (isset($_POST['submit'])) { // get form data, making sure it is valid $employeeno = mysql_real_escape_string(htmlspecialchars($_POST['txtempno'])); $employeename = mysql_real_escape_string(htmlspecialchars($_POST['txtempname'])); $position = mysql_real_escape_string(htmlspecialchars($_POST['txtpos'])); …

Web Development php
Member Avatar for kk.fasil
0
426
Member Avatar for vaultdweller123

Hi guys i need your help, i need to know how run PHP on nginx, i already installed it but it only reads html files not PHP, it will prompt download the php file. Im super new to this and the tutorial on the net's are complicated. btw im using …

Web Development php
Member Avatar for vaultdweller123
0
79
Member Avatar for jpknoob

Evening, I am trying to grab information from a PHP script using JQuery when the user enters a value into a text input field. The text input box has an auto suggest function so that when the user begins tying they can see what matches from the database. If the …

Member Avatar for ko ko
0
270
Member Avatar for tqmd1

Dear Experts I am creating datapicker with the help of following link [url]http://edwin.baculsoft.com/test/calendar.html[/url] datepicker on above link works fine but when I apply code to my page then it does not work. The attachment is my html and other files. Please help me to locate error. Thanks in advance

Web Development javascript
Member Avatar for ko ko
0
145
Member Avatar for mombasageek

hi am having a small javascript trouble here pliz help out [ICODE] <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <!-- help out pliz --> <!-- i need javasript that wil return true when the code 12345 is entered in the input field and place an image accept.gif in the div id …

Web Development javascript
Member Avatar for ko ko
0
138
Member Avatar for JeffCraw

I am building a basic PHP real estate website and am trying to link to County Tax Information and County Property information. The county uses the TMK #: [B]2540020130023[/B] (Tax Map Key) id number to give out this information. In my Database the TMK is called “propertyref”. When I “View …

Web Development php
Member Avatar for diafol
0
177
Member Avatar for klatuu

I have [I]some[/I] experience with Java and Javascript and searching this forum has helped me tremendously, but haven't been able to find this exact problem explicitly. In a nutshell: I want to call a java class straight from javascript i.e. use a java class in javascript without OBJECT or APPLET. …

Web Development javascript web-browser
0
163
Member Avatar for issaru07

i am trying to do credit card validation. the card details are entered n creditcard.php and process in creditcard-process.php and this is the error for creditcard-process.php.. can i check whats wrong with creditcard-process.php ? Notice: Use of undefined constant ccnum - assumed 'ccnum' in D:\xampp\htdocs\book\creditcard-process.php on line 109 Notice: Undefined …

Web Development php
Member Avatar for issaru07
0
381
Member Avatar for gavin_am

Hi everyone forgive me I am a little new to php but I can get by.... I am trying to implement a pagination script into my sub cat page in a shop however I ahve most of it done but cannot seem to get the pageination to show can someone …

Web Development php
Member Avatar for gavin_am
0
121
Member Avatar for shaynadz

Hi! I'm new here! I have a quick question about an error I found in my script. I'll jump straight into the code and then make my question: [CODE]$description = $_POST['desc'];[/CODE] this is a text description for example "Monthly Tuition". [CODE]$amount = $_POST['amount'];[/CODE] price of tuition [CODE]$dlnumber = $_POST['cedula'];[/CODE] drivers …

Web Development php programming-construct
Member Avatar for diafol
0
184
Member Avatar for amm038

hi there am bulding a system that have two types of users admin and users in the login page i want when the users enter there username if the username is in the admin table redirect to admin page and if the username is in tha applicant table redirect to …

Web Development asp.net
Member Avatar for amm038
0
95
Member Avatar for accra

I have time [CODE]timestamp[/CODE] in my db,when i insert/update records it do not change. for Attributes i have [CODE]ON UPDATE CURRENT_TIMESTAMP[/CODE] and for Default its [CODE]CURRENT_TIMESTAMP[/CODE]. any help pls.

Web Development php
Member Avatar for accra
0
137
Member Avatar for accra

[ICODE] Why would an update script do an insert, and not update?[/ICODE] [CODE] $navtype = $_GET['nav']; if($navtype == "zjxpmovdtzjd") { $mileage_out = $_POST['mileage_out']; $mileage_in = $_POST['mileage_in']; $famount = $_POST['famount']; $vreg = $_POST['vreg']; $driver = $_POST['driver']; $vtype = $_POST['vtype']; $desti = $_POST['desti']; $date_out = $_POST['dy']."-".$_POST['dm']."-".$_POST['dd']; $date_in = $_POST['ay']."-".$_POST['am']."-".$_POST['ad']; $cur_date = date("d-m-y …

Web Development php
Member Avatar for accra
0
146
Member Avatar for yanwick

I have this file x.php but it doesnt work. Php only works if it is in a pure php file (with no html code).Im using xampp 1.7.7. Any ideas what might be the problem ? [CODE]<html> <body> <?php echo ("HELLO"); ?> </body> </html>[/CODE]

Web Development html-css php
Member Avatar for yanwick
0
234
Member Avatar for slasherpunk

Even after setting all the paths correctly, I get an error saying the "setclasspath.sh" cannot be found. I checked the directory and it was there. I then changed the permissions using chmod +x setclasspath.sh but to no avail. I've changed the permissions of all the files inside the "bin" directory …

Web Development java-jsp ubuntu
Member Avatar for slasherpunk
0
197

The End.