|
| |||||||
![]() | Welcome to iWEBTOOL Talk, where you talk about
webmaster-related stuff.
1 Register
2 Browse the board
3 Discuss whatever may interest you! | |||||||||||||
![]() |
| | Thread Tools | Search this Thread | Display Modes |
| | #1 |
| Junior Member Join Date: Oct 2007 Location: LittlePenang.com
Posts: 48
![]() | 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:
__________________ I Blog LIFE at iCalvyn.com Budget Hosting => 375G space 5TB bandwidth less then 60USD per year |
| | |
|
| |||||||
| | #2 |
| iWEBTOOL Moderator Contributor Join Date: Aug 2006 Location: Hungary
Posts: 1,762
![]() ![]() ![]() ![]() ![]() | 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.
__________________ Please, apply the signature policy Have a look at my free seo related web directory konferencia helyszínek seo fórum Free shopping cart |
| | |
| | #3 |
| Junior Guru | 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: 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. |
| | |
| | #4 | |
| Junior Member Join Date: Oct 2007 Location: LittlePenang.com
Posts: 48
![]() | Quote:
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: 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 | |
| | |
| | #5 | |
| Smurf Join Date: Feb 2008
Posts: 14
![]() | Quote:
Same suggestion here | |
| | |
| | #6 |
| Junior Member Join Date: Oct 2007 Location: LittlePenang.com
Posts: 48
![]() | 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 |
| | |
| | #7 |
| Tellin' it like it is!! Join Date: Aug 2006
Posts: 1,082
![]() ![]() ![]() ![]() ![]() | PHP Code: Always start php code with <?php and not <? Other languages open with <?
__________________ Webmaster Resources & Forums / Webmaster Tools & Forum / eCommerce Shopping Basket / Scene Releases |
| | |
| | #8 | |||
| Junior Member Join Date: Oct 2007 Location: LittlePenang.com
Posts: 48
![]() | Quote:
if i put in the <?php also the same... here, again i explain what i need example: Quote:
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:
without changing the code in their website
__________________ I Blog LIFE at iCalvyn.com Budget Hosting => 375G space 5TB bandwidth less then 60USD per year | |||
| | |
| | #9 |
| Tellin' it like it is!! Join Date: Aug 2006
Posts: 1,082
![]() ![]() ![]() ![]() ![]() | like i already said <?php include("banner.php");?> I dont really understand your question i was jsut correcting the code the other members posted
__________________ Webmaster Resources & Forums / Webmaster Tools & Forum / eCommerce Shopping Basket / Scene Releases Last edited 02-18-2008 at 04:28 PM. |
| | |
| | #10 | |
| Junior Member Join Date: Oct 2007 Location: LittlePenang.com
Posts: 48
![]() | Quote:
UnKnown, like i said
__________________ I Blog LIFE at iCalvyn.com Budget Hosting => 375G space 5TB bandwidth less then 60USD per year | |
| | |
| | #11 |
| Tellin' it like it is!! Join Date: Aug 2006
Posts: 1,082
![]() ![]() ![]() ![]() ![]() | 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?
__________________ Webmaster Resources & Forums / Webmaster Tools & Forum / eCommerce Shopping Basket / Scene Releases |
| | |
| | #12 | |
| Senior Member Join Date: Mar 2007
Posts: 264
![]() | Quote:
Including the remote file is not safe and may not work on older versions of PHP. Better use another function like readfile etc. | |
| | |
| | #13 | |
| Tellin' it like it is!! Join Date: Aug 2006
Posts: 1,082
![]() ![]() ![]() ![]() ![]() | Quote:
Not sure how that code would be unsafe, because it wont do anything but kick errors, because its not correct
__________________ Webmaster Resources & Forums / Webmaster Tools & Forum / eCommerce Shopping Basket / Scene Releases | |
| | |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |