Welcome

All in one resource for most usable codes in programming in PHP, HTML, JS, CSS.

stackMyCode

All in one resource for most usable codes in programming in PHP, HTML, JS, CSS.

New Technology

We are providing you the most newable resh technologies for you.

Tech News

stackMyCode is allways looking for tech news in computer world. If we found a good news stackMyCode will update you with Tech news.

Sunday, October 27, 2013

php tag

There are two types tag we used.

1.Canonical PHP tags:


The most universally effective PHP tag style is:

<?php...?>

2.Short-open (SGML-style)


tags: Short or short-open tags look like this:

<?...?>

Saturday, October 26, 2013

PHP Hellow world Programme

PHP Hello world script

PHP is embedded in HTML. That means that in amongst your normal HTML.

<html> 
<head> 

<title>Hello World</title> 

<body> 

<?php echo "Hello, World!";?> 

</body> 
</html>

why we are using php?

Usages of PHP


  • Perform to system functions
    • create files
    • open files
    • read files
    • write files and close files
  • Handle the data bases through PHP
  • PHP can encrypt data.
  • PHP can handle forms.
  • We can create cookies and  set cookies variables using PHP
  • PHP can use to restrict or prevent some website pages from web site users

php Introduction

What is PHP ?


PHP started out as a small open source project. But now it is using every where. Originally created by Rasmus Lerdorf in 1995.

  • PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
  • PHP is a sever side scripting language.
  • PHP is embedded in HTML
  • PHP is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
  • PHP supports a large number of major protocols such as POP3, IMAP, and LDAP.
  • PHP4 added support for Java and distributed object architectures (COM and CORBA), making n-tier development a possibility for the first time.
  • PHP has list of syntax like C.

Friday, October 25, 2013

Input box glowing border effect with CSS

Hi friends,
So many web sites you are browsing can see new glowing border effect on where you entering text input boxes on forms such as login form, contact form or subscription form etc.  You can see this effect real time at twitter home page  https://twitter.com/

CSS glow effects with box shadow


stackMyCode will gives you CSS code for CSS glow effect in green color.

.shadowglow {
    outline:none;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    border-radius:8px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border:1px solid rgba(0,0,0, 0.2);
}

.shadowglow:focus {
    box-shadow: 0 0 5px rgba(0, 255, 0, 1);

    -webkit-box-shadow: 0 0 5px rgba(0, 255, 0, 1); 

    -moz-box-shadow: 0 0 5px rgba(0, 255, 0, 1);

    border:1px solid rgba(0,255,0, 0.8); 

}

Your input boxes class must use as shadowglow Example input box code is here :

<input class="shadowglow" id="textinput" name="textinput" type="text" />

Notepad++ - Notepad plus plus free download


Notepad++

Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.

Based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.

Features

  1. Syntax Highlighting and Syntax Folding
  2. User Defined Syntax Highlighting and Folding: screenshot 1, screenshot 2, screenshot 3 and screenshot 4
  3. PCRE (Perl Compatible Regular Expression) Search/Replace
  4. GUI entirely customizable: minimalist, tab with close button, multi-line tab, vertical tab and vertical document list
  5. Document Map
  6. Auto-completion: Word completion, Function completion and  Function parameters hint
  7. Multi-Document (Tab interface)
  8. Multi-View
  9. WYSIWYG (Printing)
  10. Zoom in and zoom out
  11. Multi-Language environment supported
  12. Bookmark
  13. Launch with different arguments
 

What is HTML

HTML is a language for describing web pages.

  1.     HTML stands for Hyper Text Markup Language.
  2.     HTML is a markup language, not a programming language.
  3.     A markup language is a set of markup tags for markup content.
  4.     HTML tags describe document content
  5.     HTML documents contain HTML tags and plain text
  6.     Files saving extension is .html
  7.     User doesn't see the HTML tags and browser markup the web page using HTML tags
 
HTML Document sample source is below.
 
<!DOCTYPE html>

<html>

<body>

 

<h1>stackMyCode web title</h1>

 

<p>This is the paragraph.</p>

 
</body>

</html>