Jump to content

Destramic

Members
  • Posts

    960
  • Joined

  • Last visited

Posts posted by Destramic

  1. bah typo..im not sure on what you would call the script...but when you view forums you'll see nav location eg this tread is at:
    PHP Freaks Forums > PHP and MySQL > PHP Help > php nav menu

    hope that clears things up
  2. thank you very much...i installed apache2 and php5 now it all works fine...only probelm i have now is when i was installing mysql5...i seem to have the problem of ext php_mysqli.dll loading

    Fatal error: Class 'mysqli' not found in D:\www\core\database\connect.php on line 14

    the semi-colon has been taken off in php.ini and ext dir is set correct..help?

    thanks
  3. ive seen this done before...but im not sure how it is done..basically im wondering how you get a vav function for your website. ei:

    Home >> News
    Administration Control Pannel >> Add User

    be greatful if someone could point me in the right direction please..thank you.

  4. i have added these lines to my httpd.conf

    LoadModule php5_module "c:/Server/PHP/php5apache2.dll"
    AddType application/x-httpd-php .php
    PHPIniDir "C:/Server/PHP"

    and it dont seem to work...when i try to restart apache it says "operation failed" but when i remove those 3 lines its alright..and has no errors....can anyone please help on this matter?

    regards
  5. doesn't seem that you are closing your else brace, try this.

    [code]
    <?php
    if ($submit) {
      $tomail = "sales@phulldesigns.com";
      $replyemail = "sales@phulldesigns.com";

      $Name = $_POST['Name'];
      $EMail Address = $_POST['EMail Address'];
      $Telephone = $_POST['Telephone'];

      mail($tomail, "Masiv Studio's Form Queried", "An interested client with the ID:($REMOTE_ADDR,REMOTE_HOST,HTTP_USER_AGENT) has entered the following information with regards to an interest with Phull Designs and Masiv Studios.<br><br><b>Name:</b>$Name<br><b>E-Mail Address</b> $Email Address<br><br><b>Telephone:</b> $Telephone<br><b>, "Content-Type: text/html; charset=\"ISO-8859-1\"\nFrom:$replyemail\n");

      echo "The data entered has been sent to the Sales Team @ Phull Designs. Please allow up to 48 hours for a reply..";
    }
    else {
    ?></p>
            <p class="style5"><strong>Please Note:</strong> For security reasons, your IP will be sent. Please see our <a href="privacy.html">privacy policy</a> for more details. </p>
            <table width="71" border="0" align="right">
              <tr>          </tr>
            </table>
          </form>
          
          <table width="815" border="0">
            <tr>
              <td width="800" height="3"><img src="images/h-line.png" width="800" height="1" /></td>
            </tr>
          </table>
          <p class="style2"><span class="style4">Web</span> | <span class="style3">Links</span> </p>
          <p class="style1"><a href="http://www.masivstudios.com">Masiv Studio's</a></p>
        <p class="style1"><a href="http://www.phulldesigns.com">Phull Designs </a></p>
        <p class="style1"> </p></td>
      </tr>
      <tr>
        <td bgcolor="#CCCCCC"><div align="center"><span class="style1">| - © Copyright 2006 Phull Designs. All Rights Reserved. - | </span></div></td>
      </tr>
    </table>
    </body>
    </html>
    <?php
    } // close else brace
    ?>
    [/code]

    hope this helps...if it doesnt could you paste over the code for line 61.
  6. k thank you..but this is the mysql error im getting

    [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]
    ALTER TABLE `games` CHANGE `status` `status` ENUM( 1 ) NOT NULL DEFAULT '0'

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1) NOT NULL DEFAULT '0'' at line 1
    [/quote]
  7. k i have a field in my table but i want to know what type to set my news status as:
    have a field called "status" for my news

    either it should be a field that contains the value true or false ie. 0 or 1

    or on the other hand i could have the value "Active" or "Inactive"

    what field type would be the best for this and what would be the best way?

    thanks..how comeone can help me on my query
  8. i have apache on my computer and i want to find the ip to my server, so i can have my domain at ukreg located to my apache server....

     

    is this possible? help please?

     

    thanks destramic

  9. i did this:

     

    extension_dir = "C:\Program Files\Apache Group\Apache2\php5\ext"

     

    in my php.ini the when i restart i says unable to load

    C:\Program Files\Apache Group\Apache2\php5\ext\php_mysql.dll

  10. the only thing i can see in my php.ini is:

     

    ;extension=php_mysql.dll

     

    so i removed the semi - colon and not worked

     

    then when i restarted my apache it says it cans load the moduel

     

    destramic

  11. i have:

     

    apache 2.1

    php 5

    mysql 5.1

    phpmyadmin

     

    i have a probelm now with my phpmyadmin:

    cannot load mysql extension;

    please check PHP configuration

     

    can anyone help me please?

  12. ok i followed the tutorial and did what i said...

    i had already had apache and php working fine on it....but i cant get my MySQL Server 1.4 working.... can someone help...i still get a error on my page saying:

     

    Call to undefined function mysqli_connect()

     

    thank you destramic

  13. k i have my apache working with php5 as i wanted...but i cant seem to find a download for mysql for my apache....also i would like to have phpmyadmin...

     

    would anyone know where i could get this from?

     

    thanks destramic

  14. im currently running on windows....and im wondering if anyone knows somewhere simple i can learn how to configurate an apache server to my needs...

     

    i want a server with:

     

    php

    mysql

    phpmyadmin

     

    could someone please help me ?

     

    thanks destramic

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.