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 TouchToneTommy 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: MAWarGod
  • Content: Threads
  • Order by date
  1. MAWarGod

    strip html

    <script type="text/javascript"> $('document').ready(function(){ var url = '<?php echo $_SERVER['PHP_SELF'];?>'; var timestamp = 0; var interval = 5000; var first = true; $('#formChatForm').bind('submit'...
  2. MAWarGod

    Chat Quest2

    the other day I was searching for a examples and I came across a old thread I started trying to make a chat script.. http://tek-tips.com/viewthread.cfm?qid=1457024 The thread was closed so I couldn't ask My question there.. in the thread jpadie shared a script with me.. ChatRoomServer.php...
  3. MAWarGod

    AJAX , jquery, Multi-Level Comments narrow results per page and replys

    Hi I have been working with a script I found on a tutorial. I would like to learn how to limit the parent posts per page.. and use a collapsed link to the reply after 3.. I have attached the script, I did find a tutorial that was more or less just a source code using livejquery.. but I can not...
  4. MAWarGod

    how much info can you get out of IP address in php?

    How do I get the country, state, city, latitude, longitude, ZIP code, and timezone in PHP from the IP address. Now I guess My question here comes out of the hours I spent looking over the wed, for a free script I could maybe mod to fit my needs, or the many, many requests out there for a...
  5. MAWarGod

    array email selection?

    Hello I have a array I made in My CMS lang file that looks like this $lang['easy_email_signups'] = array( '' => 'F', '@hotmail.com' => 'Yahoo', '@yahoo.com' => 'TracFone', '@aol.com' => 'AOL', '@live.com' => 'Windowslive', ); ok in the tpl file I have <input class="textinput"...
  6. MAWarGod

    chat spawn script

    Ok I have come up with a file that looks like this kajira.cfg <center><b><font color=#FFFFFF>ermm:<center><b><font color=#FF0000>fall out of a wagon passing the camp, bond and gagged.. <center><b><font color=#FFFFFF>lotus:<center><b><font color=#FF0000>was handed her papper and set free...
  7. MAWarGod

    trying to redo a old chat

    Over the years I have tried to come up with a way to create a chat interface like in perl this chat would use two or more frames the picture above showing the banner frame or top input frame the lower frame would be the out put frame.. Now in many threads I have started some basic codes and...
  8. MAWarGod

    PDO driver not available

    <?php $chat = new chats; class chats{ private $pdo = null; private $timestamp = 0; private $action; private $db = 'mydbh'; function chats(){ $this->timestamp = time(); if (!file_exists($this->db)){ $this->pdo = new PDO ('mysql:host=localhost;dbname=mydbh', $user, $pass)...
  9. MAWarGod

    a chat quest...

    is it possible to do a chat interface like above in PHP? if so how would I get started? I have been trying to build this type of chat for years.. in perl or cgi but can not get the features I want.. So that I am very new to php I ask if this can be done? MA WarGod I believe if someone can...
  10. MAWarGod

    New to php

    I am trying to make a functional skeleton of a web based chat server with php Using a basic framework for this concept and functions. I haven’t been able to find any open source programs like this that showed the concept on how to stream real time data into the browser like the web based chat...
  11. MAWarGod

    Help??? a good deal of questions

    #!/usr/bin/perl # open messages open (MSG, "messages.txt"); my @lines = <MSG>; @lines = reverse @lines; close (MSG); chomp @lines; print "Content-Type: text/html\n\n"; foreach my $line (@lines) { my ($ip,$user,$password,$user_stripped,$cc,$rr,$his,$np,$ver,$timestamp,$msg) = split(/:::/...
  12. MAWarGod

    turning images on and off

    sub HtmlFilter { local($filter) = @_; # # The following filters the HTML images # out, if they are disallowed. The code # after this, filters out all HTML if it # is disallowed. # if ($no_html_images eq "off") { $filter =~ s/<(IMG\s*SRC.*)>/&LT;$1&GT;/ig; } # End of parsing out no images...
  13. MAWarGod

    stripping or taking out html code string from a file

    I have a dir I need open and open all files with the extension .who these file contain username email web-url time and date logged on showin below Myfile.who <img src= http://www.freespaces.com/realitygonewild/wg1.jpg align=left><center></img><br><center><FONT FACE=garamond><FONT COLOR...
  14. MAWarGod

    $in (inroom) in a drop down menue?????can it be done?

    sub FindOnline{ dbmopen(%li,"$htmlpath/login",0644); my $time = time; $li{$cookie{'CHATUSER'}} = $time; foreach $i (keys %li){ $mt = $time - $li{$i}; ($mt < ($refresh * 2))?((push(@occ,$i))&&($uo++)):(($uol=1)&&(delete($li{$i}))); } dbmclose %li; &cuol; $in{'inroom'} = join(" | ",@occ); }...
  15. MAWarGod

    can You use cron to delete a file

    can You use cron to delete a file say every half hour? MA WarGod I believe if someone can think it, it can be programmed
  16. MAWarGod

    question in

    sub ShowHeader{ $in{'m'} = 'Enters Room'; &WriteToChat; &PageOut("$htmlpath/t_chat_banner.htm"); exit; } ok how do I make $in{'m'} = 'Enters Room'; to read from a file a one line file. so if I wanted to edit "Enter Room" to "walks in" from a page. I know how to open the file and edit it. but...
  17. MAWarGod

    how to stream real time data into the browser

    I am trying to make a functional skeleton of a web based chat server with perl/cgi Using a basic framework for this concept and functions. I haven’t been able to find any open source programs like this that showed the concept on how to stream real time data into the browser like the web based...
  18. MAWarGod

    a command You give to remove window editer code for Unix or linux?

    a command You give to remove window editer code for Unix or linux? I remember learning it once something where the script name is but I have not delt with scripts in about 2 years and I totaly forget Thank You MA WarGod I believe if someone can think it, it can be programmed
  19. MAWarGod

    a command You give to remove window editer code for Unix?

    a command You give to remove window editer code for Unix? I remember learning it once something where the script name is but I have not delt with scripts in about 2 years and I totaly forget Thank You MA WarGod I believe if someone can think it, it can be programmed
  20. MAWarGod

    opening and searching files within a Dir

    # Get file Count # $total = 0; $dirname = "/MY/DIR"; opendir(DIR, $dirname); while (<DIR>) { Now where do I go from here to search each doc or txt file for names or quotes within them? MA WarGod I believe if someone can think it, it can be programmed

Part and Inventory Search

Back
Top