Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: devilpanther
  • Order by date
  1. devilpanther

    Perl script and SSI...

    thanks i will
  2. devilpanther

    Perl script and SSI...

    1DMF, isn't there any way I can make the web server to treat my perl script as an SSI?
  3. devilpanther

    Perl script and SSI...

    how many of this can I use per script?
  4. devilpanther

    Perl script and SSI...

    Here is what I'm trying to do: I have the main script to display pages from the database: index.cgi And I would like from now and then to be able to add another script output to that index.cgi... like a counter for example, but without changing the index.cgi So like index.cgi displays a page...
  5. devilpanther

    Perl script and SSI...

    PaulTEG can you please explain, what do you mean by 1? 1DMF, my web site is database based: http://www.bloodware.tk I have to display everything from the script first... Is there somesort of perl module that can help me with that instead? Thanks again
  6. devilpanther

    Perl script and SSI...

    I know in order to execute a script with SSI I need the calling page to end with .shtml But what if I have a perl script displaying html, can I in some way call from that html (inside the perl script) to SSI? Or is there some other way I can embed printed value of other script into my perl html...
  7. devilpanther

    Weird matching problem...

    Well... no you're right, the g is the problem. Thank you so much.
  8. devilpanther

    Weird matching problem...

    I can't do the code as you suggested, because !about is just an example, I have more commands to match. As for the g, I really don't think it's the problem, because I removed it and the i as well, and still i get the same result.
  9. devilpanther

    Weird matching problem...

    if ($data =~ /\!/ig) { if ($data =~ /\!about/ig) { print "1"; } } The above code is acting very weird; The idea is simple, to match if the string $data contains a ! char, if it is, match a command: !about But when the code is running, the first match is successful, but the...
  10. devilpanther

    Sockets and Hex?

    You were right, pack did the trick:$char = pack('c', 0x22); Thanks.
  11. devilpanther

    Net::Telnet question?

    Can you please explain to me how the Prompt=>'' works? what am I matching?
  12. devilpanther

    Net::Telnet question?

    I don't really see how that helps... the cmd already does it by itself, no? Is it possible that the Prompt => '' needed to be adjusted? to detect --MORE-- ?
  13. devilpanther

    Net::Telnet question?

    I'm trying to use the Net::Telnet but I have a small problem. I connect the server and send a command. The server receives the command and sends me the output. The thing is, because the output is not complete but has a: --MORE-- at the bottom is makes the @lines = $telnet->cmd("show port...
  14. devilpanther

    Sockets and Hex?

    I want to send over a socket non-readable chars, for example: 0x01 So I treid to do the next: print $sock 0x01; But it's not working right, the char being sent is not the one I want... it's just random junk at best. Is there a special way to send hex values over sockets?
  15. devilpanther

    switching problem...

    got it, thank you.
  16. devilpanther

    switching problem...

    can you also explain,char by char the [^\]]* because that's my real problem... thank you.
  17. devilpanther

    switching problem...

    can you please explain the \]*)\] because i still don't really understand it... what is each char do? thank you.
  18. devilpanther

    switching problem...

    well i found the problem, but i don't know how to fix it... the problem is with the < > it creates some sort of weird collition with something, i guess... any ideas? the output of: abcbc is abc<img src=a.bmp]bc instead of: [code]abc<img src=a.bmp>bc<img src=b.bmp>
  19. devilpanther

    switching problem...

    i have a text input that contains tags, that i want to exchange with <IMG SRC=>. i tried the next code but it doesn't really work: $msg =~ s/\/\<IMG SRC=$1\>/g; why does it work the way to should?
  20. devilpanther

    Passing arrays to sub

    thank you

Part and Inventory Search

Back
Top