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
Free Programming Tutorials & Source Code - The Scripts Library Community Free programming tutorial and source code for beginners and professional http://www.scriptslibrary.net/home 2010-09-06T19:40:18Z Joomla! 1.5 - Open Source Content Management Welcome to the Scripts Library! 2006-10-12T10:00:00Z 2006-10-12T10:00:00Z http://www.scriptslibrary.net/home/1-latest-news/1-welcome-to-scripts-library Administrator info@scriptslibrary.net <div align="justify"><table border="0" cellspacing="2" cellpadding="2" align="center"><tbody><tr><td valign="top"><font size="4">ScriptsLibrary.NET is a public source code repository which let you share your code, scripts, tutorials and useful materials with other developers.</font><br /><br /><font size="4" color="#008821">A quick start:</font><br /><ol><li><p><strong><font size="3" color="#683b00">Browse the <a href="code-snippets">Code Library</a></font></strong></p></li><li><p><strong><font size="3" color="#683b00">Subscribe to the <a href="http://feeds2.feedburner.com/scriptslibrary" target="_blank">RSS Feeds</a></font></strong></p></li><li><p><strong><font size="3" color="#683b00"><a href="submit-an-article">Share</a> your code</font></strong></p></li></ol></td><td> <script type="text/javascript"><!-- google_ad_client = "pub-0015457333834611"; /* 250x250, created 12/8/09 (SQUARE) */ google_ad_slot = "4252225605"; google_ad_width = 250; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br /></td></tr></tbody></table></div> <div align="justify"><table border="0" cellspacing="2" cellpadding="2" align="center"><tbody><tr><td valign="top"><font size="4">ScriptsLibrary.NET is a public source code repository which let you share your code, scripts, tutorials and useful materials with other developers.</font><br /><br /><font size="4" color="#008821">A quick start:</font><br /><ol><li><p><strong><font size="3" color="#683b00">Browse the <a href="code-snippets">Code Library</a></font></strong></p></li><li><p><strong><font size="3" color="#683b00">Subscribe to the <a href="http://feeds2.feedburner.com/scriptslibrary" target="_blank">RSS Feeds</a></font></strong></p></li><li><p><strong><font size="3" color="#683b00"><a href="submit-an-article">Share</a> your code</font></strong></p></li></ol></td><td> <script type="text/javascript"><!-- google_ad_client = "pub-0015457333834611"; /* 250x250, created 12/8/09 (SQUARE) */ google_ad_slot = "4252225605"; google_ad_width = 250; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br /></td></tr></tbody></table></div> Remove characters from a string except numbers and letters 2009-12-05T01:34:19Z 2009-12-05T01:34:19Z http://www.scriptslibrary.net/php/124-remove-characters-from-a-string-except-numbers-and-letters Feras ferasc@hotmail.com If you want to remove all characters and special symbols from a string in php, use the following code snippet:<br /><br /><br />{CODE brush: php;} <br />&lt;?php<br /><br />$string = "remove *unwanted !character% from my string 1212&&";<br />$clean_string= ereg_replace("[^A-Za-z0-9]", "", $string);<br />echo $clean_string<br /><br />?&gt;<br />{/CODE} If you want to remove all characters and special symbols from a string in php, use the following code snippet:<br /><br /><br />{CODE brush: php;} <br />&lt;?php<br /><br />$string = "remove *unwanted !character% from my string 1212&&";<br />$clean_string= ereg_replace("[^A-Za-z0-9]", "", $string);<br />echo $clean_string<br /><br />?&gt;<br />{/CODE} Get Local IP Address List Using VB.NET 2009-11-28T15:43:49Z 2009-11-28T15:43:49Z http://www.scriptslibrary.net/visual-basic-net/123-get-local-ip-address-list-using-vbnet Feras ferasc@hotmail.com Get local IP address list using VB.NET.<br /> Get local IP address list using VB.NET.<br /> Get Computer Name Using VB.NET 2009-11-27T16:47:14Z 2009-11-27T16:47:14Z http://www.scriptslibrary.net/visual-basic-net/122-get-computer-name-using-vbnet- Feras ferasc@hotmail.com Get a computer’s name by using the static method Dns.GetHostName in VB.NET<br /><br />Required namespace for this snippet:<br /> Get a computer’s name by using the static method Dns.GetHostName in VB.NET<br /><br />Required namespace for this snippet:<br /> Count Words in a Text String in VB.NET 2009-11-27T04:32:41Z 2009-11-27T04:32:41Z http://www.scriptslibrary.net/visual-basic-net/121-count-words-in-a-text-string-in-vbnet Feras ferasc@hotmail.com A simple function that count number of words in a given text string, assuming that it’s delimited by spaces:<br /> A simple function that count number of words in a given text string, assuming that it’s delimited by spaces:<br /> PHP Function to Prevent SQL injection 2009-11-27T03:06:22Z 2009-11-27T03:06:22Z http://www.scriptslibrary.net/php/120-php-function-to-prevent-sql-injection Feras ferasc@hotmail.com Function to clean user input string to prevent SQL injections: Function to clean user input string to prevent SQL injections: Play Movie Flash File using HTML 2009-11-27T02:49:24Z 2009-11-27T02:49:24Z http://www.scriptslibrary.net/html/119-play-movie-flash-file-using-html Feras ferasc@hotmail.com A simple code snippet demonstrates how to play a Flash Movie in Object Tag:<br /> A simple code snippet demonstrates how to play a Flash Movie in Object Tag:<br /> Socket Connect and Data Send in VB.NET 2009-07-24T23:49:13Z 2009-07-24T23:49:13Z http://www.scriptslibrary.net/visual-basic-net/118-socket-connect-and-data-send-in-vbnet Feras payment@lebmailer.com Function to connect to host machine, and send data via TCP Socket in VB.NET<br /> <br />First, add the following namespace<br /> Function to connect to host machine, and send data via TCP Socket in VB.NET<br /> <br />First, add the following namespace<br /> Auto-Fill ComboBox Using C# 2009-06-30T06:35:54Z 2009-06-30T06:35:54Z http://www.scriptslibrary.net/c-sharp/117-auto-fill-combobox-using-c Feras ferasc@hotmail.com This is simple code of how you fill a combobox automatically in C#.<br /> First, lets bind the combo with some data:<br /> This is simple code of how you fill a combobox automatically in C#.<br /> First, lets bind the combo with some data:<br />