Did you recently take my advice on manging banners ? 최근 manging 배너에 내 충고를 받아들 였나요?Or maybe you’re just putting advertisements on your site for the first time this month? 아니면 그냥 처음으로 귀하의 사이트에 광고를 퍼팅이 달 아마 넌?Either way you’ll find as your sites grow, its a lot of work to manage banner advertisements. 귀하의 사이트에 배너 광고를 관리하는 작업의 많은 성장으로 어느 쪽이든 찾을거야.You could go with something like OpenAds but applications like this are taxing on server efficiency - particularly if you’re on a shared hosting plan (The newest versin of OpenAds utilizes 16mb of ram). 당신처럼 뭔가 OpenAds하지만이 같은 애플 리케이션 서버의 효율성에 부담스러운 위치 갈 수 - 공유를 호스팅하는 경우 특히 계획에 OpenAds (최신 versin있어 활용 16MB RAM의).Sometimes simple is better and effective! 때로는 더 효과적으로 간단하게!Here’s some PHP coding tips to set yourself up for banner automation. 여기에 일부 PHP는 배너를 설정하는 자동화에 대한 직접 코딩 팁.
The first step involves grabbing the current pages domain. 첫 번째 단계는 현재 페이지의 도메인을 잡는이 포함됩니다.Break the url on the slashes like so. the 슬래시에 떨어져 URL이 너무 좋아.This should go in your template page. 이 페이지를 귀하의 템플릿에 가야한다. $parts = explode(”/”, $HTTP_HOST);$ 부품 ("/",) $ HTTP_HOST 폭발 =,
This creates an array which we can now pick and choose an element to access. 이것이 우리가 지금 선택할 수 있으며 액세스하고자하는 요소를 선택 배열을 만듭니다.The first array “0″ is the first part of the array. "배열의 첫 번째 부분은 첫 번째 배열을"0.This contains everything between the http:// and the start of the next slash if there is one. 이 다음에 슬래시의 http://로 시작 사이에 모든 게 하나있다면 포함되어있습니다.We’re going to store that in variable “$whichsite”. NOTE : You can apply these same rules to directories or pages within a site by incrementing the part variable. 우리가 변수 "$ whichsite". 참고 : 디렉터리 또는 페이지에 사이트 내의 일부 변수가 증가하여이 같은 규칙을 적용할 수있는 가게에가는거야.This should go your template page. 이 페이지 템플릿 가야한다. $whichsite = $parts[0];$ whichsite = $ 부품 [0];
Now use an includes in the spot on your page (probably in a template somewhere on your site) where you want the ad to appear. 지금 귀하의 페이지에 그 자리에 (아마 어딘가에 귀하의 사이트에있는 템플릿)에 게재할 광고를 원하는가 포함되어있습니다.This again, goes in your sites template. 이 다시 귀하의 사이트에서 일어나는 템플릿. include http://www.domain.com/ads.php?whichsite=$whichsite;whichsite http://www.domain.com/ads.php?whichsite = $ 포함;
Create an IF statement to check and see what domain is being selected. NOTE: if its not a sub-domain you’ will want to enter its WWW counterpart since a site can usually be accessed by domain.com or www.domain.com. 문을면 수표로 만들기 및 도메인 무엇을 선택되고 있는지. 참고 : - 경우가 아니라 하위 도메인 '사이트 이래 국가에서 WWW를 입력 대개 domain.com 또는 www.domain.com하여 액세스할 수 원할 것입니다. if($whichsite == “www.extreme-gamerz.org” || $whichsite == “extreme-gamerz.org”)($ whichsite면 == "www.extreme -"== "극단 | | $ whichsite gamerz.org -") gamerz.org If there are any additional links you want to have the same condition for continue to add them by separating them with a “||”. 만약 당신이 그들을 분리하여 "||". 추가로 계속 그들에 대해 동일한 조건으로 갖고 싶어하는 모든 추가 링크This specifies an OR statement in PHP. 이 PHP에서 또는 성명을 지정합니다.This code should go in a new document named “ads.php” which we called in the past step. 이 코드는 새 문서를 우리가 과거 어느 단계에서 "ads.php"이라는 이름에 가야한다.Your ads should go in-between each if statement accordingly. 귀하의 광고에 가야 - 각 사이에 성명을 따라하는 경우.
The code in your template should look like this: 당신이처럼 보여야 템플릿에 코드 :
//Catch all banner (if you use this add in a non-applicable spot) it will display this code) You could use this alone as a substitue for sub.domain1.com if you are only doing this on 2 sites.잡아라//Catch all banner (if you use this add in a non-applicable spot) it will display this code) You could use this alone as a substitue for sub.domain1.com if you are only doing this on 2 sites.
If you’re starting to learn PHP/mySQL I would strongly suggest an activity that would involve setting up a database which tracks banner loads. 만약 당신이 PHP를 배우기 시작 하는구나 / mySQL 난 강력하게되는 부하를 추적하는 데이터베이스를 설정 배너 활동 참여 것이 좋습니다.You could also set up a simple system that manages the domains and ads while you’re at it. 또한 도메인 및 광고를하면서 그것에있어 간단하게 관리하는 시스템을 설정할 수있습니다.Break the steps down and use this as a learning tool. 휴식 단계를 아래와 학습 도구로 사용합니다.The only way I ever learned is when I had an excuse to create something or had a problem that needed fixing. 내가 배운 유일한 방법은 그 때 변명이 뭔가를 만들거나 고칠 필요가 문제가됐다.The possibilities are endless as you can apply this concept to things other then banner advertising! 당신이 다른 일들을 다음 배너 광고 이런 개념을 적용할 수있는 가능성은 무한하고있다!Be creative with it! 그걸로 창의력을 발휘해보십시오!
Christian Ross : Do you have any idea how to adjust the CSS for a post on the index page by...크리스찬 로스 : 당신은 어떻게하여 인덱스 페이지에있는 게시물에 대한 CSS를 조정할 수 있는지 아십니까 ...- [Go To Post]- 포스트로 이동 []
Augie : Bingo.Augie : 빙고.So long as the bots aren’t reading and understanding the CSS commands,... 그리 오래되지 않습니다 독서로 봇과 CSS를 명령, 이해 ...- [Go To Post]- 포스트로 이동 []
If you were planning on purchasing a product, would you rather hear the good or the bad about it first? 제품을 구입하는 경우에, 당신은 오히려하거나 그것에 대해 나쁜 소리를들을 까봐 먼저 좋은 계획이 셨죠?Why? 왜?
Getting kind of antsy for Wordpress 2.7 - Putting new blog features on hold so I dont have to do things twice. WordPress의 2.7에 대한 방법 불안해의 종류 - 그래서 내가해야 할 것들이 여러가지로 잡아 두 차례에 새 블로그 기능을 씌우고있다.
@payneb I love the Tomato firmware. @ 난 토마토 펌웨어를 사랑 payneb.Ever try it? 적 한걸까? http://www.polarcloud.com/tomato
Exploring some new screen video capturing tools (free ones). 몇 가지 새로운 화면 비디오 도구 (무료 것들)을 캡처 탐험해보세요.So far ZD Soft looks like the best option: http://twurl.nl/2r7guc 지금까지 최고의 옵션 ZD 소프트처럼 보이는 : http://twurl.nl/2r7guc
Its amazing how much more money I made today from Adsense after deleting about 100 Placement Targeted ads. 오늘 애드 센스에서 100에 대한 삭제 이후의 놀라운 얼마나 더 돈을 타겟 광고를 게재합니다.
Hidden Form Fields To Prevent Bot Spam http://tinyurl.com/56rvb3 숨겨진 양식 필드 로봇을 막기 위해 스팸 메일을 http://tinyurl.com/56rvb3
The Matrix runs on Windows XP - http://tinyurl.com/5e7pam - Priceless 매트릭스는 Windows XP에서 - http://tinyurl.com/5e7pam - 어처구니가 없구나 실행
덧글을 남길 :