Hello!
I have an array with several values but some I don't necessarily have them complete as some are URLs so I may have an array like this
Array[0] '{'
Array[1] 'plugin'
Array[2] 'random_word'
Array[3] 'http://somewebsite.com/somefolder/somefile.php'
Array[4] '300::300'
Array[5] '}'
Those values are passed to the script and the only things I am sure are
Array[0] '{' //will always be this
Array[1] 'plugin' //will always be this
Array[2] 'random_word' //this will always be a word from a list
Array[3] 'http://somewebsite.com/somefolder/somefile.php'
Array[4] '300::300'
Array[5] '}' //this will always be a bracket but it will not necessarily be Array[5] it will be a closing bracket on the last item of the array
I am trying to find a way to find an item knowing the first part of it, like Array[3] in this case is an URL but I don't know the index of it can I find it by doing a search for "http://"?



Reply With Quote



Bookmarks