Programming Thread

Viewing single post

Started by the-pi-guy, Mar 13, 2016, 10:39 PM

previous topic - next topic

the-pi-guy

Have you tried doing funky things like producing a third string as a mix of the two?

$frankenString=$hardCodedUrl;

$frankenString[3]=$otherUrl[3];


//send off frankenstring


Could see if it works for any swapped character.

Also just double checking, have you been using == not ===? Maybe the user entered string isn't a string.
I used both == and ===.

The latter evaluates as true, the former returns a 1.