52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for safeer007

I have to open and then unlink a pdf document. [code=php]$url = "../tempdocs/".$tmpdocname; header("Location: ".$url."");[/code] here i can open this document but as I add [icode]unlink($url);[/icode] the browser shows " File is not found". so unlink runs before the completion of file open... if anybody knows a solution please reply

Web Development pdf php
Member Avatar for Atli
0
85
Member Avatar for lithodora

[URL="http://www.daniweb.com/forums/thread46880.html"]Old Thread on the same topic[/URL] I have tried all kinds of things to resolve the issue. My code even works on another server, but I can not use that one. There is NO whitespace. [code]<? // login.php - login form ?> <script type="text/javascript"> function Usernamevalid(which){ var test = validateusername(which); …

Web Development php session
Member Avatar for lithodora
0
148
Member Avatar for cmaclennan

Hey guys, Hoping someone can help me out here, I have a query thats pulling essentially an order record from multiple tables, it pulls all of the customer details etc as it should however when the order contains more than 1 part for example instead of just returning 1 set …

Web Development php
0
87
Member Avatar for bassline77

Hi, I have a simple problem that I just can't get right. I have a site that sells photos. The photos appear on PHPSimpleGallery with the file name as the photo's name. I need some sort of script that, if the user select the photo (via a button or something) …

Web Development php
Member Avatar for diafol
0
89
Member Avatar for Merlin33069

so im really getting into the ajax crowd, though i dont strictly use ajax (no xml) i like the functionality of calling server side scripts for dynamic php functions... anyway i have a few images in this form ive made that i would like to be placed correctly let me …

Web Development image javascript xml
Member Avatar for Merlin33069
0
127
Member Avatar for designingamy

I really need someone to point me in the right direction. I am building a page where a person can choose what border they want to go around their business information. Once they choose it, the image goes in the database, as well as their info. I'm okay on figuring …

Web Development image php
Member Avatar for Atli
0
96
Member Avatar for fobos

hello all who read, im here to write this forum, because i have exhausted all means (to my knowledge) of figuring this out. I used the same settings with another outlook and it worked. Basically i have a form and when the user hits "submit", the form gets directed to …

Web Development php windows-server
Member Avatar for Atli
0
129
Member Avatar for silviufuicu

[CODE]Fatal error: Call to undefined function usermenulist() in D:\xampp\xampp\htdocs\general\membersList.php on line 163[/CODE] this is membersList.php [CODE]<?php //-------------------------class MemberListHandler-------------------->>> /* * * @category * @package Members * @author vijayanand39ag05 * @copyright * @license * @version Release: @package_version@ * @since 2006-05-01 */ class MemberListHandler extends MediaHandler { private $showPageNavigationLinks = false; private …

Web Development php
Member Avatar for silviufuicu
0
229
Member Avatar for Xessa

Hello. I have a web page and i want user to be able to select multiple options. The problem is that when i write [code] <select name="aha"> <option value="hhh">HHH</option> <option value="kkk">KKK</option> <option value="ppp">PPP</option> [/code] There is no problem in my JSP page. But later when i try to write [code] …

Web Development java-jsp
Member Avatar for jodin
0
210
Member Avatar for Xessa

I want to create a listbox in a jsp page. I want people to be able to choose multiple options... Also i want if one option is selected, people should not select another option. EXAMPLE If b is selected people can select a and c. But if a is selected …

Web Development javascript
Member Avatar for essential
0
127
Member Avatar for samarudge

Hi, I have this code which is not working [CODE=javascript]<script type="text/javascript" language="javascript"> <!-- function loadpage() { document.getElementById('Loadingindic').style.top = '-500%'; } function checkfields() { if(name()==true){ if(email()==true){ if(message()==true){ return true; } } } return false } function name() { name = document.getElementById('CF_N').value; if ( name.length == 0 ) { alert('Please enter your …

Web Development javascript
Member Avatar for essential
0
161
Member Avatar for knrakesh

Hi Friends, I need to design a script which will block all user interaction on PC until an activity is completed. Problem: We need to fill time reports every day. People tend to forget filling this. This directly affects companies revenue. Solution: I am thinking of running a script every …

Web Development php
Member Avatar for ShawnCplus
0
123
Member Avatar for rouse

I was looking at the JQuery for absolute beginner instructional video where I was shown how to add and remove an item for an unordered list. The demo assumed that you had one unordered list on a page. I tried to create a demo where there are two unordered list …

Member Avatar for chridam
0
150
Member Avatar for furqan219
Member Avatar for furqan219
0
133
Member Avatar for furqan219

[CODE] <form action="update.php" method="post"> <input type="text" name="userdate" value="<?= $b ?>" /> <input type="submit" name="subjoin" value="Update"> </form> [/CODE] and update.php [CODE] $c= $_POST["$b"]; echo "value".$c; //its not working[/CODE]

Web Development first-post php
Member Avatar for djjjozsi
0
77
Member Avatar for jay.barnes

Hello! I'm having some problems with using data in an PHP form I'm working on that utilizes AJAX. Could be a beginner's mistake, but, then again, it might not be... :) SCENARIO: I have a form with two sets of fields, origin country, city, state, and zip, and destination country, …

Web Development javascript open-source php
Member Avatar for jay.barnes
0
317
Member Avatar for Dio1080

Hello, my task was to make two constructors for the code that I also posted and they are not working. Can somebody help me figure out why they are not working. I posted them right below. here are my constructors for course and Faculty course.js: [code=javascript] function Course (name, times, …

Web Development javascript
Member Avatar for Dio1080
0
155
Member Avatar for raul66

[B]Hi, I am working on result.php page, where I want to order data by date, but I want remove (don't print) duplicate records.I am using 3 tables: 1,results - short res 2,excercises - short exc 3,user - shor usr I have this query:[/B] [code] [COLOR="Green"][I]<div class="main"> <table cellspacing="20"> <tr> <th></th> …

Web Development php
Member Avatar for raul66
0
160
Member Avatar for seaders

I'm using GD2 with PHP 5.2.9.2 and I'm trying to create a dynamic compass type thing. What I'd like is simply an arrow image that will change where it's pointing based on the [code]?=rotate[/code] get variable I pass to it. Problem is that because the image is square, imagerotate (the …

Web Development image php
Member Avatar for ShawnCplus
0
96
Member Avatar for joewalsh63

I have a pre-made template and have inadvertently messed something up when trying to add a favicon link. I've googled what I can and tried several corrections but fear I have made things worse...please can someone come to my assistance at all? The page says Parse error: syntax error, unexpected …

Web Development html-css php
Member Avatar for djjjozsi
0
85
Member Avatar for Xessa

I have a textbox. in js code, i try this... if(isNAN(parseInt(form.myTextBox.value))) {alert("not a number");} I'm trying to check if it is a number. Else i want to warn him.... How can i do this in a js file?

Web Development javascript
Member Avatar for essential
0
136
Member Avatar for gagan22

Hi all, I am making one application in which i need some PHP code . My means i want to upload an image that can be in .jpeg, .jpg or .gif format. That i want to upload from my system and after uploading that image and i want to show …

Web Development image php
Member Avatar for gagan22
0
209
Member Avatar for affee

i need to activate another script and pass 2 vars and have one returned. Have I got the syntax correct AND why does it not see the script? It is in the same directory as the php script. [code=php] $mysearch="cats"; $mytype = "zero"; passthru ("/home/bookie/testbed/perlSOAP.cgi?fieldvalue=$mysearch&fieldsearch=$mytype&" , $response); return $response; echo …

Web Development php
Member Avatar for affee
0
298
Member Avatar for Lhizzard

Hei, i need help with php code. So, I have a lots of pages - but it would be nicer to put them to ONE page, if this is possible with "_GET" and "IF" function.. and with "echo". Like when the page is "page.php?p=moderator" shows me moderators.. if this is …

Web Development php
Member Avatar for Lhizzard
0
163
Member Avatar for raul66

Hi everybody, I want to join 3 tables and gain same data from these tables. 1.table: usr - user information usr_id 2.table: res- results res_usr_id res_exc_id res_result 3.table: exc- excercises exc_id exc_excercise_name Now I want print all results from one user and all excercises from one user.Can somebody help me?I …

Web Development php
Member Avatar for djjjozsi
0
122
Member Avatar for asemakula

[CODE]<script type="text/javascript"> var ... ;... Book_Image_Sources=new Array(...); function carousel() {...} </script>[/CODE] I want to (i hope it`s possible) call the script above in a css class like [TEX]#carouse { ... somehow call the script above }[/TEX] then in my html code [CODE]<img src="./images/placeholder.gif" class="carouse" />[/CODE] I am using a WYSIWYG …

Web Development html-css javascript
Member Avatar for asemakula
0
180
Member Avatar for kavitha284633

on postback neither the ajax slider extender not its bound asp textbox retains the selected value. please help

Web Development javascript
Member Avatar for kavitha284633
0
64
Member Avatar for Mandler

Hello, I have a simple HTML document that has a several DIVs... [code=html] <div id="17">Some content</div> <div id="2">Other content</div> <div id="23">And so on.</div>[/code] As you can see the IDs are not sequentially numbered because they're used by a JavaScript function that reads them and takes an appropriate action. That part …

Web Development php
Member Avatar for Baldy76
0
162
Member Avatar for farooq82

I doing my University assignment. I need help for accessing html option button values using Java Servlet. Any help in this regard. [CODE] <html> <head> <title>Result</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <h3> Select one option for each MCQ</h3> <form method="get" action="http://localhost:8084/MCQs/Webapplication1/src/java/serverlet"> <table width="730" border="0"> <tr> <td> <strong>1. Java is …

Web Development java java-jsp
Member Avatar for peter_budo
0
114
Member Avatar for m-hrt

i want this to be happen user can not go directly to the page i have step by step booking i dont want this to be happen user can enter direct page on address bar if a user do this it gives error how can i do this.... these are …

Web Development php
Member Avatar for m-hrt
0
305
Member Avatar for coolest_987

Hii Will anyone help me how to read website data in php. Please Help me i have been doing this for long time. Thanks for help

Web Development php
Member Avatar for diafol
0
124
Member Avatar for nigelburrell

I have a website using MySQL database. When I retrieve any user's email address from my user table and show (echo) it to the webpage it always appears as a link. How can I show user's email address as plain text? Thanks Nigel

Web Development php
Member Avatar for Josh Connerty
0
287
Member Avatar for gagan22

hi all, I have done one work in using multiple select box in which i am fetching value of select boxes from database. This all work i have done using ajax. Like when we select country form first select box then it will show state comes under country. But now …

Web Development php
Member Avatar for Josh Connerty
0
2K
Member Avatar for townders

I am learning php and reading Kevin Yanks book. I got to the first part of php - loaded up my page and immediately got: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource blah blah I have checked the case in everything and they are all correct... …

Web Development php
Member Avatar for diafol
0
85
Member Avatar for geny

[Urgent] Hi , I am trying to extract text from a website using file_get_contents('url'),no issues with that. Thing is that I am not getting expected output of it..And the reason I see is that ,if the url is generally opened,first home page flashes and while the page is still loading …

Web Development php
Member Avatar for Atli
0
148
Member Avatar for Sanit

Hey guys, I have a form made up, and there is an option where the user selects "Male/Female". The way its set up is as follows: [code=JavaScript] var lastLink; function setLink(theLink){ if(lastLink) lastLink.className="genderSelect"; theLink.className="selected"; lastLink=theLink; return false; } [/code] [code=HTML] <ul> <li> <a id="genderMale" onClick="return setLink(this)" class="genderSelect" href="#">Male</a> </li> <li> …

Web Development javascript
Member Avatar for Sanit
0
122
Member Avatar for arvindikchari

Hello, I want a simple Php script which does the following: (a) List all file names alphabetically such that the LAST 3 letters of the file name match with one of a few strings entered by the user at runtime For eg, two strings PDF and TXT are specified by …

Web Development display pdf php
Member Avatar for diafol
0
124
Member Avatar for uthman4u2nv

can i get a link to a good material or tutorial on blog engine building

Web Development asp.net
Member Avatar for kvprajapati
0
108
Member Avatar for v_sriram

Hello everyone, I have been trying to launch my JSP web application using Tomcat using my laptop as the server, with little success. I have registered a DNS at dynDNS.com ( free DNS, anyone!), made my IP static, forwarded port 8080 and port 80. The only problem I believe is …

Web Development dns java-jsp web-server xml
Member Avatar for v_sriram
0
327
Member Avatar for urvenkatg

Hi I am doing a chating application.I want to know whether a window is opened or not. This is the code i am using to open a window. [code=JavaScript]var title='Chat_'+userId+"_"+selectedUserId; var url="OneToOneChat.aspx?FromUserId="+userId+"&FromUserName="+userName+"&ToUserId="+selectedUserId+"&ToUserName="+selectedUserName; window.open(url,title,'width=410,height=400,toolbar=no,menubar=no,scrollbars=no,status=yes',false);[/code] later i trying whether the window is already opened or not. [code=JavaScript]var win='Chat_'+userId+"_"+selectedUserId; if(win.closed) { } else …

Web Development javascript
Member Avatar for ankitjain_dce
0
128
Member Avatar for ankitjain_dce

Hi, Can we write javascript in iframe? I want to call a external application javascript in my iframe of the jsp i am writing....issue is we can only have one call of this JS per page,now I am importing some html tags from a 3rd party which also does this …

Web Development javascript
Member Avatar for ankitjain_dce
0
7K
Member Avatar for MDGM

Hi guys, I have a simple registration form and have had trouble getting it to check if the username is already taken in the database. This is what I have at the moment: (the code i tried to use to make the check is about half way down) [CODE] <?php …

Web Development php
Member Avatar for allihoge
0
2K
Member Avatar for uykusuz

Hello, I have a php script. there is user and admin sections. The information is displayed in the user side (displaying adding new article) when added from admin side. But when I add a new article and refresh page. it does not come but after 2-3 refreshes It comes. same …

Web Development mysql php
Member Avatar for uykusuz
0
126
Member Avatar for nikk

Hello Friends, I am developing a menu using javascript wherein, I expand and collapse divs. It works fine individually; but the problem arises when I try to hide all other divs on expanding one div. Following is the code. Pls. suggest any change if you spot any error or even …

Web Development javascript
Member Avatar for essential
0
216
Member Avatar for ChrisJ

If you're familiar with Greybox, the pop-up window: [url]http://orangoo.com/labs/GreyBox/[/url] I'd just like to know how I can get it to pop-up not in the center of the page. I'd like it to pop-up on the left side of the page. Is that possible? If so can you help me accomplish …

Web Development javascript
Member Avatar for peter_budo
0
188
Member Avatar for vizy

Hi Guys, I have 2 listboxes Listbox1,Lixtbox2.. I am moving items from Listbox1 to Listbox2.. and vice versa using Javascript with the button clicks. The code is working fine.. but I am unable to get the Updated(done using JS) Listbox Items at the backend(C#) file. I am using the UpdatePanel …

Web Development asp.net
Member Avatar for vizy
0
135
Member Avatar for Lee_Sonnenburg

I have a table that contains 144 records read in from a mysql database table. It's encapsulated in a div tag for the sole purpose of making the height fixed and scrollable. However, it seems that I can't place anything under the table. I wanted to put some contact information …

Web Development php
Member Avatar for diafol
0
310
Member Avatar for candidz

i want to implement "http://road.fullspeedahead.com/fly.aspx?taxid=222&layout=product", i need help.....???

Web Development image javascript
Member Avatar for candidz
0
87
Member Avatar for rakeshkn123

Friends Good Afternoon, Friends i not used Wamp any time and now i am trying to use the wamp server iam getting the projects in the wamp but how to use mysql in that i am not getting can any one please help me in getting that iam not getting …

Web Development php
Member Avatar for diafol
0
148
Member Avatar for jacobus8

Hello all, I am brand new to PHP, MySQL and Apache but I have over 25 years of software development experience on other platforms and more than 15 years of client/server, object-oriented, GUI, and SQL back-end development experience, so I feel confident that I will be able to give back …

Web Development apache client-server gui php
Member Avatar for kvprajapati
0
2K

The End.