52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for quickbird

Hello! I didn't knew where to post this so i posted it here. I am trying to make messages limit.e.g. i am having 100 messages in database and i want to display 10 messages per page and the next page will appear below the last post.Just like here in Daniweb.com.But …

Web Development php
Member Avatar for tux4life
0
66
Member Avatar for feoperro

Hi, I would like to assign the substring of particular text to a javascript variable so that I can use the variable in an if statement. Can anyone help me here? Thanks!

Web Development javascript
Member Avatar for Airshow
0
85
Member Avatar for michael100101

If anyone is familiar with Mambo Content Manager, I would like to know how the system saves configuration settings to configuration.php. I would like to implement this idea into my own site, but I cant figure out how a PHP page rewrites and saves another page on the server. Anyone …

Web Development php
Member Avatar for digital-ether
0
172
Member Avatar for Javs

Hi everyone. I am selling a product and i would like to use a selection of affiliate networks.. As far as i know these affiliate companys track the sale there companys affiliates make by inputting code into your html. is this correct? If so if i were to use 50 …

Web Development php
Member Avatar for digital-ether
0
106
Member Avatar for feoperro

Hi, I've got a textarea like this: [CODE] <textarea name="myTextArea" rows="4" cols="20"> </textarea> [/CODE] For some reason every time the page starts, the text area is populated with a couple spaces inside it. Any way to clear it on startup? Thanks, -Ash.

Web Development javascript
Member Avatar for feoperro
0
97
Member Avatar for progtick

I have an ascx control that inherits from ValidatableUserControl. I have several requiredfieldvalidators on the page, and all of them are getting fired except the one inside an asp:panel This code is inside a <table> [CODE]<asp:Panel runat = "server" ID = "PurchaseOrderPanel"> <tr> <td><div class="txtClass"> <span class="required">*</span> Number: </div> </td> …

Web Development asp asp.net
Member Avatar for dnanetwork
0
268
Member Avatar for cwarn23

Hi, I found that my linux (CentOS) server hasn't got any of the php extensions installed but can't seem to find any easy way to do it. Can anybody guide me the easiest way to install the php extensions curl and gd. A google search has showen dozens of lines …

Web Development php
Member Avatar for cwarn23
0
651
Member Avatar for Tekkno

In order for my users to log in they have to activate their account through email. The activation works fine. The trouble I am having is displaying a message at login if the user has not activated. Here is the activation script: [code=php] <?php require "connect.php"; if(isset($_GET['u'])){ //make sure that …

Web Development php
Member Avatar for Tekkno
0
230
Member Avatar for beanboy

Dear Helper, javascript code: [CODE] dhtmlXTreeObject.prototype.getAllChecked=function(){ return this._getAllChecked("","",1); } dhtmlXTreeObject.prototype.getAllCheckedBranches=function(){ return this._getAllChecked("","",0); } dhtmlXTreeObject.prototype._getAllChecked=function(htmlNode,list,mode){ if(!htmlNode)htmlNode=this.htmlNode; if(((mode)&&(htmlNode.checkstate==1))||((!mode)&&(htmlNode.checkstate>0))){if(list)list+=","+htmlNode.id;else list=htmlNode.id;} var j=htmlNode.childsCount; for(var i=0;i<j;i++) { list=this._getAllChecked(htmlNode.childNodes[i],list,mode); }; if(list)return list;else return ""; }; [/CODE] [CODE] <a href="javascript:void(0);" onclick="document.write (tree2.getAllChecked())">Get list of checked</a><br><br> [/CODE] You may guess, the list is displayed in alert box. but …

Web Development javascript
Member Avatar for Airshow
0
138
Member Avatar for joshmac

Hello. I am seeking some help on job board script that I am working on. I am trying to use the below script to update the database if the current job is 30 days past the start date or post date. The code below is not working and if I …

Web Development first-post php
Member Avatar for Lantre
0
97
Member Avatar for yozhang

I want to upload a big file (about 80M) through the web, but it seems not working. Small file will be OK. html file: <input type="hidden" name="MAX_FILE_SIZE" value="128000000" /> php.ini: file_uploads = On upload_max_filesize = 128M max_input_time = 60 memory_limit = 128M max_execution_time = 30 post_max_size = 128M httpd.conf: LimitRequestBody …

Web Development file-system php
Member Avatar for yozhang
0
247
Member Avatar for BigDan531

[code] <?php session_start(); header("Content-type: image/png"); $img_handle = imageCreateFromPNG("bg2.PNG"); $q = rand(1,255); $w = rand(1,255); $e = rand(1,255); $r = rand(1,255); $t = rand(1,255); $y = rand(1,255); $u = rand(1,255); $i = rand(1,255); $color[0] = ImageColorAllocate ($img_handle, $q, 0, 100); $color[1] = ImageColorAllocate ($img_handle, 200, 0, 0); $color[2] = ImageColorAllocate ($img_handle, …

Web Development image php
Member Avatar for pritaeas
0
343
Member Avatar for sandeep_1987

I want to just bind the dropdown with DB,I have three rows in mine DB.Instead of adding the column data,In mine dropdown System.Data.DropDown is coming three times y So??? [code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; …

Web Development asp.net dataset
Member Avatar for sknake
0
88
Member Avatar for atplerry

Hello i want help on saving large text into the database and the structure of the data should be maintain i.e the paragrah,insertion point, list example if i enter a an html code structure in a textbox on saving and retriving it to display i should retain the structure, I …

Member Avatar for sknake
0
127
Member Avatar for QuickBooksDev

Script works in MSIE but not FireFox (part of a VB.NET 2005 web site) There must be a place in FireFox or a JavaScript settings somewhere that allows errors to continue. The below works in MSIE var _rate = "ctl00$ContentPlaceHolder1$txtrate"+index; var rate = document.getElementById(_rate).value; index = 1 to 10 for …

Web Development javascript vb.net
Member Avatar for QuickBooksDev
0
185
Member Avatar for feoperro

Hi, I'm trying to do the following: 1. Click on a row (ANY cell of that row) 2. Depending on where I clicked, a javascript function should get the value of EACH cell in THAT row, and populate it to text boxes. Below is my code thus far: [CODE] <html> …

Web Development javascript
Member Avatar for Dukane
0
164
Member Avatar for SID.SIL

Hi Guys I have a GridView th show my data. When I am including the data I have TextBox and DropDownList.Thesse data are going to populate a GridView using a DataTble. In the update routine I populate the GridView with the recorded data but I can keep on including other …

Web Development asp.net
Member Avatar for SID.SIL
0
245
Member Avatar for laghaterohan

i have a drop down list in my Gridview. I want to poplulate it with the values from the database ... However i am confused how to proceed ......here is my code snippet: In the source i have written the followin code : [CODE] <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" …

Web Development asp.net
Member Avatar for Ana D.
0
122
Member Avatar for daveyb91

Hello everyone, I need to do an assignement for school. But i'm kinda stuck on a bit, so i'm here to ask some help :D Okay, my question: In my C# application I need to make a webrequest to a php page. This worked, but i want the php page …

Web Development asp.net
Member Avatar for daveyb91
0
109
Member Avatar for ritu verma

I have button in td, I want to change the backcolor of button when the mouse move over it .. As we change the backcolor of td, when we moves move over it.Eg Below- [code] <td onMouseOver="this.bgColor='#00CC00'" onMouseOut="this.bgColor='#009900'" bgColor=#009900 style="width: 33px; height: 81px"> </td> [/code]

Web Development asp.net
Member Avatar for ritu verma
0
2K
Member Avatar for cj1

Hello all. I am unable to solve two problems creating a contacts form using dreamweaver CS3. My other problem is posted under the heading, "Modify code created with Dreamweaver CS3, to compare two text feilds". For this posting, can someone please tell me how to modify my code, pasted below, …

Web Development html-css javascript
Member Avatar for McFant
0
217
Member Avatar for ishlux

Hi all, i am new to php, i dont know how to run the php files, i am going through some tutorials, but not able to install it on my pc. i have dowloaded . . but dont know how to proceed further so please help me out ...... regards, …

Web Development apache mysql php
Member Avatar for Stefano Mtangoo
0
109
Member Avatar for diya0076

hi i download ajax tool kit..3.0.30512.1 n also installed .net framework 3.5 n i add the dll file into my project bt when i drop any of the control of ajax it shows the following error: [COLOR="Red"]Error 1 Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has …

Web Development asp.net assembly
Member Avatar for sknake
0
189
Member Avatar for penepepe

Hi there! i've got an html form and i want to make sure some fields are not empty before it gets submitted. i've read many examples and i've written some code but i have no idea why it doesn't work (it's as if the javascript script didn't exist). i don't …

Web Development javascript
Member Avatar for penepepe
0
135
Member Avatar for phpboy

Hello. I have no idea how i can copy the text from a web page to a string variable ? I dont want the HTML code of the page to be stored in the string.. i want the output of the web page to be stored into the string.. If …

Web Development php
Member Avatar for phpboy
0
184
Member Avatar for BigDan531

[code] <?php session_start(); header("Content-type: image/png"); $img_handle = imageCreateFromPNG("bg2.PNG"); $q = rand(1,255); $w = rand(1,255); $e = rand(1,255); $r = rand(1,255); $t = rand(1,255); $y = rand(1,255); $u = rand(1,255); $i = rand(1,255); $color[0] = ImageColorAllocate ($img_handle, $q, 0, 100); $color[1] = ImageColorAllocate ($img_handle, 200, 0, 0); $color[2] = ImageColorAllocate ($img_handle, …

Web Development php
Member Avatar for Menster
0
102
Member Avatar for slyme

Sorry to all if this is in the wrong forum, I'll move it if someone tells me where it should go. I saw another poster discussing some files stored above the root ... well here's what was posted: "I have a script which generates invoices as PDF files and stores …

Web Development pdf php
Member Avatar for slyme
0
409
Member Avatar for coolest_987

Hi My php version is php4.4.0 and GD is not showing in phpinfo even i installed gd extension. Any Help will be deeply appreciated. Thanks in advance

Web Development php
Member Avatar for cwarn23
0
195
Member Avatar for grr

Is it possible in any way to modify the wordpress permalink structures so that you can create a page using a script to find the page? Example: You want to make a page on [url]http://www.yoursite.com/1/2/3/4/post[/url] or whatever... You don't want to use wordpress's the_post function to display the data. Instead, …

Web Development data-structure php wordpress
Member Avatar for grr
0
91
Member Avatar for Tess James

Hi.. Am using response.redirect() to go to another page from the current page. But it is giving me the exception "System.PlatformNotSupported",Operation not supported, change the pipeline mode of IIS. Am working in VS 2008,IIS v5.1 Any Help??

Web Development asp.net
Member Avatar for Tess James
0
113
Member Avatar for Designer_101

Hi Lets say i have just sent a query to my database and its bought me back a value. I've stored this value in $value1 . How would i get this value into a flash movie ? Any help would be greatly appreciated.

Web Development flash mysql php
Member Avatar for chand.
0
111
Member Avatar for leviathan185

My issue may be similar to daved83's issue where my script works as designed in firefox but when used in IE6 (the only IE i have tried so far but matters because it will only be used on IE6 at this stage) his was in AJAX and I am new …

Web Development html-css javascript
Member Avatar for essential
0
160
Member Avatar for Altairzq

Hello, I'm new at Ajax and Javascript. Can anyone help me on this? I'm calling 2 Ajax funcions, one after the other, with a delay time in between. The first call executes a script that inserts a row in a MySQL database. The second call execustes a cript that lists …

Web Development javascript
Member Avatar for Airshow
0
159
Member Avatar for mederby

I can't get my website to connect to the built-in db for ASP.NET login funtions (ASPNETDB.MDF). I've been trolling multiple forums for weeks now, and nothing seems to work. I've tried every combination I can think of but get some variation of 'cannot open database' or 'login failed'. Where am …

Web Development asp.net open-source sql
Member Avatar for mederby
0
139
Member Avatar for gaya123

I have a grid of links in ma jsp..in the href attribute, i ve specified the navigation to a servlet...... in the servlet, i want to read the value of the link that i clicked in the jsp..... for example, If my link appears to be <a href="ProductController" target="right">A</a> in …

Web Development java-jsp
Member Avatar for gaya123
0
100
Member Avatar for tom_naza

Hi all, greetings from Portugal. I know, there is a "Supplied argument not valid resource" FAQ, and I know there are allready a few threads about this, but after reading them and hours of changing code I still have my problem... (Yes, I'm a newbie :-) ) [U][B]Warning:[/B] mysql_num_rows(): supplied …

Web Development php
Member Avatar for slyme
0
152
Member Avatar for feoperro

Hi, Is there a way to reference a table cell in a table that will have X amount of rows? I want to use javascript preferably... The only methods I know of are "getElementById" and "getElementByName" - Problem is, since the cells are only known once the page is run, …

Web Development javascript
Member Avatar for feoperro
0
162
Member Avatar for feoperro

Hi, I'm trying to set table cells according to co-ordinates [x][y] - does anyone know if this is possible? Here's what I've done so far: [CODE] <html> <head> <title> Trial & Error - Table Cells </title> </head> <body> <script type="text/javascript"> function getRow(t) { var col=t.cellIndex; //Gets column number clicked on. …

Web Development html-css javascript
Member Avatar for feoperro
0
264
Member Avatar for veledrom

Hi, i wanted to remove .php and place / but, it doesnt work. I get "500 Internal Server Error" message. [code] RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^([^/]+)/$ $1.php # Forces a trailing slash to be added RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ RewriteRule …

Web Development php
Member Avatar for veledrom
0
86
Member Avatar for teabag99

Hi, I have been asked to develop an application for a coalition of disabled users. It therefore has to conform to accessibility standards. One of the requirements is that pages work with javascript disabled (compliance with old screen reader technology). I wish to use the calendar control but have a …

Web Development asp.net
0
303
Member Avatar for gagan22

HI all, I am working on webdirectory in php. There are many links of many websites. Now i want to make that when any one take cursor on that link then it should show a thumbnaill of that website or snapshot of that website. I want to do that . …

Web Development php
Member Avatar for pritaeas
0
147
Member Avatar for Derice

Hi, I am dealing with AJAX UpdataPanel. I created 2 radio button during run time. By default there is a button in the updatepanel. A user will check either one radiobutton in updatepanel and then hit the button. How do i got to know which radiobutton is checked? [CODE] RadioButton …

Web Development asp.net
Member Avatar for Derice
0
99
Member Avatar for aerliana

i need to count how many user that update their profile n how many user not update their profile within 5 years. and if the user not update their profile then i need send an email as alert notification.

Web Development php
Member Avatar for almostbob
0
119
Member Avatar for k.vijayakumar

hi, when session expires i want to give message and send them to my login page.for this where i have to write the code. thank you

Web Development asp.net session
Member Avatar for carobee
0
134
Member Avatar for johny321

I am new to PHP & i am looking to develop a site using php can any one help me

Web Development php
Member Avatar for plut0564
0
114
Member Avatar for mrcniceguy

i want to know,how is it possible to check automatic all the checkboxes generated in php while page loading. i mean if the are for example 20records then all to be checked.

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

Hi everyone, I hae created a dropdown menu using ajax where each option is populated dynamically based on the previous choice. It works great on Firefox thanks to help I got on this forum. It doesn't work on IE however. I believe this is because IE doesn't recognise the innerHTML …

Web Development html-css javascript
Member Avatar for Troy III
0
104
Member Avatar for ketchupaholic

Okay, at work I'm having a big disagreement with the project management team who has no database experience at all. Here is the issue. We have 10 product lines, in each product line there are certain number of attribute names, such as height, weight, color, price and so on. We …

Web Development asp.net
Member Avatar for ithelp
0
95
Member Avatar for harinatha.php

hi all, i have a problem with special characters in IE , Can anyone help us.

Web Development php
Member Avatar for harinatha.php
0
50
Member Avatar for whitestream6

I am making my website about a radio station, and it's currently PHP-based, but I am testing an ASP-based one on my dev machine. This is the PHP querystring code: [ICODE]<? $i=$_GET['DJID']; switch ($i) { case 1: include("dj1.php"); break; case 2: include("dj2.php"); break; case 3: include("dj3.php"); break; default: echo "page …

Web Development apache asp.net
Member Avatar for whitestream6
0
114

The End.