Results 1 to 3 of 3
  1. #1

    help with EditPlus

    Hi, in this forum recommend me to download the EditPlus to practice there php, i need to practice so i started but a had some problems. i open a new file as html page and there i tried to put some php examples like "your fist program on php" i save it as prac1.php but it doesn`t work when i looked on the browser,
    i don`t know if i need to do something special to can see php programs ,(well is just some lines). so plese i hope you can help me this is what i tried to do.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>

    <BODY>
    <?php echo("si quieres servir documentos XHTML o XML, haz como aqu&iacute;\n"); ?>

    <? echo ("esta es la m&aacute;s simple, una instrucci&oacute;n de procesado SGML \n"); ?>

    <script language="php">
    echo ("muchos editores (como FrontPage) no
    aceptan instrucciones de procesado");
    </script>

    <% echo ("Opcionalmente, puedes usar las etiquetas ASP"); %>
    <%= $variable; # Esto es una abreviatura de "<% echo . . ." %>
    </BODY>
    </HTML>

  2. #2
    Join Date
    Aug 2002
    Location
    California
    Posts
    109
    Are you trying to open the php file locally? If so, do you have PHP and Apache installed on your computer?

  3. #3
    Join Date
    Jul 2003
    Location
    Kuwait
    Posts
    5,099
    In order to view the result of a PHP page, you must have a webserver and the PHP parser installed on your local computer.
    In order to understand recursion, one must first understand recursion.
    If you feel like it, you can read my blog
    Signal > Noise

Posting Permissions

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