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!!! Link to comment https://forums.phpfreaks.com/topic/92164-help-please-i-cant-seem-2-get-it/ 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. Link to comment https://forums.phpfreaks.com/topic/92164-help-please-i-cant-seem-2-get-it/#findComment-472084 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 ??? Link to comment https://forums.phpfreaks.com/topic/92164-help-please-i-cant-seem-2-get-it/#findComment-472086 Share on other sites More sharing options...
revraz Posted February 20, 2008 Share Posted February 20, 2008 Sure, just reference the right resource handle. Link to comment https://forums.phpfreaks.com/topic/92164-help-please-i-cant-seem-2-get-it/#findComment-472088 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 Link to comment https://forums.phpfreaks.com/topic/92164-help-please-i-cant-seem-2-get-it/#findComment-472093 Share on other sites More sharing options...
InsaNityeah Posted February 20, 2008 Author Share Posted February 20, 2008 anyone know the correct resource handler?? Link to comment https://forums.phpfreaks.com/topic/92164-help-please-i-cant-seem-2-get-it/#findComment-472138 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? Link to comment https://forums.phpfreaks.com/topic/92164-help-please-i-cant-seem-2-get-it/#findComment-472143 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 Link to comment https://forums.phpfreaks.com/topic/92164-help-please-i-cant-seem-2-get-it/#findComment-472564 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.