Jump to content

mrmagoo_83

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Contact Methods

  • MSN
    mrmagoo_83@hotmail.com

Profile Information

  • Gender
    Not Telling
  • Location
    Fort Worth. Tx

mrmagoo_83's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks so much. I got it to work great.
  2. #!/usr/bin/perl $search = "dark"; $lines_of_file = file('http://63.210.148.20/63.210.148.20/CL-Current.html'); foreach ($lines_of_file as $line) { if (strstr($line, $search)) {   echo $line; } } However, I get an internal server error, any thoughts?
  3. Fread stuff? I am not sure what you are referring to, however, the rest of your code was what I was examing earlier, or at least something similar. Now my other question is how the heck do I get this to execute on my webpage, lol, like I said I am newbish to all this, I usually deal with editing prexisting php code and such.
  4. Nope, I just figured php since it was something I had seen RSS/XML parsers before. Any suggestions on how to do it in Perl?
  5. Ok, I know hardly anything about php code, but I have worked with it a little. I have an html log file that is a compilation of chat events on our server. I need to create a script that will evaluate the log file, and return entire lines that contain certain strings. We are examing the log file for rule violations. ex. [code]<tr><td>[08/08/2006 04:43:37]</td><td><FONT color="#254117">[P.A.K]DarkPrince</FONT></td><td><FONT COLOR="#000000">[DEFENSE] :D</FONT></td></tr> <tr><td>[08/08/2006 04:44:18]</td><td><FONT color="#FF0000">[P.A.K]DarkPrince</FONT></td><td><FONT COLOR="#000000">[DEFENSE] :D:D:D</FONT></td></tr> <tr><td>[08/08/2006 04:44:19]</td><td><FONT color="#254117">SentinalAtArms</FONT></td><td><FONT COLOR="#000000">[ASSAULT] :D</FONT></td></tr> <tr><td>[08/08/2006 04:45:28]</td><td><FONT color="#FF0000">[P.A.K]DarkPrince</FONT></td><td><FONT COLOR="#000000">[DEFENSE] camper:(</FONT></td></tr>[/code] I want the script to run such that if I search for "Dark" I would get the return of: [code]<tr><td>[08/08/2006 04:43:37]</td><td><FONT color="#254117">[P.A.K]DarkPrince</FONT></td><td><FONT COLOR="#000000">[DEFENSE] :D</FONT></td></tr> <tr><td>[08/08/2006 04:44:18]</td><td><FONT color="#FF0000">[P.A.K]DarkPrince</FONT></td><td><FONT COLOR="#000000">[DEFENSE] :D:D:D</FONT></td></tr> <tr><td>[08/08/2006 04:45:28]</td><td><FONT color="#FF0000">[P.A.K]DarkPrince</FONT></td><td><FONT COLOR="#000000">[DEFENSE] camper:(</FONT></td></tr>[/code] It doesn't have to be caps sensitive, and the return page would actually be in html so I would see the tags, but just the wording. Can anyone help me even start to understand to how to begin this script.
  6. lol, I got it all figured out about a week ago, it just needed a little convincing to work.
  7. I have created a form for making a list, kinda like an RSVP list. What I have is 10 Test Fields, and next to each text field is a set of Radio Buttons with text. Each Radio button is labled, Definately, Maybe, and Remove. What I am wanting to happen is for the visitor to place his/her name in the text field, select a radio button, and then hit submit. Upon Submit, the text fields go away, and the text field in which his/her name was typed is there (instead of a text field). How do I do this without needing a script?
  8. I am trying to turn my crappy file server into a system on which I can play with PHP and stuff, no outside access. I set up the domain stuff as my LAN Address for that computer, is that right? Anyway, thats not the big problem. When I install Apache and it brings up the DOS window, it locks up the machine, never finishes the install. I have tried this with multiple Apache downloads. I also found out that I have two Apache service running in task manager that I cannot get rid of, I haven\'t tried booting up in safe mode to get rid of them, but will do that here in a second. Can anyone give me a clue, other than \"Thats just windows\", as to what I can do?
  9. Ok I am no expert here at all, heck I came here looking for answers. On my page I did what you are asking via layers. This may not be the best way, so I am open to suggestions as well. What I did was did a mouseover command that made a layer appear (the one with the bigger image), and another one kinda behind those that had a transparent image that I used a mouseover command to make the big picture disappear. Worked for me, but my pictures are all static at the moment. They are always in the same spot on the webpage.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.