Results 1 to 3 of 3

Thread: A few questions about online stuff

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    221

    A few questions about online stuff

    1. How would i make it create files on my server? i assume that wouldn't be allowed since you could give a linkto microsoft and host it on their site but i know a bit of php which lets you create new files so if someone could tell me what to type to open a php file that'd be great.

    2. if you have accounts and they all have a seperate file, can you just say the name of a folder and it'll open all the files in that folder?

    3. if 1 file contains a username and a password on the line below, how would i make it say "if the username box [which we'll call text1] says the same as the top line and the password box [which we'll call text2] says the same as the second line then the next page [which we'll call form2] is enabled"?

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: A few questions about online stuff

    1) How are you accessing the server? FTP can't create files, it can only transfer existing files. You could write a PHP page that gets a file name from your program and creates the file on your server.

    On the other hand, if your program is running on the server, and has the permissions needed, it can just open the file for output. If the file doesn't exist, opening it for output creates it.

    2) If the account you're currently logged into has access to, and a path to, the folder yes. Otherwise no.

    3) If <text1 - in whatever it is, a variable, a textbox ...> = <text2> then form2.Show

    (Whether you'd actually use "Show" depends on what you mean by "enabled".)

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    221

    Re: A few questions about online stuff

    1. how do i mkie sure it has the permissions needed?

    2. how do i do that then?

    3. that's not the answer i was looking for, i mean i want it to do this to a file. and by enabled i meant visible and text1 is a textbox.

Posting Permissions

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



Click Here to Expand Forum to Full Width