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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jayne1

    Amending a file

    hi guys, I'm trying to amend a text file so that the new text is placed at the beginning of the file without losing the original text. I thought i had figured it out using a combination of "aw" modes with fopen .....but this only writes to end of the file! PLEASE HELP!
  2. jayne1

    Warning Message

    Hi all (...just luv this site!) I have a script which deletes selected files.....it works fine except everytime i delete something it comes up with this warning message on the web browser:- Warning: Unlink failed (Is a directory) in httpd/html/form_del.php on line 7 Anyone have an idea as to...
  3. jayne1

    reading from a file

    THANKS FOR THE ADVICE GUYS, BUT........... I can't use 'include' tag because the data is not in complete html format. I have tried using the substr function to print the required line but with NO luck! - here's my code: $fp=fopen("results/file", "r"); $matchdate =...
  4. jayne1

    reading from a file

    Hi everyone, Here's my problem.....I am would like to open a file for read using fopen (the text file contains info within <td> </td> tags). How can i open the file and then print the contents to the web browser.......does that make sense?? if not please let me know!! your help is greatly...
  5. jayne1

    File exists??

    Thanks alot 'piti' your solution worked like a dream......just luv this site!!
  6. jayne1

    File exists??

    Hi there! How can I set a condition that checks if a directory is empty i.e. files don't exist then take the appropriate action........pardon my ignorance!! xxx Jayne
  7. jayne1

    If statments

    Helloooooooooooooo people! I have a problem with my IF condition.....the code is within a while loop: if ($file >= $date) { include(&quot;results/$file&quot;); } The above works fine, however, when i change the condition from '>=' to '<=' the browser returns error message: 'input in flex...

Part and Inventory Search

Back
Top