52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for iamrashid

Hi there is the code for floating some thing (menus image or what ever you want).You can set an specific location for the floating item and when you web page is scrolled down or up the object will float to that position slowly or fastly as you set them, just …

Web Development javascript
Member Avatar for iamrashid
0
134
Member Avatar for Electrohead

Example of using INCLUDE to show a nav bar. For beginners. Simply uses include to show an external file (in this case, nav.php) and that's it! You can also include this in another page with a CSS style. The CSS will be automatically included in formatting the INCLUDEd page! :D

Web Development php
Member Avatar for Dani
0
148
Member Avatar for Troy

class_http.php is a "screen-scraping" utility that makes it easy to scrape content and cache scraped content for any number of seconds desired before hitting the live source again. Caching makes you a good neighbor! The class has 2 static methods that make it easy to extract individual tables of data …

Web Development caching php vbscript web-browser xml
Member Avatar for Samir
0
347
Member Avatar for Troy

class_db.php is a database class that provides methods to work with mysql, postgres, and mssql databases. Other database types can be easily added. The class provides a common interface to the various database types. A powerful feature of the class is the ability to cache datasets to disk using a …

Web Development caching mssql php vbscript xml
Member Avatar for ethen_th
0
223
Member Avatar for JRED

This code snippet will attempt to show newbies to php how to connect and retrieve data from a PostgreSQL Database Server using PHP.

Web Development php postgresql
Member Avatar for Troy
0
194
Member Avatar for corewizard
Member Avatar for Drew

This is a neat little script that will tell you how many active users you have on your site. You do need a webhost that supports the global.asa file! Most free hosts dont. [B]Code From: [URL="http://http://www.iportalx.net"]http://www.iportalx.net[/URL][/B]

Web Development asp
0
140
Member Avatar for Scribbller

Allows a user to login to an ftp and upload files.

Web Development php
Member Avatar for forgotteneagle
0
193
Member Avatar for vegaseat

Shows how to connect a button onclick event to a javascript function to change the background color of the document. Just cut and paste the code into Notepad or other editor, save as BGchanger.htm and run it on your browser.

Web Development javascript
Member Avatar for Mohan0704
0
191
Member Avatar for vegaseat

Swap two images as you move your mouse in and out of the image field. Uses onMouseOver, onMouseOut and a short javascript code.

Web Development image javascript
Member Avatar for almostbob
0
171
Member Avatar for Gandalf

[b]1. mod_rewrite se friendly pages for vBulletin[/b] Here is a seo hack for vBulletin developed by Danielle Horowitz. You can find original text at [url="http://www.daniweb.com/techtalkforums/thread9379.html"]http://www.daniweb.com/techtalkforums/thread9379.html[/url] I have remade her instructions in the phpBB mod like format. You can read them here [url="http://www.daniweb.com/techtalkforums/post87148.html#post87148"]http://www.daniweb.com/techtalkforums/post87148.html#post87148[/url] You can download text file here [b]2. Meta …

Web Development php phpbb vbulletin
Member Avatar for didier-fr
0
483
Member Avatar for Dark_Omen

Okay, this introduces two new things into the widget. The first thing you need is a picture file (.jpg, .png, .bmp etc...). The new code makes the picture into the button with the text "Hello, World" on the side. In the parentheses next to File.open you would put the file …

Web Development ruby
Member Avatar for bumsfeld
0
146
Member Avatar for Dark_Omen

This is kind of an extension to my previous code snippet. This language is really fun to use. I find it pretty easy to use and understand. This will create a window with a button.

Web Development ruby
Member Avatar for bumsfeld
0
333
Member Avatar for Dark_Omen

This is a basic window coded in Ruby. To download Ruby go to [url]www.ruby-lang.org[/url] and download the latest version. The latest version includes the FX toolkit that is needed to create this window.

Web Development ruby
Member Avatar for Dark_Omen
0
234
Member Avatar for vegaseat

You probably have seen those message snakes following the cursor on a web page. Well, the javascript code is not too complex, so let's look at it ...

Web Development javascript
0
113
Member Avatar for ReDuX

Ok, this is about as simple as it gets. This is a hit counter for your page that stores the count in a simple text file of your choosing. No need for a database, MySQL or otherwise. No complicated rubbish. Just one single function and one single file to store …

Web Development php
Member Avatar for DaveSW
0
143
Member Avatar for ReDuX

Well like my previous snippet but completing the collection i suppose, this snippet counts how long it takes to parse the page and displays it somewhere..

Web Development php
Member Avatar for mohamed badr
0
167
Member Avatar for ReDuX

You've seen those sites that say how many seconds it took to parse the page and how many database queries comprised the page. Well heres the database query bit...

Web Development php
Member Avatar for klinke
0
239
Member Avatar for vash shadows

Put it in you footer at Admin CP->Board Wrappers, and underline will disappear for username links. This code only makes sense when you have underline enabled for links in your CSS.

Web Development javascript
Member Avatar for peter_budo
0
170
Member Avatar for vash shadows

Have you ever wanted an arcade for your forum? Well now you can! The best part is you can play the games from x arcade at your forum, and not at some site! The instructions are easy to understand, and in no time you will have an arcade! Unlike If …

Web Development javascript
Member Avatar for Starnova
0
141
Member Avatar for vash shadows

Add to....Board Wrappers: Footer No need to really change anything in the code, if you want to select a different default URL just change the variable in the top of the script. It's there so that at least some URL is added to the website url field. You can't add …

Web Development javascript
0
148
Member Avatar for dazzlindonna

If query is called getResults and your field name is called myField To change to 2-across or 3-across, or whatever, just change the MOD 4 to 2 or 3 or whatever number you wish.

Web Development coldfusion
0
114
Member Avatar for dazzlindonna

Change Your_Query to match your query name, Your_data to match your field name(s), and change the colors (ffffff and dadada) to match the colors you want.

Web Development coldfusion
0
148
Member Avatar for dazzlindonna
0
108
Member Avatar for dazzlindonna

Change the yourActionPage.cfm to the name of the page you want to open, and adjust the sizes and other parameters as you need.

Web Development coldfusion
0
185
Member Avatar for Syneticus

Alrighty! My goal here is to add the specified information into a MySQL database, but then also include a script that goes back and checks to make sure that the entrie given does not already exist. If you have any corrections, or any ideas on how to do this, I'd …

Web Development php
Member Avatar for Ginetta
0
109
Member Avatar for DanF

Hi, this is my first post here, just wanted a place to post some PHP code for a Savant2 plugin I created. I hope that's ok. If you've never heard of Savant/Savant2, you should definitely visit its website. Savant is a very elegant template solution for PHP that stands out …

Web Development php
Member Avatar for Dani
0
148
Member Avatar for AdventDeo

Well you see, I'm not really sure how but I'm guessing I can cut the code below by about 70% of its length if I can turn the "mandatory fields" into an array. Anyone care to help? Thank you so much in advance! [CODE]<?php session_start(); if (isset($_POST['submit'])) { if (empty($_POST['cliname'])){ …

Web Development php
Member Avatar for AdventDeo
0
107
Member Avatar for severman

hi this is must be an easy question but i didnt find the answer to it anywere. could someone pls tell me how do i send an array from macromedia flash 8 to a php file? i have an array in flash which looks like this: [code] outboard[][] [/code] which …

Web Development flash php
Member Avatar for severman
0
106
Member Avatar for sydneyram

I am trying to accomplish a Master Detail Display here. The master item is ProductName and Child items are the details of the Product. Example: Dell Desktop V305 - Model: Black - 23877487y24y - Mother Board - Intel .... - RAM - 3 GB DDR HP Printer - Ink Jet …

Web Development asp.net c# oracle
0
281
Member Avatar for paulnamroud

Hello, I have simple ASP.net web form. With a simple click on a button i need to call a the Multithread process in order to execute my querry in SQL Server DB. I know that my querry willl take up to 45 min to be executed. While the process is …

Web Development asp.net session web-server
Member Avatar for paulnamroud
0
130
Member Avatar for sharao

hi i need list of cities, when user select the agency....just like if we select state in one list box, in another list box have to get list of cities to that particular state.... for that i did some process but little bit error plz follow the code... actually i …

Web Development java-jsp
Member Avatar for Thirusha
0
101
Member Avatar for Jeyush

Hi mate, I have a problem in javascript/php/ajax. Look I have three pages 1)index.php 2)login.php 3)client.php. At index.php I have a link to login page, it opens a popup. When I submit the login page and try to redirect to client page, Here is the problem arise. I successfully redirect …

Web Development javascript
Member Avatar for almostbob
0
109
Member Avatar for coollife

[CODE] [language =c#] System.Net.Mail.MailMessage myMail = new System.Net.Mail.MailMessage(); myMail.To.Add("someemailid.com"); myMail.From = new MailAddress("someemailid@someemailid.com", "someemailid ", System.Text.Encoding.UTF8); myMail.Subject = "user Information"; myMail.SubjectEncoding = System.Text.Encoding.UTF8; SmtpClient client = new SmtpClient(); client.Host = "localhost"; client.Port = 25; client.Send(myMail); [/CODE] The above code i have used in asp.net page Its showing client.Send(myMail) failed ////////////////// …

Web Development asp.net email
Member Avatar for coollife
0
108
Member Avatar for SYST3M4T1C

OK I'm trying to help my friend out with this template he has but the contact form is not working. Here is the XML document contactFormConfiguration.xml [CODE] <?xml version="1.0" encoding="utf-8"?> <!-- -- Please read this information to learn how to set up the contact form integrated -- into the template. …

Member Avatar for cwarn23
0
162
Member Avatar for Haimanti

Hi, i have a user table in backend with many columns n from that i need to user the email id and password for login. I have read the data in my code using a data reader, but am not getting how to match the entered username and password by …

Web Development asp.net dataset
Member Avatar for Haimanti
0
79
Member Avatar for ishlux

Hi all, I want to run jsp programs, where should i place the folder in tomcat5.5 and how to run it. please help me out. Thanks

Web Development java-jsp
Member Avatar for masijade
0
127
Member Avatar for Ana D.

Hi, Inside my formView, in the InsertItemTemplate, I have the following code: [CODE]<tr> <td align="right"> <b>Field</b> </td> <td> <asp:TextBox ID="MyTextBox" Text='<%# Bind("Field") %>' runat="Server" /> <asp:Button ID="myButton" Text="Find Matching Results" runat="server" OnClick=" myButton_Click" /> </td> </tr>[/CODE] In myButton_Click, all I do is bind a CheckBoxList with the results from the …

Web Development asp.net
Member Avatar for GeekByChoiCe
0
82
Member Avatar for veledrom

Hi, I use this code in Windows (wamp), it works fine. When i use it in Ubuntu it generates this error "Warning: Cannot modify header information - headers already sent by (output started at /var/www/toycar/header.php:9) in /var/www/toycar/classes/class.basket.php on line 17" There is no blank space anywhere. What do i do? …

Web Development php session ubuntu
Member Avatar for EvolutionFallen
0
73
Member Avatar for leviathan185

Is there a way to create a new file with JavaScript. I have a script on a local drive and I need to create a file (XML) that i can then read off. Is this possible?

Web Development javascript xml
Member Avatar for leviathan185
0
84
Member Avatar for grr

For each individual row of an array, I would like it to sort by a function that I perform on each value. For example: Array { 1 => "great", 2 => "bad", 3 => "awesome", } and I have a function that would make great a 2, bad a 1, …

Web Development php
Member Avatar for grr
0
77
Member Avatar for halukakin

Hi, I have the following code which aims to change the color of a parent div when the user unselects the radio button. However it doesn't work. [CODE=javascript]<div class="jquerycorner"><input type="radio" name="hat" value="4" onblur="if(!this.checked) { this.parentNode.style.backgroundColor='#000000';}">10</div>[/CODE] However the following code works when I try to detect radio button selection. [CODE=javascript]<div class="jquerycorner"><input …

Web Development javascript
Member Avatar for halukakin
0
119
Member Avatar for Barman007

Im having trouble centering the content of this PHP code (please find code down the bottom fo this post) on my joomla site. I added [code]#google_map{margin-left:140px;}[/code] to the CSS in the hopes of centering it all but it only centered the map itself. Since then I have added the "google1" …

Web Development api flash google-api php
Member Avatar for Airshow
0
116
Member Avatar for valonesal

I have pages written in html that use javascript and css, what I would like to do is use php to change how the url comes out. So I would like the url to look like mywebsite.com/index.php?xx1122 or something like that without disclosing the location of the html files or …

Web Development html-css php
Member Avatar for EvolutionFallen
0
149
Member Avatar for mark2326l

I'm trying to upgrade my server from Mac 10.4.11 Server, running Apache 1.3; PHP 4.4.9; and mysql 5.0.45 (all pages work fine) to Mac 10.6 server with the latest (default) Apache, php, and mysql. Any page with a mysql connection is blank I can connect to mysql through mysql admin. …

Web Development apache client-server mysql php
Member Avatar for mark2326l
0
213
Member Avatar for Enthused

Hi all, Ive created a pretty simple user system its all working well users can sign up and so on. Though i wanted to add extra security to this system so when the user wants to modify their password it asks for their old password otherwise they cant sign up …

Web Development php
Member Avatar for Enthused
0
311
Member Avatar for Devendra1

I have worked on Java but new to PHP. I want to know the scope of PHP. Where PHP works ? like JAVA ban be used to create desktop applications and on J2EE platform for developing WEB APPLICTIONS and JAVA has many API to work with. Q1. Can PHP be …

Web Development api php
Member Avatar for ryuslash
0
116
Member Avatar for empoor

I'll start by publishing my code: [CODE]// query article $query1 = "SELECT page_title,author_id FROM articles WHERE category = 'fiction'"; $mysql_result1 = mysql_query ($query1) or die ("Query '$query1' failed with error message: \"" . mysql_error () . '"'); $fiction_articles = mysql_fetch_assoc($mysql_result1); // query author $auth_result = &$fiction_articles['author_id']; $query2 = "SELECT author …

Web Development php publishing
Member Avatar for empoor
0
156
Member Avatar for ricksvoid

What I want to do is get a users current login username, and pass it to an SQL query which will search a table and return all entries belonging to that person. Ive managed to pass the username onto a label when that person logs in. [code] Protected Sub Page_Load(ByVal …

Web Development asp.net
Member Avatar for ricksvoid
0
148
Member Avatar for Designer_101

Hi I know this topic isnt directly related to PHP however I understand many users in this forum may understand something further about this question. I have a webcam in a nightclub and I want to stream this live onto a webpage. This is probably very easy however i'd like …

Web Development php video webcam
Member Avatar for almostbob
0
160

The End.