Search found 7 matches

by niallsc
Sun Jul 25, 2010 2:20 pm
Forum: PHP - Code
Topic: explode return false?
Replies: 7
Views: 1128

Re: explode return false?

awesome totally worked! just had to rework the files a little then it all went perfectly! thank you for all your help!
by niallsc
Wed Jul 21, 2010 1:10 pm
Forum: PHP - Code
Topic: explode return false?
Replies: 7
Views: 1128

Re: explode return false?

all i need is a true or false basically if the word was found in the file or not
by niallsc
Tue Jul 20, 2010 10:48 am
Forum: PHP - Code
Topic: explode return false?
Replies: 7
Views: 1128

Re: explode return false?

ok cool thanks for the help! now I am a super newb and I apologize for my ignorance but I was trying to use strpos but what was is happening is that I am trying to find a word in a list of words so with strpos if i am trying to find "to" it comes back with "toes" and other words ...
by niallsc
Tue Jun 15, 2010 11:44 am
Forum: PHP - Code
Topic: Fopen not working?
Replies: 8
Views: 767

Re: Fopen not working?

have you tried using file_get_contents($filename); ?
I ran into this same problem and when I used file_get_contents() it worked all the time.
by niallsc
Tue Jun 15, 2010 11:42 am
Forum: PHP - Code
Topic: explode return false?
Replies: 7
Views: 1128

explode return false?

What happens if the delimiter I use in the explode function isn't found? is there any way to check for the validity of what is returned from this function?
Thanks!
by niallsc
Thu Jun 10, 2010 1:46 pm
Forum: PHP - Code
Topic: Resource id's
Replies: 2
Views: 209

Re: Resource id's

You are amazing! file_get_contents did exactly what i needed! Thank you so much!
by niallsc
Thu Jun 10, 2010 1:14 pm
Forum: PHP - Code
Topic: Resource id's
Replies: 2
Views: 209

Resource id's

Hello, I will preface this question by saying that yes, I am a newb.... moving on though, I am trying to open a google search webpage and get the source code, pretty simple i thought... anyways every time I try it i get this weird "Resource id #6" or "Resource id #5"... Anyone kn...