InsaNityeah Posted February 20, 2008 Share Posted February 20, 2008 Hey.. can somone please help me... I need my PHP script to open and read a file ( xX.txt ) and get a variable from that file ( $xX ) then it must open and read a further few files within the range between ( 0 and $xX ) and once they have been opened and read the files must be sorted and if any have a value of 0 or less they must be ignored but if they have a higher value than 0 they must be noticed... PLEASE PLEASE Neeed HELP ASAP!!! Quote Link to comment Share on other sites More sharing options...
revraz Posted February 20, 2008 Share Posted February 20, 2008 Would help if you posted your code that you have already. Quote Link to comment Share on other sites More sharing options...
InsaNityeah Posted February 20, 2008 Author Share Posted February 20, 2008 is it possible for the script to read multiple files with the "fopen" and "fread" function ??? Quote Link to comment Share on other sites More sharing options...
revraz Posted February 20, 2008 Share Posted February 20, 2008 Sure, just reference the right resource handle. Quote Link to comment Share on other sites More sharing options...
InsaNityeah Posted February 20, 2008 Author Share Posted February 20, 2008 say i wanted to open all files with the filenames 0.txt to say 10.txt Quote Link to comment Share on other sites More sharing options...
InsaNityeah Posted February 20, 2008 Author Share Posted February 20, 2008 anyone know the correct resource handler?? Quote Link to comment Share on other sites More sharing options...
PHP Monkeh Posted February 20, 2008 Share Posted February 20, 2008 When you open them what exactly do you want to do? Output them to the web browser or make changes? Quote Link to comment Share on other sites More sharing options...
InsaNityeah Posted February 21, 2008 Author Share Posted February 21, 2008 Nah i want flash to read and display all of the files that have values bigger than 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.