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.

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

Production Order Enterprise Service to Manufacturing Exctn Sys (MES) ???
Hello Experts,

In our current landscape SAP ECC 5.0 is integrated to MES system via PI 7.

Sum of Values in an Array
This is probably really simple... but it's been years since I've written anything, so bare with me!<

want to add a break after a certain amount of characters
i was wondering how to add a break in a blog post after a certain amount of characters... any idea o

Hardcopy printing is to wide
I want to make a hardcopy at runtime of my active form like this

Help: problem with Headers to download PDF file
Hi,

I'm trying to implement a script where when a user clicks a link he gets a PDF file to op

Count
Getting the same count everytime

Code:
$visitquery = mysql_query("SELECT COUNT(*) FR

TimeZoneOffset
Hello,

Please i need your help. I have a system that users can use to punch in and out. This

Simple program to copy files between two computers over the web
I use logmein free and often need to move files between my two computers. Generally, I move the file

Referential Integrity problem when inserting into 2 tables at same time
Hello Everyone,

Im relativity new to PHP and MySQL and i have come up against a problem. i h

how to read and write into a word document using php...?
hi,
I need,reading and writting into a word document using php.




Thank u inadva

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