Navigation :
HomeSource code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links
Site Sponsors :
- Load Cells
- Best MySQL & PHP Webhosting + save 50%
- κατασκευή ιστοσελίδων
Bookmark :
Links :
low cost magazinesdropshippers
dvd information
Downloads :
Misc :
Webmaster ResourcesOnly PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming
Search and replace on a string
This example shows how to search and replace on a string
<?php
//using str_replace in php
//our message
$msg = "this site has a lot of asp code on it";
//the string we want added
$add_this = "php";
//replace the asp with php
$new_message = str_replace("asp" , $add_this , $msg);
//display original message then new message
echo "Original message : $msg <br>";
echo "New message : $new_message <br>";
?>
Books :
Sponsors :
Random Code :
system uptime(functions)gethostbyname function(functions)
Size of a webpage with PHP and cURL(internet)
Random Article :
PHP and Cookies a Good MixMySQL Database Handling in PHP
Network:
Programming resourcesTutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials
Del.icio.us
Digg
Furl
Newsvine
Netscape
Reddit
StumbleUpon
Technorati
Squidoo
Windows Live
Yahoo MyWeb
Ask
Google