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"

Firefox EC2 UI Elasticfox plugin extension for Managing Amazon EC2 Images

Firefox EC2 UI for Managing Amazon EC2 Images Firefox provides easy plugin for managing EC2 images in a GUI method.You can download elastiic fox extension from firefox site. The instructions for creating an Amazon EC2 image walk through the use of command line tools which is really great. Learning how to do it this way is important because it helps you understand more about what you're actually doing. But once you understand it all, it can be a headache to have to remember all the commands and options because they're all rather similar. So quickly after learning all about Amazon EC2, my buddy Hiram told me about the Firefox Extension for Amazon EC2. This Firefox extension is such an incredible time saver for most of the tasks of managing images. Starting and stopping images, grabbing the public DNS name of an image, etc. are as easy as clicking a button. After you've taken the time to understand how to create and work with images from the command line, it is definitely worth using this extension. Prerequisites This extension requires Mozilla Firefox version 1.5.0 or later. Running the Extension Install the extension by clicking on the following link with Mozilla Firefox: http://s3.amazonaws.com/ec2-downloads/elasticfox.xpi Firefox guides you through the installation process. You may need to configure Firefox to install software from this domain. Documentation Read the ElasticFox Getting Started Guide for information on using the extension.

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 code files or if you are using ftp it is sure that u can run a SQl query from code file.So below is the simple script for getting table info Simple PHP Mysql $table_name="node"; $sql=sprintf("SHOW COLUMNS FROM %s",$table_name); $$rs=mysql_query($sql); while($col=mysql_fetch_object($rs)) { print_r($col); } Drupal And Mysql $table_name="node"; $sql=sprintf("SHOW COLUMNS FROM %s",$table_name); $$rs=db_query($sql); while($col=db_fetch_object($rs)) { print_r($col); } Once you have checked structure you must be able now to add alter structure of table using same code method:- mysql_query("ALTER TABLE user_info ADD user_coupon varchar2(50)");

Import module definition blank page error solution DotNetNuke

In Dotnetnuke many time you can get a blank page on Import module definition.For one of my dnn(dot net nuke) site i did Host=>Module definition=>Import module definition and got a blank page.I did a google and found solution applied that and now making that code available here.For making this thing to work you ned to get few SQL commands run from host sql window.

Node List Javascript | Traverse nodes Dom Elements In javascript

The NodeList object represents a live collection of Node objects. This means that any alterations to the number or properties of nodes is immediately reflected in the list. This list permits indexed access to individual nodes as well as iteration through the collection. To demonstrate this Object we shall use the following simple XML file 'library.xml'.

Intro to Flashvars | Passing variables to flash actionscript from the html embed | Tutorial | passing dynamic variable from php file

The property “FlashVars” can be used to import root level variables to the flash movie or swf. The flashvars propery is used in codes for embedding flash in the html page. The string of variables passed in as flashvars, will be imported into the top level of the movie when it is first instantiated. Variables are created before the first frame of the SWF is played. The format of the string is a set of name=value combinations separated by ampersand (&) symbols. Here's some sample embed codes, including object and embed tags:

Changing the DotNetNuke Page Title and Using dnn page titles

Many times in our asp dot net application we need to manipulate page titles and keywords.E.g. You may like to change page title Or to get page title.Sometimes you will need to display as content header in content area of page.In a typical .Net web application you can change the title of a page on the fly by accessing the Page object’s Title property. Page.Title = "My Custom Page Title"; But from within your DotNetNuke module code you do it in a slightly different way. You first type-cast the Page object into a DotNetNuke.Framework.CDefault variable. Then you read and write the Title member on the CDefault object:....

SQL Server commands dot net nuke Getting table structure procedure

There are manby things which are considered as basics in dot net nuke.When you are using host sql window from dnn then most definitely you will need to have ideas of basic sql statements to fetch info from db.Few of them are:- Listing all tables from DataBase:- SELECT * FROM information_schema.Tables Get Stored procedure description and Structure:- select * from information_schema.routines where routine_name = 'Stored Procedure Name' Querry to fetch all tables in a database: select * from sysobjects where type=’u’

Javascript from flash script Accessing javascript from flash getUrl flash

Flash can trigger a browser pop-up in many ways, this sample explains how to do this by JavaScript.We can use javascript in flash in very simple way.Just create a function in javascript and place that in header.In flash file you have only to use getUrl function for accessing that javascript function.

Flash and PHP contact form actionscript Creating contact mail form in flash

We can create a contact form in flash and use it for mailing purposes.Also we can make it database driven or we can send information from flash form to php files.This is a contact form made in flash and php, it can be used on 'contact us' pages. A flash file contains the form items and when the 'send' button is pressed it sends the values to mailer.php, this mailer.php sends the email to the receiver.