52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Narayanan87

Hi i am new to JSP. I am setting a boolean value for session attribute in the java class. Now i am getting the same in the jsp using session.getAttribute("session attribute") method. Now i want to remove the session value in jsp. How could i achieve this??? Plz Help..

Web Development java-jsp session
Member Avatar for laxmipriya22
0
97
Member Avatar for phplover

Hello, I am going to be building a blog and have rattled my brains out on this but could someone please explain in much detail as possible how i would go about building a blog archive ? I don't mean i want the php code just the logic behind it. …

Web Development mysql php
Member Avatar for phplover
0
156
Member Avatar for karthikh87

Dear frnds i am new to this and please help me grow and gain knowledge on asp.net i want to know how to send contact form to gmail i wanted code please do the need full i wanted code in C# asp.net

Web Development asp.net email
Member Avatar for vimit
0
216
Member Avatar for tarunfuture

Hello Friends I am using the two forms on asingle php page form1 and form2. i am inserting the value from form1 and retrieving it into form2 into a dropdown. but in form2 it shows me second last inserted data rather than last inserted data. but after refresh the page …

Web Development php
Member Avatar for diafol
0
114
Member Avatar for diafol

Hi all, I've been using ajax for a while and I've been storing my trivial php include files in the public directory tree. Then I thought, I really should be putting my classes and includes above the public document root (as I used to do before I started dabbling with …

Web Development php session
Member Avatar for diafol
0
1K
Member Avatar for gcarvalho

Hey, DaniWeb friends! I've a problem with my login.php: When an error occurred, the [CODE]mysql_error();[/CODE] doesn't appear the error. Tested the [CODE]mysql_errno()[/CODE] also, it appears as 0, saying it doesn't have any errors. Take a look at the script: [CODE] <?php $username = $_POST['username']; $pass = $_POST['password']; require "conf/connection.php"; require …

Web Development mysql php
Member Avatar for diafol
0
452
Member Avatar for ankit.baphna

Error while browsing www.grahasti.com Parse error: syntax error, unexpected T_STRING in /customers/e/8/f/grahasti.com/httpd.www/apps/home/Lib/Model/UserModel.class.php on line 1 Class content: <?php class UserModel extends Model { protected $tableName='user'; var $uid; public function getUserByMap($map = array(), $field = '*', $limit = '', $order = '', $is_find_page = true) { if ($is_find_page) { return $this->where($map)->field($field)->order($order)->findPage($limit); …

Web Development php
Member Avatar for pritaeas
0
396
Member Avatar for eoop.org

Hey! I develop a search engine, most of the engine is finished. The only thing missing now is PageRank. Is there any type of opportunities to write a PageRank in PHP? I have saved the information / data in a MySQL database. The table looks like this: ID Title Keywords …

Web Development php seo
Member Avatar for instinctis
0
262
Member Avatar for dinhunzvi

is there a way to resize an image after you have uploaded it using php? suppose i want to restrict the width and height of my images to 1000 and 800 respectively what code to i add to the following code snippet? [CODE] $tmp_file = $_FILES['file_upload']['tmp_name']; $target_file = basename( $_FILES['file_upload']['name'] …

Web Development file-system image php
Member Avatar for kamili
0
156
Member Avatar for mmnewbee

Hi, I hope someone can help me with the problem I have. I want to design a simple auction site with PHP and would be grateful if someone could explain the logic of how such a site functions and if possible sample code for the bidding process to track all …

Web Development php
Member Avatar for mmnewbee
0
129
Member Avatar for geneh23

Hey everyone, Sorry if it seems as if I have posted something similar to this but I don't believe I have had this error before..well not really an error but anyway..so I have a change password form and I process it using php. Well, it goes through the process of …

Web Development php
Member Avatar for geneh23
0
121
Member Avatar for illum11

I want my links to work under My works when JavaScript is disabled. If someone could lead me in the right direction it would greatly be appreciated. Thank You Here is the testing site: [URL="http://illcomputers.comyr.com/portfolio/"]http://illcomputers.comyr.com/portfolio/[/URL] JavaScript and Ajax: [CODE] <script type="text/javascript"> <!-- function show_div1() { document.getElementById('free').style.display = 'none'; document.getElementById('ill').style.display = …

Web Development javascript
Member Avatar for illum11
0
149
Member Avatar for JayJ

Hi, I'm open to suggestions on the following project I'm trying to complete. I will post what I have currently done but I think that I'm limited in what I can do with the code as a form can only have 1 action. [B]Problem[/B] - I have a short questionnaire …

Web Development php
Member Avatar for JayJ
0
249
Member Avatar for ginG3R

Hello everyone, I need some help. Does anyone know any plugin I can install on my website to allow people to log into their facebook, twitter accounts and chat publicly? I have a client who needs this to be done and am pressed with time. Am not using wordpress Thanks

Web Development social-media wordpress
Member Avatar for ginG3R
0
183
Member Avatar for alan_ot

Hello all. got such problem. tested email function with my shared hosting and found out that i can send emails from form only to my domain emails accounts. nor @gmail.com no @yahoo.com do not receive emails from my site (domain). what kind of problem can it be? thank for any …

Web Development email php
Member Avatar for alan_ot
0
129
Member Avatar for Red_Rain

All, Im guessing this is going to be easy for any one to answer bc im such a fucking noob but here goes. I have mysql fields set to DATETIME and i just want to pull out that data and have it display in my form. And i would also …

Web Development mysql php
Member Avatar for simplypixie
0
261
Member Avatar for RazorRamon

Ok i have a lot of tables that are created when a user inputs information. Some info gets stored in a "Main" table while the majority is saved in its own self created table. I do not know the number of "topics" in Main table. so in way i'm trying …

Web Development mysql php sql
Member Avatar for pritaeas
0
117
Member Avatar for algeriano

Hello everyone, i met a real big problem and i'll really appreciate if someone can help me on this. i know there's something wrong in my file but i can't locate this problem. so the problem is i can't browse pages..for example i have 19 pages when i click on …

Web Development php
Member Avatar for pritaeas
0
225
Member Avatar for Philippe.Lahaie

Hi, I am currently taking care of a website that goes back to 1997 and mostly all programmed with Asp 2.0 and vbscript, while i keep the pages in Asp 2.0 when i have to update them, this week i had to implement some new pages, and since we are …

Web Development asp asp.net session
Member Avatar for Philippe.Lahaie
0
524
Member Avatar for ivan3510

Hi all! I have this code. Everything works fine except "setTimeout..." function. It's supposed to repeat this function every second (and change the age). Can someone, anyone, help me? Thanks a lot! [CODE]<script type="text/javascript"> function parseDate(input){ var parts = input.match(/(\d+)/g); return new Date(parts[0],parts[1]-1,parts[2],parts[3],parts[4]); } function calculate(){ var date = new …

Web Development javascript
Member Avatar for ivan3510
0
123
Member Avatar for kgizo

Hello, I would love to display the values of 65 columns which have been added and then display them on the screen, at the moment only 59 of the 65 columns added appear. here is my code. $result = mysql_query("SELECT SUM(segment) AS segment, SUM(funct) AS funct,SUM(pronoun) AS pronoun.............. right up …

Web Development mysql php
Member Avatar for kgizo
0
119
Member Avatar for gerbz

what's wrong with my code? <?php error_reporting(0); // ' Send me an email' script if($_POST['submit']) { //get data from form $name = $_POST['name']; $message = $_POST['message']; if($name&&$message) { // existance check $namelen = 20; $messagelen = 300; if(strlen($name)<=$namelen&&strlen($message)<=$messagelen) // length check { // everything is ok! //set SMTP in php.ini …

Web Development email php
Member Avatar for alan_ot
0
118
Member Avatar for dualzNZ

hi all i have created a dynamic signature for a project i am working on it is working fine but i would like to also pull the users avatar as well to show inside the dynamic signature. my current dynamic code [CODE]<?php include("../system/uploadconnection.php"); include("../functions.php"); $username = $_GET['username']; // This gets …

Web Development image php
Member Avatar for dualzNZ
0
159
Member Avatar for patk570

Trying to figure out why this SIMPLE math function will not work. If anyone can help me that would be great....Thanks [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Calc Price</title> <SCRIPT LANGUAGE="JavaScript"> function doMath() { var one = eval(document.theForm.elements[0].value) var …

Web Development javascript mathematics
Member Avatar for Airshow
0
217
Member Avatar for Julia25

i was able to find a good script on centering a div vertically but not compatible on ie old browser and another issue my div is pushing up because i have a footer and i dont know how to adjust on script adding a top border :( [CODE] <script type="text/javascript"> …

Web Development javascript
Member Avatar for Julia25
0
110
Member Avatar for Julia25

Is there a script that when div resize(browser) it will maintain aspect ratio? ive tried using css which adjust the width through min-max but wish to maintain the aspect ratio (height) [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style …

Web Development html-css javascript
Member Avatar for Julia25
0
398
Member Avatar for algeriano

Hello, can anyone help me on this when i try to hit an invalid link to my site it gives me this : [B]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/nadia/public_html/showarticle.php on line 39[/B] here's my showarticle.php [CODE]<?php require_once ("includes/config.php"); require_once ("includes/functions.php"); $script_name = 'showarticle'; …

Web Development mysql php
Member Avatar for algeriano
0
326
Member Avatar for mehdi.yazdani

hi i used from regular command for showing date in php [CODE]<?php echo(Date("l F d, Y")); ?>[/CODE] that as you know the result is some things like this : Monday December 12, 2011 but i need the brief form of date some things like this one : 12/30/2011 . please …

Web Development php
Member Avatar for simplypixie
0
176
Member Avatar for sidra 100

can any1 tell me wats wrong in my code i cannt change my password using this code [CODE]<?php $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); if (!$con) { die('Could not connect: ' . mysql_error()); } $username = $_POST['username']; $password = $_POST['password']; $newpassword = $_POST['newpassword']; $confirmnewpassword = $_POST['confirmnewpassword']; $result = mysql_query("SELECT password FROM customer WHERE username='$username'"); …

Web Development php
Member Avatar for mikulucky
0
100
Member Avatar for afrogfx

[B]Form.php[/B] [CODE] <form autocomplete="off" enctype="multipart/form-data" method="post" name="form"> <p></p> <div class="form-elements-malling"> <label for="fullnamemalling">Name<br /></label> <input type="text" name="fullnamemalling" id="fullnamemalling"/> <span></span> </div> <p>&nbsp;</p> <div class="form-elements-malling"> <label for="emailmalling">Email<br /></label> <input type="text" name="emailmalling" id="emailmalling"/> <span></span> <input type="submit" value="Submit" style=" background:#0060a1; color:#FFFFFF; font-size:14px; border:0; " class="submit"/> <span class="error1" style="display:none"> Please Enter Valid Data</span> <span class="success" style="display:none"> …

Web Development email javascript-jquery php
Member Avatar for sidra 100
0
149
Member Avatar for klemme

Im a completely retarded person when it comes to creating regex patterns! I want to check a users input, and allow certain urls, so here I have half of a pattern I have put together - Well it is actually the whole bit, but im missing bits and parts to …

Web Development php regex seo
Member Avatar for klemme
0
237
Member Avatar for tieastie

hello, i want my program to have the ability to generate a graph from the existing data. it works well. but i want there's a block of text that describe the generated graph or maybe to have a link or button in the same page with the graph. i read …

Web Development php
Member Avatar for mikulucky
0
376
Member Avatar for prasanna123
Member Avatar for mikulucky
0
161
Member Avatar for Behi Jon

Hi, How could I find a sample web application with php for a database in mysql ? I just don't know how it will look like ! thanks in advance ...

Web Development mysql php
Member Avatar for mikulucky
0
224
Member Avatar for akhtar.ali803

I have tried this code but its not working....what I want is that when I click on "Available" hyperlink a popup form should be opened. I have copied the code below <? if($GotPro['available']==1) { echo ($GotPro['PropertyName'].":". '<a href="#" ><script type="text/javascript">window.open(<a href="checkavailability.php" ></a>)</script>Available</a>'); } else if($GotPro['available']==0) { echo ($GotPro['PropertyName'].":". '<a href="#" …

Web Development perl php
Member Avatar for reganstar
0
191
Member Avatar for marcus03

Hello, I'm new on using PHP language and using SQL for database. and yesterday I stumbled upon using the column ACCOUNT_CODE on one of my table in my database as a reference to check if the user that will about to logged in have a premium membership or not.. my …

Web Development php
Member Avatar for marcus03
0
687
Member Avatar for asif49

[url]http://www.w3schools.com/php/php_ajax_rss_reader.asp[/url] I'm using the above tutorial to create an RSS reader. It all seems to work however I would like to be able to see the source code for the content when someone right-clicks and asks to 'view source'. I understand that the work is done server side and the …

Web Development php
Member Avatar for asif49
0
179
Member Avatar for sthakre624

[TEX]I have a problem in my website.I have a online shopping website.I want some changes in my site.suppose when a non registered user buy a product on my site and go to the paypal for payment.wich funtionality i used between my website and paypal.please tell me how can i send …

Web Development php
Member Avatar for simplypixie
0
101
Member Avatar for bflack

Hello guyz, I was using sessions on my php code to pass specific variable values such as usernames. Everything goes well when I go straight browsing from page 1 to page 2, 3, 4 etc. but when I press the back button or even clicking the link to another previous …

Web Development php session
Member Avatar for simplypixie
0
194
Member Avatar for bflack

Hello guyz, I have this code bellow which is to download stored files on directory. I was using $reload=$_SERVER['PHP_SELF']; for page reload and I was curious if would it be possible to use $_SERVER['PHP_SELF'] and reload php page two or more times?.. cause when I clicked on a link 'song …

Web Development file-stream php
Member Avatar for bflack
0
286
Member Avatar for abe08

hello.. I have already join this group. I'm the newbie. I have problem with my code. I wrote in php and I use xml database. I have 3 page in php. first, layout for the list. second, input for the list form third, I want to save in xml. But, …

Web Development php xml
Member Avatar for abe08
0
160
Member Avatar for karthik_ppts

Hi frendz In my website somebody changes the content as [B]"hacked by phantom"[/B]. Anybody heard about this word "hacked by phantom" and what is the issue? Any virus? or Hackers?

Web Development cybersecurity php
Member Avatar for karthik_ppts
0
232
Member Avatar for davy_yg

Hi, I am trying to simple php program to read the following xml and with loop foreach wants the book title (judul) to be printed on the screen. books.xml [CODE] <?xml version="1.0" encoding="utf-8"?> <perpustakaan> <buku isbn="01232312312"> <judul>PHP Programming</judul> <pengarang>Whoever he is</pengarang> <penerbit>KomTek Publishing</penerbit> </buku> <buku isbn="01534534"> <judul>Simple Programming</judul> <pengarang>No one …

Web Development php publishing xml
Member Avatar for cereal
0
108
Member Avatar for cobberas

Can anyone tell me how to deal with apostrophes in search fields? I have the following search page: (sorry for the length of code; I thought it best to post the whole page) [CODE]<?PHP session_start(); require_once $_SERVER['DOCUMENT_ROOT'] . "/_dev/_includes/general.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/_dev/_includes/case.php"; require_once $_SERVER['DOCUMENT_ROOT'] . '/_dev/_includes/court.php'; require_once $_SERVER['DOCUMENT_ROOT'] . …

Web Development php
Member Avatar for pritaeas
0
250
Member Avatar for buykona

I received the below website but for some reason the email button is not working properly. I'm not getting emails at sales@buykona.com I even try sending one myself, it didn't work. Can anyone help on this? Thanks, Julio <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta …

Member Avatar for pritaeas
0
128
Member Avatar for dinhunzvi

i'm trying to upload file using php. i want to restrict the file extensions to .jpg and jpeg. this is the code i have [CODE] $upload_errors = array( UPLOAD_ERR_OK => "No errors.", UPLOAD_ERR_INI_SIZE => "Larger than upload_max_filesize.", UPLOAD_ERR_FORM_SIZE => "Larger than form MAX_FILE_SIZE.", UPLOAD_ERR_PARTIAL => "Partial upload.", UPLOAD_ERR_NO_FILE => "No …

Web Development file-system php
Member Avatar for kamili
0
175
Member Avatar for daniel36

when a user pays for purchasing our product then how we can know that which user paid through information sended by paypal to our ipn.

Web Development php
Member Avatar for kamili
0
112
Member Avatar for Moderns

Hi, anybody can tell me please how to Get xmlHttp.responseText when you call from IFrame? I get empty xmlHttp.responseText, while when calling server from out the IFrame, I get the responseText without problem, how can I solve this problem? Thanks. [CODE] <iframe> <input type="button" onclick="CallServer()"> </iframe> [/CODE]

Web Development javascript xml
Member Avatar for Moderns
0
297
Member Avatar for toplisek

Input field is filled but not submitted... Validation: [url]http://jquery.bassistance.de/validate/demo/[/url] Ajax/Jquery based variable from input field. If there is Name (required, at least 2 characters)it should change content (text) with Full name like Mr. Luck Murphy. How to do this in correct way as there is already validation Javascript: <script type="text/javascript"> …

Web Development javascript javascript-jquery
Member Avatar for toplisek
0
158
Member Avatar for trektrak

I know it is possible to do so ... But I'm wondering how it can be done... is there any direct php source or html source code for words plugin or whatsoever? From the sources that I've been wandering around google so far is only viewing .... Or maybe theoretically …

Web Development flash pdf php web-server
Member Avatar for maba001
0
329

The End.