justravis Posted March 17, 2011 Share Posted March 17, 2011 i'm trying to import my print-on-demand shop without using frames. pg i'm importing - http://byuhonorcode.spreadshirt.com/ my site - http://byuhonorcode.com/index2.php <?php $pg=file_get_contents('http://byuhonorcode.spreadshirt.com/'); echo $pg; ?> the page appears, but the these features no longer function: - switchColor javascript changes shirt color onClick of swatch (located @ http://cache.spreadshirt.com/Public/Shop/Js-packaged/shop_de23789016327809b00d204c6add79ba.js) - the arrows that change the color swatches - the size option box any ideas? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/230931-javascript-malfunctions-after-readfile/ Share on other sites More sharing options...
justravis Posted March 17, 2011 Author Share Posted March 17, 2011 OOPS...i copied & pasted second attempt with file_get_contents() original code: <?php readfile('http://byuhonorcode.spreadshirt.com/'); ?> Quote Link to comment https://forums.phpfreaks.com/topic/230931-javascript-malfunctions-after-readfile/#findComment-1188750 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.