Test Start >>>> <<<<Test End Test20 does NOT work while Test10 does WORK (after a fashion). Will someone please point out to me way Test20 does not work -- I can not see it. In advance thanks Frank net [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <4rxwe.57$%T1.616@eagle.america.net> [ref] => [htmlstate] => on_nl2br [postusername] => ft310 [ip] => ft310@yahoo.com [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 1 [islastshown] => [isfirstshown] => 1 [attachments] => [allattachments] => ) --> Newbie Debugging Problem - PHP Development
Professional Web Applications Themes

Newbie Debugging Problem - PHP Development

At the following address there are two links to two separate pages http://www.rhodeisland-aa.org/ricsmeetings/index.htm The pages are Test10 and Test20. They are functionally and virtually the same (I think, newbie think) The internals of Test20 are: <html> <head> <title>RICS Test page 02 06/23/05</title> <script language="php" type="text/php"> <!-- //--> </script> </head> <body>Test Start &gt;&gt;&gt;&gt; <script language="php"> $myvar = "Hello World 06/23/05"; echo $myvar; </script> &lt;&lt;&lt;&lt;Test End </body> </html> Test20 does NOT work while Test10 does WORK (after a fashion). Will someone please point out to me way Test20 does not work -- I can not see it. In advance thanks Frank net...

  1. #1

    Default Newbie Debugging Problem

    At the following address there are two links to two separate pages
    http://www.rhodeisland-aa.org/ricsmeetings/index.htm

    The pages are Test10 and Test20.

    They are functionally and virtually the same (I think, newbie think)

    The internals of Test20 are:
    <html>
    <head>
    <title>RICS Test page 02 06/23/05</title>
    <script language="php" type="text/php">
    <!--
    //-->
    </script>
    </head>
    <body>Test Start &gt;&gt;&gt;&gt;
    <script language="php">
    $myvar = "Hello World 06/23/05";
    echo $myvar;
    </script>
    &lt;&lt;&lt;&lt;Test End
    </body>
    </html>

    Test20 does NOT work while Test10 does WORK (after a fashion).

    Will someone please point out to me way Test20 does not work -- I can not
    see it.

    In advance thanks

    Frank

    net


    ft310 Guest

  2. #2

    Default Re: Newbie Debugging Problem

    > At the following address there are two links to two separate pages 

    Looks like they both do not work. In both cases there's PHP source
    sent to the client instead of being processed by PHP.
    Are you sure there's PHP installed on www.rhodeisland-aa.org server
    and that it's configured to treat *.htm files as PHP files.
    Finally (when achieving the two above) you'll have to make sure
    it's configured to treat <script language="PHP"> as PHP opening tag
    (if you want to use it).


    Hilarion
    Hilarion Guest

  3. #3

    Default Re: Newbie Debugging Problem

    Hilarion wrote: 
    >
    > Looks like they both do not work. In both cases there's PHP source
    > sent to the client instead of being processed by PHP.
    > Are you sure there's PHP installed on www.rhodeisland-aa.org server
    > and that it's configured to treat *.htm files as PHP files.
    > Finally (when achieving the two above) you'll have to make sure
    > it's configured to treat <script language="PHP"> as PHP opening tag
    > (if you want to use it).
    >
    >
    > Hilarion[/ref]

    It would probably be better to do things the normal way and use the PHP file
    extension, and the standard PHP opening & closing tags <?php ?> or <? ?>

    --
    Tony Garcia
    Web Right! Development


    Tony Guest

Similar Threads

  1. dbx debugging problem
    By Steven in forum UNIX Programming
    Replies: 2
    Last Post: November 5th, 11:39 PM
  2. Debugging problem
    By Linda in forum ASP.NET General
    Replies: 9
    Last Post: August 28th, 10:28 PM
  3. Newbie client side JavaScript debugging issue
    By .NET Developer in forum ASP.NET General
    Replies: 2
    Last Post: August 3rd, 07:36 AM
  4. ASP.NET Debugging problem
    By Mel in forum ASP.NET General
    Replies: 0
    Last Post: July 24th, 01:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139