PHP

Random string

generates a random string from an array of characters <?php // function to generate random strings... 

PHP and cURL example

<?php//the site or URL to get$ch = curl_init(""http://www.google.com/"");//set... 

Read More Posts From This Category

Visual Basic

convert to binary

Public Function CBin(ByVal Nr As Long, Optional Precision As Integer = As String Do Until Nr = 0 ... 

bytes to whatever

Function SetBytes(Bytes) As String On Error GoTo errorhandler If Bytes >= 1073741824 Then SetBytes... 

Read More Posts From This Category

VB.net

get ip address

get ip address with VB.net Module Module1 Sub Main() Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName)... 

FileStream example

opening and reading a file using the FileStream with VB.net Imports System.IO Public Class Form1 Private... 

Read More Posts From This Category

VBScript

Disk drive info

Set objWMIService = GetObject(”winmgmts:”) Set objLogicalDisk = objWMIService.Get(”Win32_LogicalDisk.DeviceID=’c:’”) Wscript.Echo ... 

Mp3 search

searches a location for mp3 files and then displays them in a word document Set objWord = CreateObject("Word.Application")... 

Read More Posts From This Category

PHP Tutorials

PHP Tutorial: Installation and The Basics

jimmyrcom asked: To get php and apache installed use xampp. xampp is free and contains php / apache (around 33mb) 1. Download and Install XAMPP from here: http://www.apachefriends.org/en/xampp.html 2. on windows go to C:\xampp it should have a folder called htdocs. If you put a file called foo.html into the htdocs folder you should be able to access... [Read more of this review]

PHP Tutorial #4 - Login form (updated)

Grollon999 asked: This PHP tutorial elaborates on my second PHP tutorial which covers authentication. This PHP tutorial covers a more advanced PHP script which allow/denies users access to a specific website. Visit http://www.rascal999.co.uk/ for more info, tutorials and forum! Apologies for the belch half way through, I was unaware I uploaded that... [Read more of this review]

PHP Tutorial - 11 - Associative Arrays

thenewboston asked: visit www.thenewboston.com for all my tutorials! Bookmark It Hide Sites $$('div.d124').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) });  Read More →

Read More Posts From This Category

JavaScript

status bar digital clock

This is a JavaScript example that will display a clock in your status bar <html> <head><title></title><script Language="JavaScript"> var timerID = null; var timerRunning = false; function stopclock (){ if(timerRunning) clearTimeout(timerID); timerRunning = false; } function showtime () { var now = new Date();... [Read more of this review]

Add to favorites script

This is an add to favorites JavaScript example. This example shows the actual script and usage in a simple HTML page <html> <head> <title></title> <script language=”JavaScript1.2″> //change the two variables below var bookmarkurl=”http://www.yoursitehere.com”; var bookmarktitle=”name of site... [Read more of this review]

Read More Posts From This Category