Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

How To Read And Write Files Using Php


23 replies to this topic

#21 GaiaZone

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 25 posts
  • Gender:Male
  • Location:PR

Posted 12 January 2008 - 12:40 AM

Great!

You see, after I read this I questioned myself if this could be used to create new pages on a website, apparently, it is possible.

For example, you have a member register for your site, lets say a Blog site, and when they confirm the account a new page will be written and saved to be used as his "Blog Page".

I'm not sure if this is the most efficient way to do this or not, but it might just work. :)

#22 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 18 September 2009 - 02:55 PM

how to save data input to a xls or txt fileHow To Read And Write Files Using Php

Hi all,

I am new to php. I just created this html page

<html>

<body>

<form name="input" action="form.Php" method="post">Username:<input type="text" name="user" /><input type="submit" value="Submit" /></form>

</body>

</html>

All I want is whatever the data I enter in that form field, it should get saved in a xls or txt file on my local hard drive.  Is it possible? Please help. 

-reply by Mohan

#23 Soviet Rathe

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 426 posts
  • Gender:Male
  • Location:Illinois USA
  • myCENT:88.04

Posted 08 May 2010 - 06:08 AM

Very nice, I've been curious to know how to read/wright to files. bookmarked for further use.

#24 abazi16

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 38 posts
  • Gender:Male
  • Location:Kosovo
  • myCENT:52.38

Posted 09 May 2010 - 11:28 AM

Ey thanks for this tutorials . I'm looking forward to learn PHP but I don't have much time 'cause I must go to school :S, however you tutorial helps me to keep up and when I start intensive training I will read all your posts :P :)




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users