Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 41

Thread: General Knowledge

  1. #21
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    No — in fact, as we've just seen, it'll always be a string.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  2. #22
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Is there a command to make a html file like mkdir? I know wordpress does it and other cms's but I don't want to go threw all those files or if someone know's what file actually does the work in a free cms program that i could look through. Thanks for any ideas on this one as well.

  3. #23
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You want to make a directory? Yes, it's called mkdir().
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #24
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    No make an html file or a text file from php only like the mkdir() but maybe mkhtml()? mktxt()?

  5. #25
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    How about fopen()?
    Jeremy | jfein.net

  6. The Following User Says Thank You to Nile For This Useful Post:

    bluewalrus (02-18-2009)

  7. #26
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    That hasn't worked for me. I don't know if thats cause I'm on php4 or for another reason.

  8. #27
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Install PHP5.
    Jeremy | jfein.net

  9. #28
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    my server wont or can't install it for me until I buy another plan and then they said they will have to take my sites down for 2 weeks at the most.

  10. #29
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Your host sucks — get another. PHP4 shouldn't really be supplied with any plans any more, especially as the only option, and a transfer to another plan should not result in downtime if done properly.
    No make an html file or a text file from php only like the mkdir() but maybe mkhtml()? mktxt()?
    A file is a file is a file, unless it's a special file. A directory isn't a file, though. The only difference between a text file, an HTML file, and a JPEG file is what you put in it.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  11. The Following User Says Thank You to Twey For This Useful Post:

    bluewalrus (02-18-2009)

  12. #30
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Any recommendations for servers? I have ix webhosting right now and I have 3 domains on it. There's about 1gb of space used.

    So the fopen should work once i get php5?

Bookmarks

Posting Permissions

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