![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
Regular Coder ![]() Join Date: Feb 2006
Posts: 262
Thanks: 23
Thanked 1 Time in 1 Post
![]() |
Good day to you all,
stupid as it sound, all the thing that I have tried to match a variable into a text file and execute according to it result. PHP Code:
|
|
|
|
|
|
PM User | #2 |
|
Senior Coder ![]() Join Date: Nov 2007
Location: Arkansas
Posts: 2,590
Thanks: 29
Thanked 323 Times in 319 Posts
![]() ![]() |
You're using strpos incorrectly. The first argument is a string. Giving a filename doesn't make it magically open the file. You'll need to take a look at fopen, fgets (or fread), or maybe others (file, file_get_contents, et cetera).
__________________
If your question can be typed into the Google search box, you haven't yet done enough research. [A]bort, [R]etry, [F]ail? Are you a Help Vampire? |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|