You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 71 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Babe of day block needs help [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
nhc
Nuke Soldier
Nuke Soldier


Joined: Jul 16, 2005
Posts: 22


PostPosted: Tue Aug 02, 2005 4:53 pm Reply with quoteBack to top

Hi,

I have a simple Babe Block with the following code:

-----------------------------------------------------------
<?php
/********************************************************/
/* PHP-NUKE: Web Portal System
/* ===========================
/*
/* Copyright (c) 2004 yourname@yoursite.com
/* http://www.yoursite.com
/*
/* This program is free software. You can redistribute it and/or modify
/* it under the terms of the GNU General Public License as published by
/* the Free Software Foundation; either version 2 of the License.
/********************************************************/

if (eregi("block-babe.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}


$content .= "<p class=\"content\"><a href=http://www.maximonline.com/girlfriend_of_day/girls/name_change_daily/gfd_l3.jpg> <img src='http://www.maximonline.com/girlfriend_of_day/girls/name_change_daily/gfd_l3.jpg' width='130' border='no'></a>
</p>";
?>
--------------------------------------------------------------

This block links to "http://www.maximonline.com/girlfriend_of_day/girls/jessica_biel/gfd_l3.jpg/" and draw a thumbnail on my site.

Now I have to update it manually everyday because the directory of the file "gfd_l3.jpg" that is in changes everyday. (name_change_daily)

However, the filename "gfd_l3.jpg" remains constant.

Is it possible to write a code that will look for the file "gfd_l3.jpg" inside maxim using a wilcard?


regards,
nhc
http://www.nhcbandofbrothers.com/
Find all posts by nhcView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.172 Seconds - 266 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::