Archive for the ‘Programming’ Category

connecting to Mysql using ODBC windows drivers within ASP code file

Many times in ASP or dot net we may need to connect to a mysql database.For making a connection to mysql database we need to install mysql connector for windows which you can download from:-..

Leave a Comment

mod_rewrite enabling url reqriting on apache and iss server windows and linux

URL reqriting is Simple Rewriting Your URLS (links) Also Redirecting Them To Known URLS.e.g you’ll make the link : view_my_profile.html –> Is Redirected to function.php?op=3
so instead of the link “function.php?op=3″ Which isn’t enough describing itself we’ll make the link “view_my_profile.html” Which is very describtive.Why using mod_reqrite?. Now see if your site has more than 10,000 Links (Dynamic Website) , do you think we would make 10,000 html files ??

=>Of course Not , and here’s the Use Of Mod-Rewrite. We can achive dynamic pages from code and rewrite their URL using this module.

=>well simply This is Very very useful for search Engines to correctly index Your website and gather keywords, we’ll talk about this in details in “Search Engine Optimization Tips”

Leave a Comment

Getting fields from mysql table using code file drupal,mysql,php

Many times it is needed to get the structure of table in PHP file or drupal module.There may be conditions that you dont have got admin user name and passwords for cpanel/phpmyadmin.In such cases you must have idea how to know the structure using a small PHP code.you can get connection info for mysql from [...]

Leave a Comment

How to open Named Anchor links in flash actionscript

In html you can link to a speciffic area of a html page by adding anchors, for example this link will point you to the “solution” area of this page; you link to an area of a page (to an anchor) by adding # after file name followed by the anchor name, e.g: products.php#product4 or just #product4 if destination is on same page.Write a really short javascript in the html page and set the getURL from flash to trigger that JavaScript.You can use javascript in your flash script for perform more interactive javascript like things.

Leave a Comment

Simple Flash and XML sample Learning flash and xml

Creating flash file and then accessing xml file is a basic task that is done in flash scripts.We load data from xml file or http path.This data can be dynamic but we have not to worry about its size or dynamic nature.We process the xml file using DOM methods in flash.This simple basic article will show you basic connection between flash and XML, it will show you what to add in the flash file in order to be able to read tags from an XML file and then use that data inside flash.

Leave a Comment

The SqlCommand Object database operations C# dot net

A SqlCommand object allows you to query and send commands to a data base. It has methods that are specialized for different commands. The ExecuteReader method returns a SqlDataReader object for viewing the results of a select query. For insert, update, and delete SQL commands, you use the ExecuteNonQuery method. If you only need a single aggregate value from a query, the ExecuteScalar is the best choice.

Leave a Comment

Developing web sites Getting started with web Developement

Requirements before getting started with development or web programming
Any one who want to develop a web application must have the following systems:
1. A web server.
2. An editor to develop the web pages.
3. A browser to view the web page you develop.
4. A database program like MS Access, SQL Server etc, if your web site need [...]

Leave a Comment

What is a Web browser? Understanding and explaining term “Web Browser”

Few Definitions for browser:-

Browser is an application, which helps us to view the Web sites and the web content.
Web sites are located in some remote systems, which needs a special kind of program or an application to access them, such an application is called browser.
A browser is an application which you can use to retrieve [...]

Leave a Comment

Understanding web server and its workings

A Web server is a software program which serves web pages to web users (browsers).

A web server delivers requested web pages to users who enter the URL in a web browser. Every computer on the Internet that contains a web site must have a web server program.

The computer in which a web server program runs is also usually called a “web server”. So, the term “web server” is used to represent both the server program and the computer in which the server program runs.

Leave a Comment