Results 1 to 3 of 3

Thread: please help me......urgent..

  1. #1
    Join Date
    Nov 2004
    Location
    selangor
    Posts
    11
    Rep Power
    0

    Wink please help me......urgent..

    -----------------------------------------------------------
    //file name->pref.conf.php
    <?php
    $test['type']="mysql";
    $test['data']="not yet received";
    ?>
    ---------------------------------------------------------
    //file name-> conf.php

    <?php
    include "pref.conf.php";

    ?>


    <form action="conf.php" method="post">
    type: <input type="text" name="type" value="<?php echo $test['type'];?>"><br />
    data: <input type="text" name="data" value="<?php echo $test['data'];?>"><br />

    <input type="submit" name="submit" value="Submit" />

    </form>
    -----------------------------------------------------------------------

    my problem is how to change data at the pref.conf.php file using the html form .i have no idea how to apply the ( $test['type']=$_request['type'] ) to the conf.php file..please help me....
    -ariana zellina-

  2. #2
    Join Date
    Jun 2001
    Location
    Mystic Kingdoms
    Posts
    2,749
    Rep Power
    275
    it's about...
    fopen fwrite.
    also the chmod 777 option.

  3. #3
    Join Date
    Oct 2004
    Location
    Johor Bahru, Malaysia
    Posts
    41
    Rep Power
    0
    yea use fwrite function...

    check this site for info

    http://www.php.net/manual/en/function.fwrite.php

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP Web Developer (Urgent)
    By strongweb in forum Job Vacancies
    Replies: 0
    Last Post: 10-04-2007, 09:38 AM
  2. IT specialist - Urgent
    By perrydjie in forum Looking To Hire
    Replies: 0
    Last Post: 17-11-2005, 05:14 PM
  3. IT support (Urgent )
    By perrydjie in forum Looking To Hire
    Replies: 0
    Last Post: 14-11-2005, 11:29 AM
  4. URGENT Vacancies
    By debbieyss in forum Job Vacancies
    Replies: 0
    Last Post: 17-09-2005, 03:20 PM
  5. Urgent!!!!
    By Apai^Dorm in forum Website Programming
    Replies: 6
    Last Post: 02-04-2005, 03:42 PM

Posting Permissions

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

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

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