Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-11-2004, 10:31 AM
eina_227's Avatar
Novice Webmaster
 
Join Date: Nov 2004
Location: selangor
Posts: 11
Rep Power: 0
eina_227 is on a distinguished road
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-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-11-2004, 04:31 PM
mysticmind's Avatar
Super Moderator
 
Join Date: Jun 2001
Location: Mystic Kingdoms
Posts: 2,687
Rep Power: 145
mysticmind will become famous soon enough mysticmind will become famous soon enough
Send a message via Yahoo to mysticmind
it's about...
fopen fwrite.
also the chmod 777 option.
__________________
Personal's Blog! - Malaysian Artist!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-11-2004, 09:03 PM
YajivMalhotra's Avatar
Novice Webmaster
 
Join Date: Oct 2004
Location: Johor Bahru, Malaysia
Posts: 41
Rep Power: 0
YajivMalhotra is on a distinguished road
Send a message via Yahoo to YajivMalhotra
yea use fwrite function...

check this site for info

http://www.php.net/manual/en/function.fwrite.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IT specialist - Urgent perrydjie Looking To Hire 0 17-11-2005 05:14 PM
IT support (Urgent ) perrydjie Looking To Hire 0 14-11-2005 11:29 AM
URGENT Vacancies debbieyss Job Vacancies 0 17-09-2005 03:20 PM
Urgent!!!! Apai^Dorm Website Programming 6 02-04-2005 03:42 PM
URGENT !! help needed notiboy Mamak Stall 2 24-07-2002 08:52 PM


All times are GMT +8. The time now is 11:31 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

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