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

Posted by Chilly8 on 12/03/07 06:45

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.

I am having problems with people registering usernames,
putting porn links in their profiles, and the dissappearing
and never coming back. phpBB does not have logging
capabilities, and I need to know where these users are
coming from, so I can block them. Firewall logs only
say there was a hit to port 80, and do not say which
parts of my web site were accessed. By directing users
to the HTML translated-page, I can log it on StatCounter,
and find out where these people are coming from and
block them, just as soon as the Yahoo and Google
web crawlers update their links so that users start
coming through the HTML-translated page instead
of the php page.

 

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

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