52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MaddTechwf

I have the below code working greate except for one spot. After a user selects everything from the drop downs like they are suppose to, if they change the Semester in the first drop down, how can I make the dropdown for Houseing fresh as well? <%@ Page Language="VB" AutoEventWireup="false" …

Web Development asp.net html-css
Member Avatar for ronitmathurseo
0
2K
Member Avatar for arunthewolf

Kindly note the error which i made in my code : <html> <head> <script type="text/javascript"> function createCanopyPath(context) { // Draw the tree canopy context.beginPath(); context.moveTo(-25, -50); context.lineTo(-10, -80); context.lineTo(-20, -80); context.lineTo(-5, -110); context.lineTo(-15, -110); // Top of the tree context.lineTo(0, -140); context.lineTo(15, -110); context.lineTo(5, -110); context.lineTo(20, -80); context.lineTo(10, -80); context.lineTo(25, …

Web Development javascript
Member Avatar for lambing
0
237
Member Avatar for gurusubramaniam

Hi friends, I want to go to previous page from a pdf document page using php. I already used the following code. <a href='javascript:history.go(-1)'> It only works on the web pages but it doesn't work in pdf document.

Web Development pdf php
Member Avatar for cereal
0
173
Member Avatar for ping0ping

Hi all and good day, I'm having a problem to download/saved Facebook user profile picture that login to my system using their Facebook account. Right now I'm thinking to automatically saved their Facebook profile picture to my system as they signup or login. I already have the access to user's …

Web Development image php social-media
Member Avatar for ping0ping
0
243
Member Avatar for my3h

Hi, i want to create a pie chart in my website by taking values from database. I should display the top 10 most purchased product in the form of pie chart in my website. But i dont know how to do it. I have no clue how to start. Please …

Web Development php
Member Avatar for Biiim
0
3K
Member Avatar for Patiodude

I'm trying to create a PHP script, which would be added to .php files (articles) on my website. This script would automatically add the article in question to a previously created database (and would subseqgently be used to timestamp articles). What would a script like that look like?

Web Development mysql php
Member Avatar for pritaeas
0
161
Member Avatar for hwoarang69

Hi, i am trying to learn how to create login and register page on my own. But i am having any luck with it. can any one help me from start to finish? and by start to finish i mean just the login, register and database part, not the whole …

Web Development php sql
Member Avatar for Joshuamandrew
0
189
Member Avatar for ryanhx64

**Ok i have this script it opens desired page then closes at desired amount of time. How do i make it redirect to something rather than google.com when closing** <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>Test Page</title> <style> body { font-family: sans-serif; } </style> </head> <body> <p><a href="#" id="target">Start …

Web Development javascript
Member Avatar for firdaus_lazim
0
387
Member Avatar for _DMC

I want my auction site changed so that when you click the "place bid" button it will work like this if bid >= reserve price the auction ends with the bid = selling price else message "bid too low" current bid = 0 (again) This should take only 2 or …

Web Development php
Member Avatar for _DMC
0
139
Member Avatar for shanboy

The upload html page i'm using <html> <head> <title> </title></head> <body> <form enctype="multipart/form-data" name="upload" action="upload.php" method="post"> <input name="file4upload" type="file"> </input> <br> <input name="submit" type="button" value="Upload File" > </form> </body> </html> php file code is given below (upload.php) <?php $target_path="upload/"; $target_path=$target_path.basename($_FILES['file4upload']['name']); if(move_uploaded_file($_FILES['file4upload']['tmp_name'],$target_path)) { echo " File ".basename($_FILES['file4upload']['name'])."has been uploaded"; } else …

Web Development php
Member Avatar for shanboy
0
271
Member Avatar for densman

I am newbie to PHP and trying to develop a website like SecureSite, [sitelock](http://www.sitelock.com). I will issue an embedded link with seal to websites, when the seal is clicked, it will be verified by my website. Any idea on how to progress with this will be highly appreciated.

Web Development client-server php
Member Avatar for diafol
0
75
Member Avatar for adishardis

Hi, I have a json encoded array ($dataTable) that looks like this: {"cols":[{"type":"string","label":"Analys"},{"type":"string","label":"Test 1"},{"type":"string","label":"Test 2"}], "rows":[{"c":[{"v":"Top"},{"v":"78"},{"v":"71"}]},{"c":[{"v":"In"},{"v":"88"},{"v":"91"}]},{"c":[{"v":"Pref"},{"v":"60"},{"v":"72"}]},{"c":[{"v":"Int"},{"v":"13"},{"v":"9"}]}]} I think that's right but when I try to display the graph it says "table has no columns"... Copied from google I have this in my head section: <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("visualization", …

Web Development json php seo
Member Avatar for adishardis
0
2K
Member Avatar for viktor.jiracek.5

Hello everyone! I am currently working on a change password code. I am having trouble because everytime I click submit the page seems to simply refresh. I am new to php and I am sure that everything on the database side is working alright. I have a working login, registration, …

Web Development html-css php
Member Avatar for viktor.jiracek.5
0
802
Member Avatar for xbat

I am trying to build a inventory page.. I want it to minus one everytime a product is selected.. right now I have it setup as item number > Amount taken I have no idea how to make the minus one work in the php mysql.. in the drop down …

Web Development php
Member Avatar for xbat
0
328
Member Avatar for Pidgetastic

Hi, I have been trying to import the data from a CSV file (10,000 rows) into a database using SQL and PHP <body> <div id="container"> <div id="form"> <?php $user="root"; $database="test"; mysql_connect("localhost",$user); @mysql_select_db($database) or die( "Unable to select database"); //Upload File if (isset($_POST['submit'])) { if (is_uploaded_file($_FILES['filename']['tmp_name'])) { echo "<h1>" . "File …

Web Development file-system mysql php
Member Avatar for akmozo
0
610
Member Avatar for heshanm

Hi all, This is my chage password script. This works ONLY if all the data fields entered correctly. Otherwise it gives several error messages. (Ex:incorrect username, incorrect pw etc) users (user_id, first_name,last_name, email, phone_number, user_type, username, password) [CODE] <?php session_start(); $connection=mysql_connect("localhost","root",""); $db=mysql_select_db("bank",$connection); $username = $_POST['username']; $password = $_POST['password']; $newpassword = …

Web Development php
Member Avatar for viktor.jiracek.5
0
382
Member Avatar for BadManSam

How would I create a page using php on the click of a button and name the file in a form so like The Form Name of File:|_____________| Submit - This is the Button. And how would you show a files script and I know it might not be safe …

Web Development php
Member Avatar for BadManSam
0
124
Member Avatar for rotten69

Hi there, I was trying different types of array initialisation in Javascript and the book that I was reading, said it is possible to initilaise an array with a speicified number of elements in it. However, I tried it and unfortunately, it didn't work. As you can see the code …

Web Development javascript
Member Avatar for sepp2k
0
222
Member Avatar for webflybullet

Is there anyone know how to install this shipping cart named tomatocart? Demo: http://www.tomatocart.com/products/store-demo.html Thanks in advance.

Web Development ecommerce php
Member Avatar for webflybullet
0
171
Member Avatar for kurtzky

I have an ASP Classic page with SHIFT_JIS charset. It has a meta tag under the <head> section like this: <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> My page has a text box (txtName) that should only allow 200 characters. I have a Javascript function that validates the character length, which is called …

Web Development javascript
Member Avatar for kurtzky
0
450
Member Avatar for dinners

I have written a form in html and wish to submit it and run some php code, however once the php file has finished it main job I want to use it to redirect to my homepage where I am using AJAX to change content (where the form is). Is …

Web Development javascript php
Member Avatar for dinners
0
238
Member Avatar for lemur

I wondering if any know way to change values of variable using option drop-down list ?? php script is: <?php $searchBoxfruit = "Red"; require_once('includes/search_box.php'); ?> and option list <option value="Type">Type</option> <option value="Red">Red</option> <option value="Green">Green</option> <option value="Gray">Gray</option> </select> so basicly when user selected green option in drop down menu, $searchBoxfruit values …

Web Development php
Member Avatar for akmozo
0
7K
Member Avatar for Ritesh_4

Hi, I need some help with building a search form (my first time with coding a search), and I need to make it work similar to the one on this link: http://www.lexpressproperty.com/en/buyinmauritius.html Anyone can help me with finding tutorials/examples on how to do this?

Web Development php
Member Avatar for mathieu89
0
114
Member Avatar for pushkar_it

Here is the Beautiful Example for the Paypal Procedure in C#. See the Attachemet.

Web Development asp asp.net c#
Member Avatar for Jassi sharma
0
572
Member Avatar for lhsunshine

***I need to add paypal into my website. Your reply is very appreciated. Thank you.***

Web Development asp asp.net c#
Member Avatar for Jassi sharma
0
478
Member Avatar for Arturo32

Hi everyone, Im new to web programming and i need some help, I have something like this: <td><label>User (Login): </label></td> <td><input class="textbox" autofocus="true" type="text" maxLength="7" name="cUser" id="cUser" /></td> </tr><tr></tr> <td><label>First Name: </label></td> <td><input class="textbox" type="text" maxLength="20" name="cFname" id='cFname' value=""/></td> </tr><tr></tr><tr> <td><label>Last Name: </label></td> <td><input class="textbox" type="text" maxLength="30" name="cLName" id="cLName" /></td> …

Member Avatar for firdaus_lazim
0
770
Member Avatar for mydreamgirl

I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error: FileUpload.jsp: java.lang.NoClassDefFoundError: org/apache/tools/ant/Task FileUpload.jsp: Caused by java.lang.NoClassDefFoundError: org.apache.tools.ant.Task ...12 more Could not find the main class: org.apache.jasper.jspC. Program will …

Web Development apache java java-jsp
Member Avatar for firdaus_lazim
0
397
Member Avatar for Raakesh399

hi all i want to add a web service in php which give real time information about european soccers. please do help me.

Web Development php
Member Avatar for Raakesh399
0
75
Member Avatar for rotten69

Hi there, I was wondering what the string.split() does. And another question is that I want to loop through the class like Math and find out what functions are defined in it.But, I was not too sure how to that. I tried a couple of things but they unfortunately didn't …

Web Development javascript
Member Avatar for rotten69
0
223
Member Avatar for AmieCutie

So I've been working on a page to locate shops based on zip code and mile distance. I used this tutorial as a walk-through http://htmlcampus.com/build-a-zip-code-store-locator-application-in-php/ Now I've changed a couple of things like the mySQL table is called locations instead of zip_codes. I've tested it and it connects to the …

Web Development mysql php
Member Avatar for cereal
0
2K
Member Avatar for flynismo

As the title suggests, I created a base class named **member** which I want to use to get some basic information, but for some reason, I cannot seem to access those methods/values from the child class named **user_send_message** Here is the complete code that I have made so far -- …

Web Development oop php
Member Avatar for mschroeder
0
383
Member Avatar for ibakir

This is really hard coding for uploading one images yes its working. but now i need to upload multiple images for code below: the link of that page is: http://dalilack.com/marketProductUpdate.php?packageId=15 you need to sign in: username: Molham password: Molham with capital <?php require_once('Connections/dalilack.php'); ?> <?php //initialize the session if (!isset($_SESSION)) …

Web Development adobe ide image php
Member Avatar for ibakir
0
692
Member Avatar for Setvir

I am urgently seeking assistance with the following error: *Commands out of sync; you can't run this command now* here's the code: $sql="select pr1.".$_SESSION['lang'].", pr1.id, pr2.".$_SESSION['lang'].", pr2.id from `project` as pr2 join project as `pr1` on(pr1.id=pr2.parent_project) where pr2.id=?"; $stmt = $mysqli->stmt_init(); $stmt->prepare($sql) or die ("Error preparing statement: ".$mysqli->error); $stmt->bind_param('i',$_GET['id']); $stmt->execute() …

Web Development mysql php
Member Avatar for cereal
0
164
Member Avatar for ranjit_mahadik

i have created one form that checks the email validation .but when it checks the email validation if adress is invalid the return to form page with displaying proper error message. I HAVE CREATED THIS BUT IT IS NOT GIVING PROPER MESSAGE please help me out

Web Development php
Member Avatar for Biiim
0
106
Member Avatar for gurusubramaniam
Member Avatar for Biiim
0
570
Member Avatar for ppstyle

Please provide some web references which I can add in my asp.net website. I am from india , I urgently need a web service, even if its a paid one, but I need a working one. Please help!

Web Development asp asp.net
Member Avatar for ShivaSaurabh
0
166
Member Avatar for sherinpoulose

I have only one content placeholder.my problem is earlier i had two content place holders.now i removed one.Then my master page design was showing while running. but when i was removing that not needed content placeholder tag from all aspx pages, in the middle i saw that master page design …

Web Development asp.net display
Member Avatar for ShivaSaurabh
0
241
Member Avatar for anuj_sharma

Hey Guys, I've made a couple of web pages and now i want to add a master page to all the pages. But when i tried to add the master page the following error occured "Content controls have to be top-level controls in a content page or a nested master …

Web Development asp.net
Member Avatar for ShivaSaurabh
0
547
Member Avatar for pradeep.singh28

I have used an ASP .Net Menu Control ,It is working fine in Mozzila but in IE-8 , the Submenu are not displaying instead a white box appears havinfg the dimensions same as if the submenu items are present and when I take mouse over that box it dissapears.

Web Development asp asp.net
Member Avatar for doctor_nasir_c
0
486
Member Avatar for simplypixie

I have the following script: $('#login-box .forgot-pwd').click(function (e) { e.preventDefault(); $('#login-box #main-login').hide("fast"); $('#login-box .login-error').hide(); $('#login-box #forgot-login').show("fast"); $('#forgot-username').focus(); $('#login-box .forgot-send').click(function (e) { e.preventDefault(); $.ajax({ url: '/login.php', data: $('#login-box form.get-password').serialize() + '&action=forgot', type: 'POST', success: function(html) { if (html == 'success') { $('#login-box #forgot-login').hide("fast"); $('#login-box').append('<p>Your password has been emailed to you</p>'); $('#mask …

Web Development javascript
Member Avatar for simplypixie
0
293
Member Avatar for abhi10kumar

I have city and its corresponding locality. When user clicks city then its locality will show in Dropdown-Checkbox. How I can do with jQuery, AJAX and MySQL.

Member Avatar for abhi10kumar
0
1K
Member Avatar for subrata_ushasi

Hi all , I have one text box and submit button . I want to submit one by one value into the box and these values will be displayed one by one serially on the page . ex. aaaa then bbbb then cccc then will display <input type="text" name="txt" value=""><input …

Web Development display first-post php
Member Avatar for subrata_ushasi
0
176
Member Avatar for gurusubramaniam

After logout from a webpage, how to disabled the back link using php?

Web Development php
Member Avatar for broj1
0
90
Member Avatar for sania khan

I want to write code behind by close button so when user click rhat button whole application is close... is it possible? //this code is not giving right result... protected void ImageButton3_Click(object sender, ImageClickEventArgs e) { Response.Write("<script language='javascript'>window.open('','_self',''); window.close();</script>"); // Response.Write("<script language='javascript'>self.close();</script>"); //Response.Write("<script language='javascript'> { self.close() }</script>"); //Me.ClientScript.RegisterClientScriptBlock(Me.GetType(), "closemyself", "<script>self.close();</script>"); …

Web Development asp asp.net
Member Avatar for sania khan
0
214
Member Avatar for M.Waqas Aslam

Hello ! i am working on a simple asp.net project , i have two forms , frmlogin.aspx and frmmain.aspx , i want to redirect my frmlogin.aspx when my session is expired. i already added global.asax. i used all these codes at the session end event of it , HttpContent.Current.Response.Redirect("frmlogin.aspx"); Server.Transfer("frmlogin.aspx"); …

Web Development asp.net session
Member Avatar for M.Waqas Aslam
0
124
Member Avatar for prathapsv3

I have just started to learn PHP.I have installed Netbeans and WampServer, now when i run a sample php code in netbeans, browser showing 404 error.i think everything installed correctly,may be its because of some connection problem with browser and netbeans,should i change something in project properties?.Could someone please help?

Web Development http-protocol php web-browser
Member Avatar for Marcus mouse
0
506
Member Avatar for veledrom

Hi, I have a webform where users insert their personal data into db. What I want to do is to prevent duplication in PHP code. Currently I'm using query below but some users do deliberete things to go through this validation like swoping name&surname etc. I know that if the …

Web Development php
Member Avatar for pritaeas
0
96
Member Avatar for davy_yg

This is my html: <html> Cross Site Scripting Security <form action="komentar5.php" method="POST"> Nama: <input type= "textbox" name="nama" /><br /> Email: <input type= "textbox" name="email" /><br /> Komentar:<textarea name="comments" rows=10 cols=40></textarea><br /> <input type="submit" /> </form> </html> komentar5.php <?php $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $comments = isset($_POST['comments']) ? $_POST['comments'] …

Web Development php
Member Avatar for pritaeas
0
143
Member Avatar for davy_yg

spoofedform.php <html> Spoofed Form Security <form action="receive.php" method="POST"> Nama: <input type= "textbox" name="nama"></br> Warna Favorit: <select name="color"> <option value="red">red</option> <option value="green">green</option> <option value="blue">blue</option> </select> <input type="submit"> </form> receive.php <?php $nama = isset($_POST['nama']) ? $_POST ['nama'] : ''; $color = isset($_POST['color']) ? $_POST ['color'] : ''; // escape output $newnama = …

Web Development php
Member Avatar for niranga
0
137
Member Avatar for spyece

Hello, This is my first tumblr theme attemt and this is what i have got so far, the masonry is working on the main page, but when the infinite scroll jquery plugin loads the second page the sorting acts funny, here are the urls → Live Url : http://rmlthemer1.tumblr.com Complete …

Web Development javascript javascript-jquery
Member Avatar for lambing
0
264

The End.