Switch letters in message (basic cryptology)...


Posted on 16th Feb 2014 07:03 pm by admin

I am trying to switch letters around in a message for an application on my site (see here). The problem is that I can't figure out a way to get it to work.

Did you know?Explore Trending and Topic pages for more stories like this.
What I am trying to do is for example switch a with n, and n with a, so that a message like "no one at all" would become "ao oae nt nll". I tried using str_replace plus a couple arrays, but it doesn't work. It instead creates something like "no one nt nll". Anyone have any idea how would I get this to work?
No comments posted yet

Your Answer:

Login to answer
150 Like 32 Dislike
Previous forums Next forums
Other forums

PDO returns erroneous columns from within pdt
Hi All,

This is a truly weird behavior:
When using a simple pdo fetch, erroneous columns a

Scrolling news bar and MySQL
I am not sure if this is the correct forum to post this on. If not, I apologize. I am still pretty

PHP IMAGE UPLOAD SCRIPT
Hi for the last week i have been looking for scripts that will upload a photo to a certain folder wh

retrieving images from mysql database using php
So I've been trying to figure out how to store images in a mysql database, and as far as i can tell

Problem with Subscreen
Dear Experts ,
I am facing a problem with the subscreens. My senario is as follows :

Not adding to db
Hi, I can't figure out why it won't add the record to the database. It's just a simple form to get

Running External Scripts
I am very new to PHP and am not even sure what I'm asking is possible. I have just installed mediaW

I need help with formatting date from mysql! with php!
Hello guys

*Note: this is a php question not MySQL question, please do not move it to mysql s

is this the proper use of mysql_real_escape_string() to prevent sql injections?
i was wondering is this the proper use of mysql_real_escape_string() to prevent sql injections? any

losing variables between php brackets
Hi

have got this code:
Code: $id=mysql_result($result,0,"itemid");
$title=mys

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash