Tycho01 Posted April 14, 2010 Share Posted April 14, 2010 I'm trying to make a site that 'translates' other sites (i.e. like Google Translate) using custom dictionaries. However, while I do know you can just use <frame src="..."> to put an external site in a frame, in order to run my translation (mass-replace) script I suppose I'd first need the contents in a temp string variable so as to be able to edit them. I've no idea how I might find this elsewhere, so I apologize for that, but is there a way of doing this in PHP (or other)? Many thanks, Tycho Link to comment https://forums.phpfreaks.com/topic/198573-having-php-import-external-pages-into-a-variable/ Share on other sites More sharing options...
teamatomic Posted April 14, 2010 Share Posted April 14, 2010 file_get_contents HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/198573-having-php-import-external-pages-into-a-variable/#findComment-1042042 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.