YvE Posted October 17, 2006 Share Posted October 17, 2006 Hello! This is my first thread on this site, newly got registred.My problem is (as the topic speaks) that a want to include two third party scripts into one site.I'm not good at PHP, but I can understand some of its commands.My first script is http://michaelbertsch.eu/project/50, but on my site ( http://www.teamdritings.com/Bilder )My second is http://www.truefusion.vze.com/ , ( http://www.teamdritings.com/Shoutbox )These are located on different folders on my ftp, but that doesnt matters yet.The TinyGallery script is just one file, it's just a file named "index.php"But the shoutbox script have several files, like: smileys, .css, 3 .php , etc.My question is how I can easily include both scripts in one site :)I have read the tutorial on this site about include, but I need some guidence and no one around my can this tho :S http://www.truefusion.vze.com/ Asking kindly, pls help me Quote Link to comment https://forums.phpfreaks.com/topic/24177-combine-include-two-scripts-in-one-site/ Share on other sites More sharing options...
Mortier Posted October 17, 2006 Share Posted October 17, 2006 Maybe this is what you need:http://nl2.php.net/manual/en/features.remote-files.phpSo including external files is not always allowed, but when it is do the following:[code]<?include("http://www.webaddress.com");?>[/code]But it's usually disabled so I'm not sure. Quote Link to comment https://forums.phpfreaks.com/topic/24177-combine-include-two-scripts-in-one-site/#findComment-110164 Share on other sites More sharing options...
YvE Posted October 17, 2006 Author Share Posted October 17, 2006 Okey :) I'll try my best man!Thank you for answering to my post :)What do you think of the site so far ? =P Not my work, but it's easy and has a good looking ;) Quote Link to comment https://forums.phpfreaks.com/topic/24177-combine-include-two-scripts-in-one-site/#findComment-110207 Share on other sites More sharing options...
Mortier Posted October 18, 2006 Share Posted October 18, 2006 It looks nice with nice functions like image info ;) Quote Link to comment https://forums.phpfreaks.com/topic/24177-combine-include-two-scripts-in-one-site/#findComment-110627 Share on other sites More sharing options...
YvE Posted October 18, 2006 Author Share Posted October 18, 2006 Hey again.I on my way to success now, but I can't quite get the include/remote stuff working..This is the lines that I included in the "index.php" for the TinyGallery script.<link rel="stylesheet" href="http://www.teamdritings.com/Shoutbox/style.css" type="text/css" media="screen" />...........FUNKE IKKE HELT ENDA.........<?php include("http://www.teamdritings.com/Shoutbox/index.php");?>As you can see on the site, the shoutbox appears on the window but all the functions will not work..like smileys, new posts etc. See for yourself, http://www.teamdritings.com/BilderThis is how my folders are sorted on my FTP:[attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/24177-combine-include-two-scripts-in-one-site/#findComment-110654 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.