Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Reply
 
Thread Tools Search this Thread Display Modes
Old 02-15-2008, 09:15 AM   #1
calvynlee
Junior Member
 
calvynlee's Avatar
 
Join Date: Oct 2007
Location: LittlePenang.com
Posts: 48
calvynlee is on a distinguished road
Default hi Coder here! I need some coding help

hi all coder, is me again,a coding noob.

I have create a banner or link, the banner stated "created by URL LINK"

This banner will be install in... lets said a theme, a wordpress theme that i create. and will be distribute at alot website.

on the URL LINK, i wish to change it in future, as time goes by...
How to I add in a caller, that able to change the link, once i change in my website. it may point to a page that i create, and once i change the link, all will follow

I have made as below
Code:
<div>Created by<a href="http://www.iCalvyn.com">iCalvyn.com</a> </div>
I am having this banner on top of my current blog, have have a look if you no idea.
__________________
I Blog LIFE at iCalvyn.com

Budget Hosting => 375G space 5TB bandwidth less then 60USD per year
calvynlee is offline   Reply With Quote
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 02-15-2008, 09:27 AM   #2
Bagi Zoltán
iWEBTOOL Moderator
 Contributor 
 
Bagi Zoltán's Avatar
 
Join Date: Aug 2006
Location: Hungary
Posts: 1,762
Bagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of light
Default Re: hi Coder here! I need some coding help

I would suggest you to use any page as the linked page it doesn't metter and you may use 301 redirect whenever you want it in the future without any programming issue.
Bagi Zoltán is offline   Reply With Quote
Old 02-16-2008, 02:27 AM   #3
hasan_889
Junior Guru
 
hasan_889's Avatar
 
Join Date: Aug 2006
Location: London
Posts: 995
hasan_889 will become famous soon enoughhasan_889 will become famous soon enough
Send a message via MSN to hasan_889 Send a message via Yahoo to hasan_889 Send a message via Skype™ to hasan_889
Default Re: hi Coder here! I need some coding help

I agree with Bagi ... I have another option ... you can create a page with your code and every you include that page using php.

PHP Code:
<? include 'banner.php';?>

In banner.php ... put your link. Once u change this file ... it will change every where. That's the most easiest I guess!

I believe you can add php code in WP ... I've no idea about WP.
hasan_889 is offline   Reply With Quote
Old 02-16-2008, 03:04 AM   #4
calvynlee
Junior Member
 
calvynlee's Avatar
 
Join Date: Oct 2007
Location: LittlePenang.com
Posts: 48
calvynlee is on a distinguished road
Default Re: hi Coder here! I need some coding help

Quote:
Originally Posted by hasan_889 View Post
I agree with Bagi ... I have another option ... you can create a page with your code and every you include that page using php.

PHP Code:
<? include 'banner.php';?>

In banner.php ... put your link. Once u change this file ... it will change every where. That's the most easiest I guess!

I believe you can add php code in WP ... I've no idea about WP.

yes, this is what i mean, but is it this call the whole page? because i just need to call the text and the link only...

for better understanding, let said u put this code in ur website, so to other, all link back to me, and once i change the code in my place, all ur website text link that u install previously will link to the new website that i change.

just too add on, i have tested this, (host on other domain)and it can run in the same directory, but when i change the link to
PHP Code:
<? include 'http://www.icalvyn.com/banner.php';?>

it cannot retrieve it, ist any wrong on my coding?
__________________
I Blog LIFE at iCalvyn.com

Budget Hosting => 375G space 5TB bandwidth less then 60USD per year
calvynlee is offline   Reply With Quote
Old 02-16-2008, 04:08 AM   #5
Xtrem3
Smurf
 
Xtrem3's Avatar
 
Join Date: Feb 2008
Posts: 14
Xtrem3 is on a distinguished road
Default Re: hi Coder here! I need some coding help

Quote:
Originally Posted by hasan_889 View Post
I agree with Bagi ... I have another option ... you can create a page with your code and every you include that page using php.

PHP Code:
<? include 'banner.php';?>

In banner.php ... put your link. Once u change this file ... it will change every where. That's the most easiest I guess!

I believe you can add php code in WP ... I've no idea about WP.

Same suggestion here
Xtrem3 is offline   Reply With Quote
Old 02-16-2008, 01:14 PM   #6
calvynlee
Junior Member
 
calvynlee's Avatar
 
Join Date: Oct 2007
Location: LittlePenang.com
Posts: 48
calvynlee is on a distinguished road
Default Re: hi Coder here! I need some coding help

Quote:
Originally Posted by Xtrem3 View Post
Same suggestion here

dude... see your previous reply... doesn't works...
__________________
I Blog LIFE at iCalvyn.com

Budget Hosting => 375G space 5TB bandwidth less then 60USD per year
calvynlee is offline   Reply With Quote
Old 02-16-2008, 04:26 PM   #7
UnKnown
Tellin' it like it is!!
 
UnKnown's Avatar
 
Join Date: Aug 2006
Posts: 1,082
UnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really nice
Default Re: hi Coder here! I need some coding help

PHP Code:
<?php include("banner.php");?>
Include and Require are functions and need ()

Always start php code with <?php and not <?
Other languages open with <?
UnKnown is offline   Reply With Quote
Old 02-18-2008, 12:32 PM   #8
calvynlee
Junior Member
 
calvynlee's Avatar
 
Join Date: Oct 2007
Location: LittlePenang.com
Posts: 48
calvynlee is on a distinguished road
Default Re: hi Coder here! I need some coding help

Quote:
Originally Posted by UnKnown View Post
PHP Code:
<?php include("banner.php");?>
Include and Require are functions and need ()

Always start php code with <?php and not <?
Other languages open with <?

if i put in the <?php also the same...

here, again i explain what i need

example:

Quote:
-----Other people website with my code:-----
Create by iCalvyn.com



this code install in alot people website, and one days, I change my one name to robert, and i have another new website name iRobert.com so want to change all the link in other people website which have my code to


Quote:
-----Other people website with my code:-----
Create by iRobert.com

without changing the code in their website
__________________
I Blog LIFE at iCalvyn.com

Budget Hosting => 375G space 5TB bandwidth less then 60USD per year
calvynlee is offline   Reply With Quote
Old 02-18-2008, 04:15 PM   #9
UnKnown
Tellin' it like it is!!
 
UnKnown's Avatar
 
Join Date: Aug 2006
Posts: 1,082
UnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really nice
Default Re: hi Coder here! I need some coding help

like i already said <?php include("banner.php");?>

I dont really understand your question i was jsut correcting the code the other members posted

Last edited 02-18-2008 at 04:28 PM.
UnKnown is offline   Reply With Quote
Old 02-22-2008, 03:15 PM   #10
calvynlee
Junior Member
 
calvynlee's Avatar
 
Join Date: Oct 2007
Location: LittlePenang.com
Posts: 48
calvynlee is on a distinguished road
Default Re: hi Coder here! I need some coding help

Quote:
Originally Posted by UnKnown View Post
PHP Code:
<?php include("banner.php");?>
Include and Require are functions and need ()

Always start php code with <?php and not <?
Other languages open with <?

UnKnown, like i said
__________________
I Blog LIFE at iCalvyn.com

Budget Hosting => 375G space 5TB bandwidth less then 60USD per year
calvynlee is offline   Reply With Quote
Old 02-22-2008, 03:46 PM   #11
UnKnown
Tellin' it like it is!!
 
UnKnown's Avatar
 
Join Date: Aug 2006
Posts: 1,082
UnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really nice
Default Re: hi Coder here! I need some coding help

if you cant figure out this small brainless task then maybe you should be a webmaster
Its right in front of your face and yet you say it dont work.
How are suppose to help read your damn mind?
Create the gd footer with the html code in it and then use the code i posted to require the damn file

Is it really that damn hard?
UnKnown is offline   Reply With Quote
Old 02-28-2008, 10:02 AM   #12
alemcherry
Senior Member
 
alemcherry's Avatar
 
Join Date: Mar 2007
Posts: 264
alemcherry will become famous soon enough
Default Re: hi Coder here! I need some coding help

Quote:
Originally Posted by calvynlee View Post
PHP Code:
<? include 'http://www.icalvyn.com/banner.php';?>

it cannot retrieve it, ist any wrong on my coding?

Including the remote file is not safe and may not work on older versions of PHP. Better use another function like readfile etc.
alemcherry is offline   Reply With Quote
Old 02-28-2008, 02:28 PM   #13
UnKnown
Tellin' it like it is!!
 
UnKnown's Avatar
 
Join Date: Aug 2006
Posts: 1,082
UnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really nice
Default Re: hi Coder here! I need some coding help

Quote:
Originally Posted by alemcherry View Post
Including the remote file is not safe and may not work on older versions of PHP. Better use another function like readfile etc.
<? include 'http://www.icalvyn.com/banner.php';?>
Not sure how that code would be unsafe, because it wont do anything but kick errors, because its not correct
UnKnown is offline   Reply With Quote
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Reply



Quick Reply
Message:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some suggestions from webmasters :) olddocks Marketing and Promotion 6 02-25-2008 06:48 PM
hi ;-) ginajane_g Introduce yourself 3 02-16-2008 01:41 PM
I need some honest help from people here at iwebtool! Internetwiz General Talk 0 02-09-2008 03:15 AM
Can someone help me with my signature coding? alow Help and Support 10 10-02-2007 04:35 PM
xHTML / CSS / Wordpress Coding Zack Other Goods 0 01-21-2007 10:56 PM


All times are GMT. The time now is 08:10 PM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.