Results 1 to 5 of 5
  1. #1

    Default parsing php in htm


    unsai advantages kung i parse nimu ang php in html?

    is it true nga maka pa paspas siya?

    unsa jud dai purpose nganu i parse man?

    nag search ko ani sa google, wala man koi nakita nga tarung2x nga answer so mangayo ko sa inyu opinion :>

    thank you.

  2. #2
    i can't imagine html alone doing some parsing. is it php parsing html codes?

    to answer your other question. generally you parse data to retrieve some info or data you need to manipulate. simple as that. what data? it depends.

  3. #3
    Quote Originally Posted by c-chan View Post
    unsai advantages kung i parse nimu ang php in html?

    is it true nga maka pa paspas siya?

    unsa jud dai purpose nganu i parse man?

    nag search ko ani sa google, wala man koi nakita nga tarung2x nga answer so mangayo ko sa inyu opinion :>

    thank you.

    There are two scenarios with your questions:

    1st..... usually you use PHP to generate HTML codes but the extension is ".php"


    2nd.......
    The answer is NO, it won't tell any difference.
    Parsing PHP using ".htm" extension is very possible. We use that all the time to hide the true file extensions of the website. The purpose is to confuse the visitors what language used on the website. Usually, we hide the extentions to make it more confusing.

    The other intentions to this is to confuse the other developers so that they won't copy us... but it's just another point of view anyway....

    It won't tell any diffence on the Speed. It's all in server setup on Apache configuration or HTACCESS file override configuration.

    The big examples are that you cannot see their file extentions....
    Yahoo
    google
    facebook..... etc and other big famous websites.

    You'll only see "/" and "?" .... get the idea?

    ISTORYA.NET is the big example. You see ".html" but it's actually PHP using vBulletin opensource website program. The program is compatible to use URL manipulation hiding the extension... and also search engine friendly.


    Quote Originally Posted by crasj View Post
    i can't imagine html alone doing some parsing. is it php parsing html codes?

    to answer your other question. generally you parse data to retrieve some info or data you need to manipulate. simple as that. what data? it depends.
    You need to look around more.
    Last edited by dodie; 11-28-2010 at 10:41 AM.

  4. #4
    ^^ i got it! ingon ana diay pagsabot sa iyang question. yeah my bad. look around. hihihi
    actually i googled her question before i made an answer kay naglibog kow. her question "unsa jud dai purpose nganu i parse man?" made me think twice. to think she knows how php scripting works.

    searched key: "parsing php in html"

    the first two resulting pages could possibly answer her question in different angles.

    first result (Learning Journal - Parsing PHP in .html Files) you explained it well in your 2nd scenario.
    i decided to answer by this idea, the 2nd result: PHP Simple HTML DOM Parser.

    unless TS will explain more...

  5. #5
    @sir dodie: wala dai difference. i see i see. thnx! i thought maka pa pas2x siya :> for confusion lang diay. mugna2x ra diay na sa uban ang maka pas2x ang pag parse..hihi

    @sir crasj: ang kana 1st result nimu mao na ako gi gamit. I'll try to read the 2nd result and see what new idea i can get from it

    thank you.

  6.    Advertisement

Similar Threads

 
  1. Today, I only have Php 20.00 in my pocket.. GAME!
    By ZuperTzai in forum General Discussions
    Replies: 211
    Last Post: 05-03-2020, 01:08 PM
  2. MSSQL + PHP in window server 2008 IIS 7 request
    By Burn Out in forum Programming
    Replies: 4
    Last Post: 08-15-2012, 05:26 PM
  3. Replies: 13
    Last Post: 05-20-2011, 05:17 AM
  4. The Name Game in C, Java, PHP, etc.
    By Visual C# in forum Programming
    Replies: 0
    Last Post: 04-15-2006, 06:12 AM
  5. What can beat this all-in-one cellphone from BIRD@ only 12k Php?
    By ftray in forum Gizmos & Gadgets (Old)
    Replies: 4
    Last Post: 11-07-2005, 04:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top