52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for akai80

Hi im developing a PHP website based on PHPRunner 5.0 and i feel that it has basically all the features that im looking for. However i do want to have a private messaging system for users to send messages to other users. anyone knows which software have this component and …

Web Development php
Member Avatar for diafol
0
102
Member Avatar for Rameses

I've created database in Mysql and would like to access db tables from localhost jsp. This is what I've created for far: [code=JSP]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <HTML> <HEAD> <TITLE>insert data using JSP </TITLE> </HEAD> <BODY bgcolor="#ffffcc"> <font size="+3" color="green"><br>Welcome to my world !</font> <FORM action="statement.jsp" method="get"> …

Web Development java-jsp
Member Avatar for javaAddict
0
152
Member Avatar for harrysuke

table items barcode quantity price id table serial_number barcode serial_number id table items_out barcode serial_number quantity price id i have three table just like i describe above. if i choose a barcode and quantity=2 from table items and i want to move 2 serial_number from table serial_number to table items_out, …

Web Development asp
Member Avatar for harrysuke
0
102
Member Avatar for Jacky1

I want to know if this image has been viewed let say if I have this link : [url]www.example.com/image.jpg[/url] when the imaged get viewed I want store the time of view in db , my only problem is how can I tell if the image has been viewed and how …

Web Development php
Member Avatar for Jacky1
0
833
Member Avatar for Roger L

Hello, I am a JSP newbie. I am trying to encode a password on a login form, before it is sent to the server. I created a test button to display the hashed password, but errors out with the message 'digestPswd not defined' Here are the code snippits that I …

Web Development java-jsp javascript
Member Avatar for Roger L
0
172
Member Avatar for LTT

Hello! Im new to PHP and have a need for what I have found out is called AJAX. I prefer to code in PHP for my DB access. I need to create a dropdown list using AJAX that updates it self depending on what is slected in the parent dropdown …

Web Development javascript mysql php
Member Avatar for jshpro2
0
459
Member Avatar for jakx12

ok so, the problem is it goes straight to the register3.php and it totally ignores the if statements! here is the code: [ICODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title>Register</title> </head> <body> <center> <h1>You Are Now Ready To Register!</h1> <div class=indexboxlarge> <form action=" " method="post" name="register"> <label>First Name*<br> <input name="name1" type="text" …

Web Development html-css php
Member Avatar for erms
0
95
Member Avatar for ndeniche

somewhere i read to install joomla i must install it in apache's directory htdocs... but i installed the php5, apache, mysql pack with easyphp... and it doesn't have any htdocs folder... where do i install it then?

Web Development apache php
Member Avatar for Rapunzl
0
179
Member Avatar for jakx12

ok so what i want is the image path to be implemented in the database, but i dont understand how i can also include the speech marks for the image source. Heres my code: [ICODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title> Image Upload </title> </head> <body> <?php include("header.php"); ?> <br> …

Web Development html-css php
Member Avatar for diafol
0
84
Member Avatar for LTT

Hello I have a question about pulling a value from a mySQL DB. Wondering how you pull just one value out of a list.. ex. Table name is People ID 1 FIRST NAME Jim LAST NAME Boberson PHONE 555-555-5555 AGE 99 How would I display just Jim Boberson's age on …

Web Development php
Member Avatar for LTT
0
71
Member Avatar for jakx12

Here is a little bit of the code that generates a number based on retrieving the largest number from the field Number. However when it inserts it in, the Number value is 0. here is the code: [ICODE]<?php SESSION_start(); include("dbcon.php"); dbcon(); $user = mysql_real_escape_string($_POST['user']); $content = mysql_real_escape_string($_POST['content']); $date = mysql_real_escape_string($_POST['date']); …

Web Development php
Member Avatar for jakx12
0
93
Member Avatar for mrcniceguy

as i`m creating a social network website,i would like to inhance members to upload photos to their personal albums. So i dont know how to get started,is there a free script i can use or somebody to explain to me what i need to do inorder to fulfill my needs. …

Web Development php
Member Avatar for mrcniceguy
0
129
Member Avatar for Andy2210

Hi am currently new to php i know all the basics etc but wanting to learn to do bigger more complicated things can anybody reccomend any gud software or books or anywhere could have help learning any help would be appreciated fanx

Web Development php
Member Avatar for almostbob
0
105
Member Avatar for serdas

i get this old code to create some tables but it gives me error this [code]#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`message` TEXT NOT NULL , `from` INT( 11 …

Web Development php
Member Avatar for almostbob
0
91
Member Avatar for csharplearner

Hello all, I have this strange problem. I have a website where user can post messages to the site. I see from yesterday that someone is trying is manipulate with the forms. I see some 1048 messages posted in a single minute to the site :( . I used nl2br(htmlentities(-displaymessage)).. …

Web Development php
Member Avatar for csharplearner
0
136
Member Avatar for funlovingashish

HII EVERYONE. i AM WORKING ON JSP AND I WANT TO SET THE SCREEN RESOLUTION ACCORDINGLY.ANYONE PLZ HELP ME OUT!!!

Web Development java-jsp
Member Avatar for masijade
0
101
Member Avatar for jakx12

ok so here is the error:[ICODE] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from, content, date) VALUES('', '', '', '')' at line 1 [/ICODE] Between the apostrophes is the information from the …

Web Development mysql php
Member Avatar for Shanti C
0
74
Member Avatar for rpk5000

I'm having an issue getting IE 7 to respond to the setAttribute("src", "...") command in javascript. The code does the following: 1) There exists an img id called mainImage in my html. 2) On load the body calls getimagesource 3) The javascript reads a configuration file (test3.txt), that has each …

Web Development javascript
Member Avatar for rpk5000
0
398
Member Avatar for thunderman

hello, I 'm still a noob at programming in vb.net I have a little problem. I 'm trying to get my selected rows to another page. I already can select my rows with checkboxes but I don't know how I can pass them through a session to another page. hopefully …

Web Development asp.net session vb.net
Member Avatar for sada.umesh
0
366
Member Avatar for ssreevidya.m

Hi, I have web page containing 4 ImageButtons for get new id,delete a record,edit the record and save a record.The three of them worked correctly. But when clicking on the save button, a message of microsoft internet exolorer displayed like this: The Web Page you are Viewing is trying to …

Web Development asp.net image
Member Avatar for ssreevidya.m
0
102
Member Avatar for vivichie
Member Avatar for gpittingale

Hello Again everyone, I have two forms on the same page, i have text input fields and the drop down boxes i created are auto submit boxes i created with javascript. Now the problem is that when form 1 submits itself it resets form 2 and vica verca i am …

Web Development php
Member Avatar for almostbob
0
100
Member Avatar for blizeH

Hi, I'm currently [URL="http://www.daniweb.com/code/snippet794.html"]using this fantastic script[/URL] by Fungus1487 (thanks!) but am having a bit of trouble getting it to detect Saturdays. For example, when I enter a start date as a Thursday, then enter an end date that's a Friday it'll return 1, fine. If I enter a date …

Web Development javascript
Member Avatar for essential
0
120
Member Avatar for mzd12111

hi there pals. i am writing some codes for a scaffolding application. consider i want to implement : [IMG]http://ce.sharif.edu/~zamanian/untitled.JPG[/IMG] when user click in Delete Link, DB delete that row and make it disappear from the page with Ajax. i put the whole table on one DIV , and i want …

Web Development javascript
Member Avatar for Luckychap
0
123
Member Avatar for OWL76

Hey guys, complete noob, been trying to figure out how to wrap my head around cffile for a couple of weeks now. I can get a file to upload to the server, even change the name once saved. But i am having problems entering the data into my database.any help …

Member Avatar for danarashad
0
146
Member Avatar for gpittingale

Can anyone please help here I have a form that i wish the user to select a product from a drop down box and then query it in a mysql then i would like to the user to input a number in the next field the press the submit button, …

Web Development php
Member Avatar for Fest3er
0
140
Member Avatar for rickarro

Hey All, I've got a web page that displays multiple boxes of text using php. The text are coming from .txt files instead of using a database to store the data. I can update these text files when I want to change the information. My problem is that I need …

Web Development php
Member Avatar for almostbob
0
217
Member Avatar for tania khan

[QUOTE=ardav;788833]This sounds like a clear cut research job that YOU should be conducting for your coursework (or whatever). BTW This is a pHp forum[/QUOTE] [code] Hi I need your help in my project of "online examination”. I am developing this for my lab. backend: sql server 2000 front end: ASP …

Web Development asp client-server
Member Avatar for peter_budo
0
132
Member Avatar for sierrasoft
Member Avatar for peter_budo
0
131
Member Avatar for love_dude1984

hello frendz.. Well, im a beginner in Asp.Net.. im using a win vista home premium & also installed IIS,Visual studio 05. I created a new web site using a Location as HTTP. my prob is whenever i try to run the website, it gives me the error shown in the …

Member Avatar for love_dude1984
0
118
Member Avatar for gpittingale

Hi everyone i cant seem to get my drop down boxes to retain the data the user selected is this code right? [CODE]<select name="bap1" id="bap1" onchange='this.form.submit()' value="" > <option>Select One</option> <option value='Energy Efficient Cooking' <?php if($_POST['bap1'] == 'Energy Efficient Cooking') echo "selected"?>>Energy Efficient Cooking</option>[/CODE] Tahnks in advance anyone!!

Web Development php
Member Avatar for gpittingale
0
93
Member Avatar for Anandmahalakshm

i want to Call a Div tag in validating a form.....that means i need a div call at the onblur condition....in that time i want to recieve a msg like this username is already exits....like that

Web Development php
Member Avatar for diafol
0
111
Member Avatar for antwan1986

Hi everyone and thanks for reading. Up until yesterday I was unaware of this technique, and have always just ran a user's password through md5 and stored the result to the database. From what I've been reading about SALT it sounds like a very cool way of making your passwords …

Web Development php
Member Avatar for antwan1986
0
103
Member Avatar for Potato.Head

Hi to all I'm trying to change the headers of a request, I'm trying to simulate a request from different browsers, languages... The problem is when I try to change the headers I receive an exception(see below), this is the code I'm using: [code] HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Headers.Set(HttpRequestHeader.UserAgent, httpRequest.ServerVariables["HTTP_USER_AGENT"]); …

Web Development asp.net
Member Avatar for Potato.Head
0
2K
Member Avatar for its.romi

I am currently working in asp.net, I m all new to web programming. I have to make a website for our clients, we will give them a user id and password of thier equipment and the details (given by the clients) will be entered in the database. My questions is …

Web Development asp.net email
Member Avatar for its.romi
0
162
Member Avatar for ansari.wajid

I have created a user control with name menuUserControl with menu control in it. I have created a user defined property for the user control(menuUserControl) as groupid and when ever I pass groupid to the user control(menuUserControl) in a page, it should use a theme based on the groupid I …

Web Development asp.net
Member Avatar for joelsmith
0
159
Member Avatar for dhakshina moort

How to load the asp web pages into internet

Web Development asp.net
Member Avatar for joelsmith
0
88
Member Avatar for theimben

Im using [URL="http://uk2.php.net/manual/en/function.get-browser.php"]get_browser[/URL] and I only want to echo parts of what is returned. So say for example I just want to echo platform and browser from what the array returns. How would I do that. Thanks :)

Web Development php
Member Avatar for theimben
0
158
Member Avatar for websurfer

Hello, All: I have been testing and learning by building this simple CMS application and want see if works OK, but most importantly, would like to know if any of you are able to hack it. It's a simple "notepad" that allows people to register their own id/pw and able …

Web Development cms php
Member Avatar for websurfer
0
110
Member Avatar for Indianblues

Hi I am trying to add FolderBrowserDialog to my ASP.NET page. So i added a reference to using System.Windows.Forms. Now i have placed a button and in button click event i have written code like this . [code=c#]protected void Button1_Click(object sender, EventArgs e) { FolderBrowserDialog fbd = new FolderBrowserDialog(); fbd.ShowDialog(); …

Web Development asp asp.net
Member Avatar for Kusno
0
552
Member Avatar for almostbob

everybody knows strtotime is buggy in and around february first day +1month at the 29 30 31 January typically puts you in march 1 not Feb 1 last day of the month is not always 28 feb, may be march I have a script for my own use, residential leases …

Web Development php
0
106
Member Avatar for PomonaGrange

Hi There folks. I was thinking of trying to make a php function in my sites configuration file so that I could keep all mysql database info in one central file. I should mention that this is the first time I have tried to make my own function. I have …

Web Development php
Member Avatar for PomonaGrange
0
151
Member Avatar for jakx12

Basically what i want is the action page to have "GET" information in it. here is the code i got so far: [ICODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> </head> <body> <?php include("header.php"); ?> <center> <h1>You are currently uploading an image in gallery: <?php echo $_GET[gall]; ?> <br> <br> <br> <br> …

Web Development html-css php
Member Avatar for diafol
0
84
Member Avatar for Aamit

[code] <? $sql="select * from table"; while($row=mysql_fetch_array($sql)) { $name=$row['name']; $view=$row['view']; $view1=$row['view1']; $id2=$row['id']; ?> <form name="myform" action="list.php?id=<?=$id2;?>&view=<?=$view;?>" method="post"> <td align="center" width="5%"><?=$name;?></td> <td align="center" width="5%"><?=$view;?></td> <td align="center" width="3%"><input type="text" value="<?=$view1; ?>" size="5" id="newva" name="newva"> </td> </form> <td align="center" width="5%"> <a href="/show/list?id=<?=$id2;?>&view=<?=$view;?>" onClick="document.myform.submit();" >Submit</a> </td> <? } ?> [/code] It shows out put …

Web Development php
Member Avatar for diafol
0
277
Member Avatar for Sarah Lee

[COLOR=#008000]Hi In my application, i would like to use the popup window concept. When the user clciks a button, a popup window should appear, with a textbox to enter a value. on closing the popup window, the user entered value should get saved into a table[/COLOR] [COLOR=#008000][/COLOR] [COLOR=#008000]I am using …

Web Development asp asp.net
Member Avatar for anthonyqkiernan
0
5K
Member Avatar for tarikiihem_01

Your web based ordering should work as follows: 1. Authorized customer must be able to place his online orders. 2. Authorized customer MUST log in first before making any transaction. If the login is invalid the customer access is denied and a message is displayed to the customer “ACCESS DENIED” …

Web Development html-css java-jsp oracle
Member Avatar for ~s.o.s~
0
132
Member Avatar for theimben

I have this... [code=php] <?php $links = explode("\n", $_POST['links']); foreach ($links as $links) { echo '[PART="NUM"]'.$links.'[/PART] <br />'; } ?> [/code] Where it says NUM I want the number of its position in the array. So if I fed this to this script: [CODE] http://www.google.com http://www.yahoo.com http://www.ask.com [/CODE] The script …

Web Development php
Member Avatar for almostbob
0
96
Member Avatar for aparnesh

I have developed a site in PHP 5.26, which is running perfectly from the development server. But after uploading the site to the Web server, it is not working. The server is running PHP 4.4. I haven't used any specific features of PHP 5, so the site should have worked …

Web Development php web-server windows-server
Member Avatar for uncle_smith
0
150
Member Avatar for NoGood

Hi I'm creating an appointments system for a project using PHP and MySql. I want to be able to select the date of the appointment using a pop up calendar. Example of what i would like to happen: On my form i will have a date field which will be …

Web Development php
Member Avatar for NoGood
0
347
Member Avatar for zanzo

I want to get to the parent location each time I'm adding a record. the problem is that i have a nested iframes, and each time the number of those is incremented: eg. at first adding record i have the location like this: parent.location second: parent.parent.location third: parent.parent.parent.location how could …

Web Development javascript
Member Avatar for gurshan
0
135

The End.