A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Flash Blog

  1. #1
    Senior Member
    Join Date
    Aug 2004
    Posts
    130

    Flash Blog

    I have a flash blog that works fine except it adds new entries to the end of the txt file. I would like it to add it to the beginning of the file. The blog uses PHP. It's not as easy as changing the parameter from "a+" to "r+". I already tried that. The problem is the following text "&result=okay&entries=" has to be present at the beginning of the txt file for the update to be successful. I have the Fla, PHP file and the txt file in a zip on my server:

    http://www.chasingerections.com/blog.zip

    If anyone has a moment to take a look at it and tell me what I need to do to get it working right I would greatly appreciate it. I've been trying to resolve this situation for quite a while now. Thank you.

  2. #2
    See-n-reMember azwaldo's Avatar
    Join Date
    Mar 2003
    Location
    Sonoran Desert
    Posts
    745
    howdy laidback,
    looked at the PHP file. could you read the existing blog file into a variable, then concatenate the new entry and the old blog file, in that order?

    see this page for concatenation order.

    hth
    __azwaldo__

  3. #3
    Senior Member
    Join Date
    Aug 2004
    Posts
    130
    Wow, intense. Thanks. I'm going to try it out and report back the results. I really appreciate your time. Thanks again.

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

HTML5 Development Center