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

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 20-04-2005, 11:05 AM
Novice Webmaster
 
Join Date: Feb 2003
Location: JB
Posts: 26
Rep Power: 0
koisempoi is on a distinguished road
Send a message via Yahoo to koisempoi
Write To A File

Actually i know the function but i dont know how to use it.as i know the function is fopen,fwrite and fclose. Can anyone show me example on how to write $code="ayam"; into activation.php file ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 20-04-2005, 02:03 PM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 116
lcf will become famous soon enough
Send a message via ICQ to lcf Send a message via MSN to lcf Send a message via Yahoo to lcf
you can actually refer to the PHP manual for the example of using the functions.
Link: http://www.php.net/manual/en/index.php
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-05-2005, 12:28 PM
Inspired Webmaster
 
Join Date: Feb 2004
Location: Shah Alam
Posts: 175
Rep Power: 60
hftey is on a distinguished road
Send a message via ICQ to hftey Send a message via MSN to hftey Send a message via Yahoo to hftey Send a message via Skype™ to hftey
Quote:
Originally Posted by koisempoi
Actually i know the function but i dont know how to use it.as i know the function is fopen,fwrite and fclose. Can anyone show me example on how to write $code="ayam"; into activation.php file ?
is there a reason that you want to write "$code="ayam"; into a php file? your activcation.php is already a scripting file and you can do any algorithm with php, i doubt you need to actually do a file writing in this case.
__________________
Venzon Solution Services
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-05-2005, 06:15 PM
Novice Webmaster
 
Join Date: Feb 2003
Location: JB
Posts: 26
Rep Power: 0
koisempoi is on a distinguished road
Send a message via Yahoo to koisempoi
Activate

Actually i want to make activation function where user can close the system and assign an access code to reactivate the system. i dont want to make a database table. so the system will read the activation code from the php file.i can create the file but when i want to enter the new code, the file have to be clear and then i have to write $code="<new code>" again.
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
Freelance write for article re-write project neverknow1 Looking To Hire 3 07-10-2007 10:55 AM
Write a Slogan, Win a Tee Shirt TheEditor Other Webmaster-related Services and Promotion 0 23-12-2006 01:26 AM
How to write a privacy statement ? lcf Mamak Stall 2 27-04-2005 10:30 AM
cammane nak berinteract ngan cgi or ngan any file eg. text file nos Website Design 7 12-08-2002 11:30 AM
Write Secure Scripts with PHP 4.2! tedbundyjr Website Programming 3 18-05-2002 08:47 PM



All times are GMT +8. The time now is 04:17 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