'http://ovoo.spagreen.net/movie-scrapper/get_movie_info_title.php?title=' . urlencode($movieName); code example Example: php encode url parameters urlencode("query string params");