And so the blogging begins…
<?php
echo "Hello World!<br />";
$ideal = array("journal", "publish", "typewriter");
$conceptual = array("blog", "post", "laptop");
$txt = "I have decided to restart my journal and publish a few things online. Sorry that my site went offline for a while. I lost my typewriter and my domain expired, but luckily no one grabbed it while I was offline and I was able to re-register it and get my journal back online! I've decided to go with WordPress since it seems to be all the rage these days.";
$intro = str_ireplace($ideal, $conceptual, $txt);
echo $intro;
// Output:
/*
Hello World!
I have decided to restart my blog and post a few things online. Sorry that my site went offline for a while. I lost my laptop and my domain expired, but luckily no one grabbed it while I was offline and I was able to re-register it and get my blog back online! I've decided to go with WordPress since it seems to be all the rage these days.
*/
?>
I thought I’d start things off by posting this Hello World php script. Just click here if you’d like to actually try it yourself. Thanks!
Category: Uncategorized