php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • GoGs

    php

    i'm a newbie to PHP, just starting of. i've got a couple questions, and i
    would be very thankfull if you could answer them in details...

    1. how can i find out if my server supports PHP?
    all i know is that it doesn't support ASP...

    2. i'd like to insert a small frame from some html page to my html page,
    but i don't want to do this with framesets. is there any other way?


    thanks.

    P.S. any good PHP tutorials are welcome... :)

    --
    GoGs
    ((delete_))gora n@flash.com.hr
  • Dave Pyles

    #2
    Re: php

    On 9/30/2005 4:45 PM, GoGs wrote:[color=blue]
    > i'm a newbie to PHP, just starting of. i've got a couple questions, and
    > i would be very thankfull if you could answer them in details...
    >
    > 1. how can i find out if my server supports PHP?
    > all i know is that it doesn't support ASP...
    >
    > 2. i'd like to insert a small frame from some html page to my html
    > page, but i don't want to do this with framesets. is there any other
    > way?
    >
    >
    > thanks.
    >
    > P.S. any good PHP tutorials are welcome... :)
    >[/color]
    For your server test try this: make a file named something.php which
    contains the following:

    <head>
    </head>
    <body>
    <?php
    phpinfo();
    ?>
    </body>
    </html>

    Send it to your server than call the file with your browser. If your
    site supports PHP it will let you know. It not, it will just give you a
    blank browser window.

    Dave Pyles

    Dave Pyles

    Comment

    • Terry

      #3
      Re: php

      GoGs wrote:[color=blue]
      > i'm a newbie to PHP, just starting of. i've got a couple questions, and
      > i would be very thankfull if you could answer them in details...
      >
      > 1. how can i find out if my server supports PHP?
      > all i know is that it doesn't support ASP...[/color]

      File name whatever.php loaded to your site -
      <?php
      phpinfo();
      ?>

      If you get a whole bunch of information (that you do not undestand at
      this point) - your server supports php.[color=blue]
      >
      > 2. i'd like to insert a small frame from some html page to my html
      > page, but i don't want to do this with framesets. is there any other
      > way?[/color]

      Once you get a little more knowlegeable in php you can for example have
      a <div> that is on every page on the site. Like a navigation bar for
      example.
      [color=blue]
      > P.S. any good PHP tutorials are welcome... :)
      >[/color]
      http://www.phpfreaks.com/index.php is good - the php manual is hard to
      beat IMHO.


      --
      TK

      Still Having a Ball


      A: Because it messes up the order in which people normally read text.
      Q: Why is it such a bad thing?
      A: Top-posting.
      Q: What is the most annoying thing on usenet?







      ..

      ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
      http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
      ----= East and West-Coast Server Farms - Total Privacy via Encryption =----

      Comment

      • Colin Fine

        #4
        Re: php

        GoGs wrote:[color=blue]
        > i'm a newbie to PHP, just starting of. i've got a couple questions, and
        > i would be very thankfull if you could answer them in details...
        >
        > 1. how can i find out if my server supports PHP?
        > all i know is that it doesn't support ASP...
        >[/color]
        Dobro vece

        I don't think there is a general answer - it depends on your web server.
        what Server are you using? Do you have access to its configuration file,
        start script etc?
        [color=blue]
        > 2. i'd like to insert a small frame from some html page to my html
        > page, but i don't want to do this with framesets. is there any other
        > way?[/color]
        Look at <iframe>
        [color=blue]
        >
        >
        > thanks.[/color]
        Molim vas[color=blue]
        >
        > P.S. any good PHP tutorials are welcome... :)
        >[/color]

        Comment

        • GoGs

          #5
          Re: php

          On Fri, 30 Sep 2005 23:45:50 +0200, Dave Pyles <dnpyles@acoust icmusic.com>
          wrote:
          [color=blue]
          > On 9/30/2005 4:45 PM, GoGs wrote:[color=green]
          >> i'm a newbie to PHP, just starting of. i've got a couple questions, and
          >> i would be very thankfull if you could answer them in details...
          >> 1. how can i find out if my server supports PHP?
          >> all i know is that it doesn't support ASP...
          >> 2. i'd like to insert a small frame from some html page to my html
          >> page, but i don't want to do this with framesets. is there any
          >> other way?
          >> thanks.
          >> P.S. any good PHP tutorials are welcome... :)
          >>[/color]
          > For your server test try this: make a file named something.php which
          > contains the following:
          >
          > <head>
          > </head>
          > <body>
          > <?php
          > phpinfo();
          > ?>
          > </body>
          > </html>
          >[/color]

          I write this and i open with beowser and i see what i write...
          www.flash.com.hr/nesto.php[color=blue]
          > Send it to your server than call the file with your browser. If your
          > site supports PHP it will let you know. It not, it will just give you a
          > blank browser window.
          >
          > Dave Pyles
          >
          > Dave Pyles[/color]



          --
          GoGs

          Comment

          • Jerry Stuckle

            #6
            Re: php

            GoGs wrote:[color=blue]
            > i'm a newbie to PHP, just starting of. i've got a couple questions, and
            > i would be very thankfull if you could answer them in details...
            >
            > 1. how can i find out if my server supports PHP?
            > all i know is that it doesn't support ASP...
            >[/color]

            Maybe ask your hosting company?
            [color=blue]
            > 2. i'd like to insert a small frame from some html page to my html
            > page, but i don't want to do this with framesets. is there any other
            > way?
            >
            >
            > thanks.
            >
            > P.S. any good PHP tutorials are welcome... :)
            >[/color]



            --
            =============== ===
            Remove the "x" from my email address
            Jerry Stuckle
            JDS Computer Training Corp.
            jstucklex@attgl obal.net
            =============== ===

            Comment

            • Nicholas Sherlock

              #7
              Re: php

              GoGs wrote:[color=blue]
              > I write this and i open with beowser and i see what i write...
              > www.flash.com.hr/nesto.php[/color]

              You mean, you see the source? Then it definitely doesn't have PHP enabled.

              Cheers,
              Nicholas Sherlock

              Comment

              • Bent Stigsen

                #8
                Re: php

                Nicholas Sherlock wrote:[color=blue]
                > GoGs wrote:
                >[color=green]
                >> I write this and i open with beowser and i see what i write...
                >> www.flash.com.hr/nesto.php[/color]
                >
                > You mean, you see the source? Then it definitely doesn't have PHP enabled.[/color]

                Not enabled, and it seems not to be available at all.

                Response-header from http://www.flash.com.hr/
                ....
                Server: Apache/1.3.20 Sun Cobalt (Unix) Chili!Soft-ASP/3.6.2
                mod_ssl/2.8.4 OpenSSL/0.9.6b mod_layout/3.2 mod_auth_pam_ex ternal/0.1
                FrontPage/4.0.4.3 mod_perl/1.25
                ....

                Don't know what "Chili!Soft-ASP" is, perl seems to be available, but
                alas no PHP. Atleast not announced.

                /Bent

                Comment

                • GoGs

                  #9
                  Re: php


                  Thanks...

                  --
                  GoGs

                  Comment

                  • Colin Fine

                    #10
                    Re: php

                    Dave Pyles wrote:[color=blue]
                    > On 9/30/2005 4:45 PM, GoGs wrote:
                    >[color=green]
                    >> i'm a newbie to PHP, just starting of. i've got a couple questions,
                    >> and i would be very thankfull if you could answer them in details...
                    >>
                    >> 1. how can i find out if my server supports PHP?
                    >> all i know is that it doesn't support ASP...
                    >>
                    >> 2. i'd like to insert a small frame from some html page to my html
                    >> page, but i don't want to do this with framesets. is there any
                    >> other way?
                    >>
                    >>
                    >> thanks.
                    >>
                    >> P.S. any good PHP tutorials are welcome... :)
                    >>[/color]
                    > For your server test try this: make a file named something.php which
                    > contains the following:
                    >
                    > <head>
                    > </head>
                    > <body>
                    > <?php
                    > phpinfo();
                    > ?>
                    > </body>
                    > </html>
                    >
                    > Send it to your server than call the file with your browser. If your
                    > site supports PHP it will let you know. It not, it will just give you a
                    > blank browser window.
                    >
                    > Dave Pyles
                    >
                    > Dave Pyles[/color]

                    That's assuming that the server is set up with the usual assumptions
                    about file extensions ...


                    Colin

                    Comment

                    Working...