All you need to change is the root path.
Not sure why you started 2 threads in same day about an hour apart. I suggest you delete the other one as it is not needed.
I've on started 2 threads today, both have different questions. This has to do with IFRAME and which gallery path url do i use for the IFRAME page to get a random image.
What url page is it for the random image?
The other was dealing with the mod and random images, If i can't get one to work I was going to go with the other.
Not sure what you meant by
All you need to change is the root path.
Are you refering to this thread, If so,... I have my 4Images setup in my /gallery/ directory whats the name of the file that i can use as the url for my IFRAME.
If that
All you need to change is the root path.
is refering to the other question,... Please let me know where that change needs to take place at. Below is how i have it now.
// PATH to your 4images Gallery / PFAD zu Ihrer 4images Gallerie
define('ROOT_PATH', 'http://www.mydomainname.com/gallery/');
include(ROOT_PATH.'config.php');
include(ROOT_PATH.'includes/db_mysql.php');
include(ROOT_PATH.'includes/constants.php');
$site_db = new Db($db_host, $db_user, $db_password, $db_name);
function is_remote($file_name) {
return (preg_match('#^https?\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i', $file_name)) ? 1 : 0;
}
I've done that, uploaded the random.php file to my gallery directory and I an error on line 34 or maybe 37 or 39. Dont remember and right now for some reason, Right before i needed to only upload 1 file to my server for the night so that i can got to bed, My server decides to stop working for some reason, I was just closing out the windows and refreshed this one to see if anyone had some helpful suggestions.
Please,... Where does the random.php file get edited at?
1Newbie