Jump to content
php.lv forumi

Cerka

Reģistrētie lietotāji
  • Posts

    40
  • Joined

  • Last visited

Posts posted by Cerka

  1. Kad atveru php failu tur ir sads texts

     

    <?php @Zend;

    4147;

    /* с!This is not a text file!Юн */

    print <<<EOM

    <html><body><a href="http://www.zend.com/store/products/zend-safeguard-suite.php"><img border="0" src="http://www.zend.com/images/store/safeguard_optimizer_img.gif" align="right"></a><center><h1>Zend Optimizer not installed</h1></center><p>This file was encoded by the <a href="http://www.zend.com/products/zend_guard">Zend Guard</a>. In order to run it, please install the <a href="http://www.zend.com/products/zend_optimizer">Zend Optimizer</a> (available without charge), version 3.0.0 or later. </p><h2>Seeing this message instead of the website you expected?</h2>This means that this webserver is not configured correctly. In order to view this website properly, please contact the website's system administrator/webmaster with the following message:<br><br><tt>The component "Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server.</tt><br><br><b>Note</b>: Zend Technologies cannot resolve issues related to this message appearing on websites not belonging to <a href="http://www.zend.com">Zend Technologies</a>. <h2>What is the Zend Optimizer?</h2><p>The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been available without charge, since the early days of PHP 4. It improves performance by scanning PHP's intermediate code and passing it through multiple Optimization Passes to replace inefficient code patterns with more efficient code blocks. The replaced code blocks perform exactly the same operations as the original code, only faster. </p><p>In addition to improving performance, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Guard. </p><p>The Zend Optimizer is a free product available for download from <a href="http://www.zend.com">Zend Technologies</a>. Zend Technologies also developed the PHP scripting engine, known as the <a href="http://www.zend.com/products/zend_engine">Zend Engine</a>.</p></body></html>

    EOM;

    exit();

    __halt_compiler();

    ?>

  2. Man ir tada problema es esmu php.ini nonjemis vienu sudu kad restarteju appserv man rada ka ;extension=php_mssql.dll ir janonjem bet vinjs jau ir nonjemts kada var but problema?

    Un kad spiezu Restart Apache man atver melnu logu un neko neraksta! :(

  3. Es esmu uzstaisiji virtual host uz xampp.

    Kad rakstu forum.host.lv mani iet ieksa host.lv

    httpd-vhosts.conf

    NameVirtualHost IP:80

     

    <VirtualHost IP:80>

    DocumentRoot "C:\Appserv\htdocs"

    ServerName host.lv

    <Directory />

    Options FollowSymLinks

    AllowOverride All

    </Directory>

    DirectoryIndex index.html index.php index.xml

    </VirtualHost>

     

    <VirtualHost IP:80>

    ServerName forum.host.lv

    DocumentRoot "C:\Appserv\htdocs\forum"

    <Directory />

    Options FollowSymLinks

    AllowOverride All

    </Directory>

    <Directory "C:\Appserv\htdocs\forum">

    Options Indexes FollowSymLinks

    AllowOverride All

    Order allow,deny

    Allow from all

    </Directory>

    DirectoryIndex index.html index.php index.xml

    </VirtualHost>

     

    \WINDOWS\system32\drivers\etc\hosts

     

    es esmu ieraksitijis

     

    127.0.0.1 forum.host.lv

     

    kada varetu but problema!

  4. Man raada sadu eror : Parse error: parse error, unexpected ';' in C:\AppServ\www\web\index.php on line 113

     

    un tas scripts kas tur ir

     

    <?php

    if (isset($_COOKIE['login']))

    {

    echo '<div align="center"><form name="form1" method="post1" action="logout.php">Welcome ';

    echo '<b><u>';

    echo $login;

    echo '</b></u><br />';

    echo '<br /><b>Services are in the Menu.<br /></b>';

    echo '<a href=index.php?pg=user class=side>Personal Top</a></div><br />';

    echo '<input type="submit" name="Submit" value="Logout" class="button"></form><br />';

    }

    else

    {

    echo

     

    ?>

     

    un 113 rinda ir : ?>

×
×
  • Create New...