You are here: Re: HTML portion « PHP Language « IT news, forums, messages
Re: HTML portion

Posted by Chilly8 on 12/03/07 17:32

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:UOudnTaYbL9Oas7anZ2dnUVZ_trinZ2d@comcast.com...
> Chilly8 wrote:
>> X-No-Archive: Yes
>>
>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>> news:UaGdnUzHPKXDms7anZ2dnUVZ_vvinZ2d@comcast.com...
>>> Chilly8 wrote:
>>>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>>>> news:xLadnT6enbhCLM_anZ2dnUVZ_s7inZ2d@comcast.com...
>>>>> Chilly8 wrote:
>>>>>> How to I change the HTML portiion of a PHP script? I want to modify
>>>>>> the HTML portion of phpBB, and the code in there to have StatCounter
>>>>>> record hits to that part of my web site. I already have the main web
>>>>>> site logged with StatCounter, but I would like to be able to modify
>>>>>> the HTML portion of PHP scripts for WikiMedia and phpBB, so
>>>>>> I can have those logged by phpBB as well
>>>>>>
>>>>>> I can see the HTML portion when I ask for the source in my
>>>>>> browser, but I cannot find the place in any of the PHP scripts
>>>>>> to change the HTML portion of the code
>>>>>>
>>>>>>
>>>>> You need to ask in the PhpBB support forums, not here. It's more
>>>>> complicated than just changing text files.
>>>> I have figured out one way to do it, which works with ANY
>>>> PHP page. Just load it into your browser, select the option
>>>> for viewing the source, and then save that as an index.htm or
>>>> index.html page, then have the web crawlers crawl that
>>>> instead of the php file. I have so far gotten this to work with
>>>> my phpBB and Wiki pages, then just change the redirects
>>>> on my domain to take users to the HTML-translated
>>>> version of the page. Then you can put in things like
>>>> Statcounter, or banner ads into WikiMedia, PhpBB,
>>>> VBulletin, or anything else. Now, you will need to have
>>>> the original php version, so that users can login. If the
>>>> index.php file has been erased or renamed, a user will
>>>> not be able to log on, but if anyone else asks about this,
>>>> that is how you do it. Log off and delete all cookies. Go
>>>> back to the main page, open the source in your browser,
>>>> and then save the HTML-translated page, then submit
>>>> the HTML version of hte page to Google and Yahoo
>>>> so that users get directed to that, instead of the PHP
>>>> version of the page.
>>>>
>>>>
>>> And pretty soon you'll figure out why that doesn't work.
>>
>> Its so far worked for me. Just have the original PHP version
>> of the page, so that users can log in, if logins are required.
>>
>
> Keep it up. You'll find why it doesn't work. Then you can come back here
> and look at the advice given you in this thread.

Its already bearing fruit. I have found two networks, one in Germany
and one in Ukraine, where a lot of the porn links are coming from, and
have already blocked them at the firewall level, so I won't see any more
from those networks. Statcounter is already revealing to me where these
assholes are coming from.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация