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!
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...
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 =...
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...
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
Helloooooooooooooo people!
I have a problem with my IF condition.....the code is within a while loop:
if ($file >= $date) {
include("results/$file");
}
The above works fine, however, when i change the condition from '>=' to '<=' the browser returns error message:
'input in flex...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.