52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for liamfriel

Hello, I am using a script to process subscriptions on our sites - I can sucessfully get the subscription payment to process, I am having issues processing a cancel IPN request. [CODE] // assign posted variables to local variables $item_name = make_safe($_POST['item_name']); $item_number = make_safe($_POST['item_number']); $payment_status = make_safe($_POST['payment_status']); $payment_amount = …

Web Development php
Member Avatar for liamfriel
0
243
Member Avatar for Imratzio

Hi guys, I have a shopping cart finished for my site but I do not know how to make checkout function that will link to my cart.php I will show u my codes [B]index2.php[/B] [CODE]<?php session_start(); include_once'../config.php'; include_once'../_header.php'; if(isset($_GET['page']))//get info from a get variable inside url { $pages = array("products", …

Web Development php
Member Avatar for Imratzio
0
173
Member Avatar for ganeshrnet

Below is a piece of code i,ve configured with, It's giving me an Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/****/public_html/****/g.php on line 265. The information stored in the database can accessed be accessed by other pages, using the same code. but its not possible …

Web Development mysql php
Member Avatar for pritaeas
0
255
Member Avatar for SalientAnimal

Hi Everyone, I am trying to create a login page for my "intranet" site that is authenicated via a MySQL database and Apache. I am having difficulty on where to start and how to carry the session information from the login to the other pages, i.e. for submitions etc. Can …

Web Development apache php session
Member Avatar for nonshatter
0
392
Member Avatar for ptara1

I currently have a linked table from two tables in one database. I would like to add information from a third table contained in another database. The code for the current table is: [CODE] <?php $con = mysql_connect("","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("", $con); …

Web Development mysql php seo
Member Avatar for pritaeas
0
119
Member Avatar for aplee

Hi everyone, I hope you could help me with my problem I am a fresh graduate and I am working now as a developer in a good company By the way, I am not the one who developed this tool, it's the previous programmer and they gave the project to …

Web Development asp.net microsoft-office vb.net
Member Avatar for aplee
0
245
Member Avatar for feoperro

Hi, Anyone know where I can get PHP source for a basic free contact form? I've googled and found quite a bit but I have no idea how to configure it to actually send emails, so I'm hoping there is one that I can download that I can test and …

Web Development php
Member Avatar for feoperro
0
503
Member Avatar for Majid Sarrouh

I am writing to an Access database by input into a form textfields and click submit i am receiving a confirming new page that my record is submitted successfully. below the fonfirmation message, there is a hyperlink on the expression "return to the form" that when clicked, i am taken …

Web Development asp session
Member Avatar for ArtistScope
0
183
Member Avatar for aashishn86

is there a way by which i can generate a excel report in asp and create a chart corresponding to it using asp as well...

Web Development asp
Member Avatar for ivy3
0
107
Member Avatar for andrewliu

I have this link, and when you click on it, theres a GET variable lets say domain.php?page= [CODE]$_GET['page'];[/CODE] and if page equals a variable, I can echo out a form. So what if that form has a link to edit, but its under domain.php?page=[B]form[/B] oh and I have set this …

Web Development php
Member Avatar for Shanti C
0
105
Member Avatar for njagi

Hi Is there anyone who know How to capute a whole HTML file and convert itto Excel for example <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="description" content=""> <title>Fourth Year Computer Technology Time Table</title> </head> <body> <p>&nbsp;</p> <p>&nbsp;</p> <table cellspacing='4' cellpadding='4' border="1" align="center"> <tr> <td>Day</td> <td>Time</td> …

Web Development client-server html-css php
Member Avatar for ddellostritto
0
871
Member Avatar for a_salted_peanut

Hi all, Please bear with me on this as i have not long been learning how PHP works and am still learning VB.NET slowly. I have been testing the code for PHP using the Apache webserver. The problem i am having is, this is the function i am using with …

Web Development encryption php vb.net
Member Avatar for DotNetNewbie5
0
2K
Member Avatar for Roybut

Hi All, (EDIT: Amazingly, I clicked on another thread to give myself a break from coding and i found half the answer immediately. Thanks Pritaeaus [url]http://www.daniweb.com/forums/post1478160.html#post1478160[/url]. However, when validation is not passed I still get the messed up page so if anyone can help, I'd be most grateful.) (EDIT 2: …

Web Development html-css perl php
Member Avatar for Roybut
0
220
Member Avatar for Jhon E

Hello everyone, I have a text file which has some values structured as below -------------------------------------- 1 2 3 4 -------------------------------------- Then i made a PHP file which can receive checkbox values (always receive 2,3 & 4) from another HTML file as below [CODE]if($_POST['Button']){ $check = $_POST['$boxname']; foreach($check as $chk ){ …

Web Development file-system php
Member Avatar for Jhon E
0
182
Member Avatar for kyoonn

Hello, I have created a webpage where I use a simple command line tool [oggz-tool] to cut a section of the video. It works fine but the only problem is that when the new file is created, it is owned by www-data and not by the user I created which …

Web Development apache php
Member Avatar for kyoonn
0
310
Member Avatar for Sorcher

Hello guys, i need a text box editor for users to post their own article, the article is stored to a database. I've been searching and i have not found what i need. I dont require a mega-advanced one, just so people can write an article. I hope someone can …

Web Development mysql php ui-ux
Member Avatar for diafol
0
1K
Member Avatar for mini programmer

Hi to all, Sorry, if I do not put this post in correct place.. I download GCC 4.5.1 compiler program, and I want to upload it (or connect it ) with website to help a users to write codes and compile them and check if they have error or not. …

Web Development php
Member Avatar for chrishea
0
192
Member Avatar for ryan311

please help to validate my username i know its simple but i can't get it i want only to validate the first 4 input of the username should be a letter. i try to use the preg_match function but i can't get it correctly.

Web Development php
Member Avatar for mschroeder
0
91
Member Avatar for hassan7

I have to make a website in my Php course..I want to gather some ideas what website i should make..any ideas Please

Web Development php
Member Avatar for Phaelax
0
76
Member Avatar for fantasma

Hi there! I have this function in jQuery that is suposed to toggle a div, according to each different record I click, in order to toggle an upload form. However I can't seem to get it to work properly. Anyone could help? I really need this working today :( jQuery …

Web Development javascript php
Member Avatar for fantasma
0
142
Member Avatar for Sahilsahni

Hi am kinda stuck here, so please if anyone could help me,i have 2 domains working on same hosting, one is Main Domain and other Addon, am using mail() function in Addon Dowmain website. everything is working fine, problem is script is running on addon domain but when people get …

Web Development email php
Member Avatar for d3rck
0
299
Member Avatar for six_sic6

I have an html div [CODE] <div id="myDiv"> <table border="1" bgcolor="#FFFFFF" width="600"> <tr style="text-align:center"> <td>Subject Code</td> <td>Subject Title</td> <td>Credit Hour</td> </tr> </div> [/CODE] Now, I want to have a button by which i can convert this <div id="myDiv"> to image or .doc.... can any one help me

Web Development html-css image php
Member Avatar for six_sic6
0
96
Member Avatar for featherwebdiva

Hi I've been all over these discussions and still cannot find the syntax that works! When I echo $co and $bus, they both print on screen as they should. But when I try to update the mysql records using the following php, the business_name field data gets erased instead of …

Web Development mysql php
Member Avatar for diafol
0
18K
Member Avatar for accra

Hi, am currently using this script to protect/encrpty info in the address bar,but i thnk its not very strong. cn any one help me make/find a more secure one, thanks. [CODE]<a href='articlesdetails.php?pif=ixhsuwu9xyysysjj300&yisu=uuwuwuwzuab&jsn=733888559jdjdjdeyey&tsyi=378hyxbh738hssh272sh&zy9stxyw=w&shy272bs2637shuw727hhshs377ywwwyw&id=$id'>[/CODE]

Web Development php
Member Avatar for mschroeder
0
177
Member Avatar for callyvan

Hi, I am forced to use the old style validation for some basic form elements, and I am having problems with a date input box, I figured that it automatically stores the value as a String so the "AND isDate(form.Effective_Date)" should return a true or false, what it does instead …

Web Development coldfusion
Member Avatar for arrgh
0
259
Member Avatar for parkz16

Hi, I am using the Google Maps API to integrate mapping into a web application. I am using HTML and JavaScript. I am having difficaulty integrating the directions function. I have a form which collects the users address/current location which is supposed to display a set of turn by turn …

Member Avatar for SolidSolutions
0
153
Member Avatar for nyler01

Hi.. Please help me in creating a script that will show the hidden textbox if a checkbox is checked.. I don't have any idea on how to do this. Thanks in advance..

Web Development php
Member Avatar for Hummdis
0
212
Member Avatar for arthurav

I am trying to implement a bruteforce check on a loginpage. It logs the logins from a certain ip. If there are more than 10 it will stop saving the logins in the database and will set the $nopage variable to 1. [CODE]$ip=$_SERVER['REMOTE_ADDR']; $res_check_bruteforce=$teste->query("select count(id),max(time) from bruteforce where ip='$ip'"); echo …

Web Development php
Member Avatar for Hummdis
0
113
Member Avatar for nurmd

i want search ,whene i want search this time show all same information from sql server using by php code case "search": $ID=$_POST['ID']; $bodyInfoText="$ID"; include("db_connect.inc.php"); $SQL="select * from tbl_person where kamal='%$ID%'"; $result=mysql_query($SQL,$con); if($result): if (mysql_num_rows($result)==1): $bodyInfoText="show_user_info.inc.tpl.php"; else: $bodyInfoText="$ID $Pass inValid user"; endif; else: $bodyInfoText="Fail to select :".mysql_error($con); endif; break; but …

Web Development php
Member Avatar for AMADH
0
145
Member Avatar for puvi

hi frens.. i have this piece of code, which is not working the way i thot it would. i want to check if the $key exists in array $rowid, where $key also comes from database. lets say, key exists for the 1st iteration (it prints exist), but if key exists …

Web Development php
Member Avatar for puvi
0
111
Member Avatar for kadriirdak

Hi There, I create an SQL statement to retrieve some data from DB. However I can not do the third if statement! my code; [CODE] $search = care_query(" SELECT contact_number, role, is_active FROM contact_roles WHERE contact_number='$mn' AND is_active='Y' AND role like 'S%'; "); while($row = care_fetch_array($search)) { $role= $row['role'];echo "<pre>"; …

Web Development php sql
Member Avatar for diafol
0
157
Member Avatar for Ritesh_4

Hello Anyone can pls provide me with a sample code, whereby if I change a field value in a web form (from a drop-down list for example), the value shown in another field is automatically updated to show the needed value for that selected option?

Web Development javascript
Member Avatar for Shanti C
0
200
Member Avatar for Alex_

How can this be... Another odd thing is that the error appears on the page but no trace in console This is my code [code=java] package actions; import com.opensymphony.xwork2.ActionSupport; import logic.*; import logic.organizations.Project; public class CreateProjectAction extends ActionSupport{ private Project project =null; private String message = "NULL"; public void setProject(Project …

Web Development apache java-jsp
Member Avatar for peter_budo
0
649
Member Avatar for anilashanbhag

[CODE] <html> <body> <canvas id="example" width="800" height="600"> This text is displayed if your browser does not support HTML5 Canvas. </canvas> <script type="text/javascript"> var example = document.getElementById('example'); var context = example.getContext('2d'); for(var j=0;j<8;j++){ for(var i=0;i<6;i++){ context.fillStyle = "rgb(255,0,0)"; context.fillRect(100*j, 100*i, 50, 50); } } </script> </body> </html> [/CODE] how do i …

Web Development javascript
0
71
Member Avatar for dazzlindonna
Member Avatar for jsmall26
0
200
Member Avatar for annttiigs

Hi, I have a jsp page running under jboss 4.2.2 server. The structure for the page is like : include head ( head is written on another page, like masterpage in aspx. ) <body> ( codded in main page ) include foot ( foot is also written in another page. …

Web Development java-jsp
Member Avatar for javaAddict
0
411
Member Avatar for legends

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent

Web Development php session
Member Avatar for diafol
0
279
Member Avatar for pearll

What is wrong here ... as verb_id and item_code is being entered into the database as "0" ... even the date is like 0000/00/00 ... Thanx in advance !! [CODE]<?php $verb_description=$_REQUEST['verb']; $item_description=$_REQUEST['item']; $post_description=$_REQUEST['post_description']; //to fetch verb_id $verb_sql="SELECT verb_id FROM tbl_verbs_master WHERE verb_description='$verb_description'"; $verb_id=mysql_query($verb_sql) or die(mysql_error()); //to fetch item_code $item_sql="SELECT item_code …

Web Development php
Member Avatar for pearll
0
106
Member Avatar for devfresher

c# interview questions are generic collection faster. I had a argument with the interviewer and my thought is they are not faster please help.

Web Development asp.net c c# c++
Member Avatar for khadakbist
0
205
Member Avatar for pearll

I have a combo box "verb" that displays a field of database .. when the user selects "other" from the drop down ...a div named "choicetext" appears and user enters his choice of verb .... The below code is of the action page ..in which i want to insert the …

Web Development php
Member Avatar for Shanti C
0
81
Member Avatar for devinodaniel

I'm trying to get my page to redirect back to another page after the form has been submitted to its self via $_SERVER[PHP_SELF] . I've tried using the header(Location) script but to no avail. Anyone know of an easy way to do this? Right now.. when my page is submitted …

Member Avatar for devinodaniel
0
1K
Member Avatar for nats01282

i need a piece of code to break down the data brought in from the MYSQL database im creating a small forum type on my website but with my layout if the user writes 5 lines it shows it all on 1 line and shows the bottom scroll bar, i …

Web Development php
Member Avatar for nats01282
0
99
Member Avatar for shawtyred74

I am not quite understanding how this how ereg and Preg_match thing works. I am trying to prevent users from creating a username that is less than 3 characters, with no capital letters, and no special characters and cannot be a reserved user id such as root, admin, and operator …

Web Development php
Member Avatar for shawtyred74
0
97
Member Avatar for zerey02

.Is there any way that i can get texts from a php form to supply it on another php form. and place it on the title attribute of my <a> tag. for example: <a href="" title=" //this is where i want to place the retrieved texts from my other php …

Web Development php
Member Avatar for zerey02
0
152
Member Avatar for jrivera

I've looked at all of the lightboxes and I'm not sure if I'm not looking hard enough or if I'm looking in the wrong place. I'm looking for a plugin that I can use that will allow me to do the following. Have 1 row of images (about 5 images …

Web Development image javascript
Member Avatar for jrivera
0
186
Member Avatar for CanadianGSX

I've looked around and from what I can tell, the code seems right. Basically crating a JS array and passing PHP values to it to use in an onChange to fill a text field. The dropdown gets populated fine but the text field does not autopopulate onChange. I'm not too …

Web Development javascript
Member Avatar for CanadianGSX
0
247
Member Avatar for vssp

Hai Friends While running my application i got this error. How to solve thsi error. Plesae send me any idea. PHP Warning: Cannot modify header information - headers already sent by (output started at /home/mixpublic_html/includes/common.php:244) in /home/mix/public_html/MiX/program/include/main.inc on line 673 Thanks Vssp

Web Development php
Member Avatar for pangeli
0
185
Member Avatar for andrewliu

Hello. I'm still in the learning process. I'm trying to figure out how this works. I'm trying to change the background and color of the text on hover and make it click able. When it is clickable, I would like the background to change on active, and then when you …

Web Development javascript javascript-jquery
Member Avatar for andrewliu
0
342
Member Avatar for FBG

Hi, On my website I have a lot of folders with lists of article links. I want to display the number of links in these lists on the folders people select, so they know how much articles are inside a folder and where to search. I've looked for help creating …

Web Development display php
Member Avatar for FBG
0
110
Member Avatar for kardklub

I have an online orders database which prints fpdfs for delivery notes and off hire notes. I have looked into digital signitures on fpdf but have not found anything useful. Would it be possible to use a very simple paint program on the web inserted in your orders page where …

Web Development php
Member Avatar for kardklub
0
109

The End.