Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by KnightWolfJK

  1. KnightWolfJK

    PHP form to create text file

    Thanks vbkris, that worked like a charm. And thanks also to sleipner214 for the operators guide. Hadn't quite gotten that far yet in the man
  2. KnightWolfJK

    PHP form to create text file

    I've had success with $field[1] = $HTTP_POST_VARS['sku']; //..snipped..// $field[16] = $HTTP_POST_VARS['keywords']; $delimiter = "|"; $handle = fopen ("file.txt", "w"); $output = implode($delimiter, $field); fwrite($handle, $output); fclose($handle); But now I'm...
  3. KnightWolfJK

    PHP form to create text file

    No, $field1 is the text from the form on the previous page... Okay, wait... Use the form to add variables to an array, then write the whole array to the text file... Catching on slowly. Hang on, let me see if I can work this out. For what it's worth, I looked for the noob board. =0)
  4. KnightWolfJK

    PHP form to create text file

    I pretty much have the file writing part down... and passing the variable from the form... I'm stuck on combining the form variable with the delimiter, though. I have $field1 = $HTTP_POST_VARS['text']; $delimiter = "|"; $handle = fopen ("file.txt", "w"); $output =...
  5. KnightWolfJK

    PHP form to create text file

    Okay, firewall shut off, search working. Sorry, jackass I is says I
  6. KnightWolfJK

    PHP form to create text file

    Nope, still zero results. Have u searched this forum?
  7. KnightWolfJK

    PHP form to create text file

    A search for "delimited" returned 0 hits, thus the post.
  8. KnightWolfJK

    PHP form to create text file

    Can anyone point me to an example or tutorial on creating a PHP form that will create a delimited txt file and place it in /folderX? For example, filling out the form would create file.txt that would look like: entry_one|entry_two|entry_three I need to support spaces and puncuation in some...

Part and Inventory Search

Back
Top