Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/f/e/r/ferasferas1/html/scriptslibrary/libraries/joomla/database/database.php:2) in /home/content/f/e/r/ferasferas1/html/scriptslibrary/libraries/joomla/session/session.php on line 423
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/f/e/r/ferasferas1/html/scriptslibrary/libraries/joomla/database/database.php:2) in /home/content/f/e/r/ferasferas1/html/scriptslibrary/libraries/joomla/session/session.php on line 423
Warning: Cannot modify header information - headers already sent by (output started at /home/content/f/e/r/ferasferas1/html/scriptslibrary/libraries/joomla/database/database.php:2) in /home/content/f/e/r/ferasferas1/html/scriptslibrary/libraries/joomla/session/session.php on line 426 Code Snippets - The Scripts Library CommunityFree programming tutorial and source code for beginners and professional
http://www.scriptslibrary.net/code-snippets
Mon, 06 Sep 2010 19:40:53 +0000Joomla! 1.5 - Open Source Content Managementen-gbRemove characters from a string except numbers and letters
http://www.scriptslibrary.net/php/124-remove-characters-from-a-string-except-numbers-and-letters
http://www.scriptslibrary.net/php/124-remove-characters-from-a-string-except-numbers-and-letters
{CODE brush: php;} <?php
$string = "remove *unwanted !character% from my string 1212&&"; $clean_string= ereg_replace("[^A-Za-z0-9]", "", $string); echo $clean_string
?> {/CODE}]]>ferasc@hotmail.com (Feras)PHP SnippetsSat, 05 Dec 2009 01:34:19 +0000Get Local IP Address List Using VB.NET
http://www.scriptslibrary.net/visual-basic-net/123-get-local-ip-address-list-using-vbnet
http://www.scriptslibrary.net/visual-basic-net/123-get-local-ip-address-list-using-vbnet]]>ferasc@hotmail.com (Feras)Visual Basic.NET SnippetsSat, 28 Nov 2009 15:43:49 +0000Get Computer Name Using VB.NET
http://www.scriptslibrary.net/visual-basic-net/122-get-computer-name-using-vbnet-
http://www.scriptslibrary.net/visual-basic-net/122-get-computer-name-using-vbnet- Required namespace for this snippet: ]]>ferasc@hotmail.com (Feras)Visual Basic.NET SnippetsFri, 27 Nov 2009 16:47:14 +0000Count Words in a Text String in VB.NET
http://www.scriptslibrary.net/visual-basic-net/121-count-words-in-a-text-string-in-vbnet
http://www.scriptslibrary.net/visual-basic-net/121-count-words-in-a-text-string-in-vbnet]]>ferasc@hotmail.com (Feras)Visual Basic.NET SnippetsFri, 27 Nov 2009 04:32:41 +0000PHP Function to Prevent SQL injection
http://www.scriptslibrary.net/php/120-php-function-to-prevent-sql-injection
http://www.scriptslibrary.net/php/120-php-function-to-prevent-sql-injectionferasc@hotmail.com (Feras)PHP SnippetsFri, 27 Nov 2009 03:06:22 +0000Play Movie Flash File using HTML
http://www.scriptslibrary.net/html/119-play-movie-flash-file-using-html
http://www.scriptslibrary.net/html/119-play-movie-flash-file-using-html]]>ferasc@hotmail.com (Feras)HTML SnippetsFri, 27 Nov 2009 02:49:24 +0000Socket Connect and Data Send in VB.NET
http://www.scriptslibrary.net/visual-basic-net/118-socket-connect-and-data-send-in-vbnet
http://www.scriptslibrary.net/visual-basic-net/118-socket-connect-and-data-send-in-vbnet First, add the following namespace ]]>payment@lebmailer.com (Feras)Visual Basic.NET SnippetsFri, 24 Jul 2009 23:49:13 +0000Auto-Fill ComboBox Using C#
http://www.scriptslibrary.net/c-sharp/117-auto-fill-combobox-using-c
http://www.scriptslibrary.net/c-sharp/117-auto-fill-combobox-using-c First, lets bind the combo with some data: ]]>ferasc@hotmail.com (Feras)C# SnippetsTue, 30 Jun 2009 06:35:54 +0000Get User Domain Name in C#
http://www.scriptslibrary.net/c-sharp/115-get-user-domain-name-in-c
http://www.scriptslibrary.net/c-sharp/115-get-user-domain-name-in-c
} {/CODE}]]>ferasc@hotmail.com (Feras)C# SnippetsMon, 29 Jun 2009 17:37:41 +0000Play Audio Files Using VB.NET
http://www.scriptslibrary.net/visual-basic-net/114-play-audio-files-using-vbnet
http://www.scriptslibrary.net/visual-basic-net/114-play-audio-files-using-vbnet It requires the System.Media Namespace: {CODE brush: vb;}Imports System.Media{/CODE}
And the code: {CODE brush: vb;} Sub PlaySound(ByVal filepath As String) Dim soundplayer As New SoundPlayer soundplayer.SoundLocation = filepath soundplayer.Play() End Sub {/CODE}
Happy Coding.]]>ferasc@hotmail.com (Feras)Visual Basic.NET SnippetsMon, 29 Jun 2009 02:17:43 +0000