Jump to content

R_P

Members
  • Posts

    98
  • Joined

  • Last visited

    Never

Posts posted by R_P

  1. This is a browser chat that works with current Gecko, Trident, KHTML and WebCore based browsers. I've not tested or checked for compliance with Opera or the Presto layout engine.

     

    I've done my best to emulate IRC technology, meaning there is no page flickering and little latency (low response time) between your chat and my server. The chat includes a message window and user list. You will see your text immediately after you send it. You are automatically logged in when you enter the chat and logged out when you close the chat window. A chat-bot monitors room activity and returns critical messages. The load on my server is relatively low per-user.

     

    The link below will take you to my website were you will see another "open chat" link. Clicking "open chat" will open a pop-up which will prompt you for a username. You can choose any username you like. When you're done chatting, just close the chatroom window and you will be automatically logged out. The logout button doesn't work yet.

     

    Make sure you tell me how it went. What kind of response times you got and if the chat lagged (stuttered) and how I can improve. Feel free to email or message me with questions. If you see username roddzilla, it probably means I'm in the room working on it. Without further ado:

     

    Chat Room Alpha Release

     

    Also new IRC commands include:

     

    /auth {password} - makes you a moderator

    /op {username} - makes username a mod (mods only)

    /deop {username} - takes mod priveleges away from username (mods only)

    /kick {username} - kicks username out of the chatroom (mods only)

    /authstate - returns 1 if your a mod, 0 if not (mods also have gavel next to their username)

    /nick {new} - changes your username to {new} value (mods can't do this)

    /getnick - returns your original session nickname in case you've forgot it

    /welcome - redisplays the welcome message

    /help - displays options

     

    If you're serious about testing it, message me and I'll give you the /auth password. Although its not really fun until there are others in the chat with you just asking for a good swift kick. Also, tell me what other functions you think are essential to IRC so I can include them.

  2. I am running Windows 2K Server and was having trouble accessing network shares with apache. I've mapped a drive letter to the particular share, and have given the apache service the user account which accesses the share. I have tried both creating an alias using the network drive and a virtual host using the network drive as the document root. In both instances I receive a 403 Forbidden error (you do not have permission to access /dir/ on this server).

     

    My best guess is I'm missing a Windows permission error somewhere - though I've been through the permissions on the Apache machine and shared machine. Anyone else encounter this issue? Has anyone been able to do this successfully?

     

    Ryan

  3. I saw you guys try to log in while I was working on it earlier. Sorry! It won't do that again! Yes, and I also thank god for "restore session" in FF.. :) i can't tell you how many times I've had to use it just coding this app.

    Also new IRC commands include:

    /auth {password}    - makes you a moderator
    /op {username}      - makes username a mod (mods only)
    /deop {username}    - takes mod priveleges away from username (mods only)
    /kick {username}    - kicks username out of the chatroom (mods only)
    /authstate              - returns 1 if your a mod, 0 if not (mods also have gavel next to their username)
    /nick {new}            - changes your username to {new} value (NOT WORKING YET)

    If you're serious about testing it, message me and I'll give you the /auth password. Although its not really fun until there are others in the chat with you just asking for a good swift kick. :D Also, tell me what other functions you think are essential to IRC so I can include them. Thanks for all the help so far!
  4. I've been working on chat related technology as part of my job and am releasing a version I personally developed on my website soon. Unfortunately to really stress-test a chat room, you need lots of people using it at once.

    This is a browser chat that works with current Gecko, Trident, KHTML and WebCore based browsers. I've not tested or checked for compliance with Opera or the Presto layout engine.

    I've done my best to emulate IRC technology, meaning there is no page flickering and little latency (low response time) between your chat and my server. The chat includes a message window and user list. You will see your text immediately after you send it. You are automatically logged in when you enter the chat and logged out when you close the chat window. A chat-bot monitors room activity and returns critical messages. The load on my server is relatively low per-user.

    The link below will take you to my website were you will see another "open chat" link. Clicking "open chat" will open a pop-up which will prompt you for a username. You can choose any username you like. When you're done chatting, just close the chatroom window and you will be automatically logged out. The logout button doesn't work yet.

    Make sure you tell me how it went. What kind of response times you got and if the chat lagged (stuttered) and how I can improve. Feel free to email or message me with questions. If you see username roddzilla, it probably means I'm in the room working on it. Without further ado:

    [url=http://www.roddzilla.com?page=chat]Chat Room Alpha Release[/url]

    Edit: I just saw the Beta Testing Forum (I swear that's new) and am thinking that would be a better home for this post. If one of you mods or admins would like to move this, I wouldn't hold it against you. Thanks.
  5. Initially... plain, but not bad. CSS vs. Tables at this point is trivial as long as your code validates. You could however use CSS to achieve the same rollover effects Javascript performs on your menu but a lot easier.

    I would try spanning the bar under your menu to the full width of the page and centering your page title if you go that route. At this point I would also get rid of the google search, or place it at the bottom of the page, out of the way if you actually need it.

    I might also try to incorporate one more color or visual element to compliment the greens on the page. It will really make everything pop.

    Good luck!
  6. Wow.

    There are lots of colors - reds, blues, purples, greens... etc. which don't seem to serve a purpose. Color defines space, catches the eye and creates/diminishes importance of elements on a page, etc. Try picking just two (or three max) that compliment each other and work within those colors and their gradients to create a unified color scheme.

    There are too many graphical elements competing for attention. I see a marine logo, circuit board, site logo, big purple areas, icons, etc. Try choosing just one theme to start with. Tone down your big purple areas. That login box, and menu are just plain imposing - IMO, subtle gradients are better than big obnoxious ones.

    As far as structure goes what you have seems alright. Implementing liquid design is harder than keeping it static. Try to match all your text fonts, I see some times and tahoma in mixed up in there. Also, are all the ads REALLY necessary? Do they generate enough revenue that its worth taking up all that valuable page real-estate? Ads generally detract from the quality of your page, but thats for you to decide.

    Good job on being XHTML compliant. Make sure you continually check that as you update the site.

    Good Luck!
  7. But wouldn't that accomplish the same thing? I understand in principle it isn't, but technically disabling protection is the same as authenticating. And you would only be disabling .htaccess on a per-user, per-session, per-directory (potentially) basis.

    On another note take a look at this. I think this maybe closer to what you're looking for:

    [url=http://us2.php.net/features.http-auth]HTTP authentication with PHP[/url]
  8. jwk, you're going to need at least a basic knowledge and understanding of JavaScript and the XMLHttpRequest element to make an AJAX chat. I am working on a flat-file based Ajax chat [url=http://ryan.crawford.com]here[/url] (second link from the bottom on that page).

    What I did was initiate the request element every time the form was submitted or enter key pressed. The request sent the line of chat to a PHP script which writes it too a flat file, while a different request element checks the flat file for changes. If a change happened, a line difference calculation occurs and PHP returns all lines submitted since the last change.

    If you want to circumvent the AJAX process, just split a page into two frames. In one frame, make a page that auto or meta-refreshes at a set interval, and in the other frame, create a basic form that posts information to a database whose action property is itself. Thats about as basic as PHP applications get.
  9. Your cams, depending on their capability should have that sort of feature built-in. You may need a third party streaming server to do the streaming to the web, which would be a very tall order to create, even for someone with a lot of programming experience. You can use PHP to build your website around the streams, thats fine, but not to control the streams themselves.

    Also, for those of you who have never used it, PHP has a very [url=http://us3.php.net/manual/en/features.commandline.php]comprehensive CLI[/url] (Command Line Interface) and I've written a number of very efficient (and stable) daemons including listeners and chat bots using PHP on the command line.  Using [url=http://gtk.php.net/]PHP-GTK[/url] you can even write your own client software using PHP which is also little-known to PHP developers.
  10. One way to get PHP and Apache talking to each other is through [url=http://httpd.apache.org/docs/2.0/env.html]Apache's environmental variables[/url] and [url=http://us3.php.net/manual/en/ref.apache.php]PHP's Apache-specific[/url] functions (see links for reference). I'm assuming you have Apache 2, but it should work the same in 1.3. What I would try is once a user has logged in, use apache_setenv() in this manner:

    [code]
      apache_setenv("DISABLE_HTA",1,walk_to_top);

    [/code]

    Then in your httpd file, change your AccessFileName directive to something like this:

    [code]
      AccessFileName .htaccess env=!DISABLE_HTA

    [/code]

    In theory this should disable .htaccess across the entire server when the first block of code is used, although I've never tried it  ;D . If you want to disable .htaccess for just a specific directory, you could create a new <directory> block in you httpd file for each folder and define different environmental variables to set them apart. You also might be able to use the conditional statement (env=!DISABLE_HTA) in the .htaccess files themselves. Tell me how it works for you and if you need further guidance. Again, I've never tried this technique but its an interesting application.
  11. I don't quite understand what your asking, but: Take a look at [url=http://httpd.apache.org/docs/2.0/mod/mod_alias.html]Apache Aliases[/url]. Aliases allow you to serve files via apache that are not in your document root. Also, you can't run a PHP script (except from the command line) unless Apache is online. If this doesn't answer your question, please try to explain a little more.
  12. This sounds like more of a general web computing question for me. The short answer is no: you don't have to do any tap dancing here. Your PHP and your database will process requests in the order they come in even if things are submitted "simultaneously." Different OS's allocate system resources differently, but the only real barrier to how many simultaneous connections your server can handle will be hardware performance.
  13. So I know how to get the contents of a text file, but I'm wondering if there is a way to retrieve only parts of the file without PHP reading the WHOLE thing. For instance:

    I have a 50 MB text document. Thats pretty huge and using file() will take PHP a long time to parse it. Seeing as how all I want is the last 10 lines of the file, is there a way to open the text without parsing the whole document and retrieve the last 1o lines?
  14. Try using the name server IP's that Comcast gave you and do a [url=http://remote.12dt.com/]reverse DNS Lookup[/url]. Otherwise, Comcast should have given you additional nameserver info. especially for your router configuration.
  15. No... you are using Apache 2.2.x. That is NOT the right apache to install. Go to the apache website and download Apache 2.0.x. Some users have had success with 2.2, but you need some extra files and instructions from 3rd parties. Your best bet is to wipe your system clean of the installations and try again using the appropriate builds.
  16. Usually you start with multiple T1/Cable lines and scale up to meet bandwidth needs as your customer base and revenues grow. In some cases telecommunications co.'s will sell fractions of DS and OC connections for a discount price. Its not like upstarts just go out and buy one of these connections... unless you have a lot of venture capital to burn.
  17. Data Centers (hosting companies), cable and internet providers, and smaller communications companies buy large bandwidth pipes from the big telecommunications carriers like AT&T, Level 3, etc. These carriers come in multiple flavors including DS-X (Digital Signal) and OC (Optical Carrier) -n.

    Digital signal carriers are supported by satellite or terrestrial based infrastructure and can carry data at rates up to 560Mbps per connection.

    http://en.wikipedia.org/wiki/Ds3
    http://whatis.techtarget.com/definition/0,,sid9_gci212004,00.html

    Optical carriers are supported by global, fiber optic networks with commercial speeds up to 2488 Mbps. OC-12 is a network line with transmission speeds of up to 621.84 Mbps, used by many ISP's and WANs and commonly used by mid-sized web hosting companies.

    http://en.wikipedia.org/wiki/Optical_Carrier
    http://www.level3.com/userimages/DotCom/pdf/High_Speed_IP_e_brochure.pdf

    Usually the major providers only have connections in major cities. Regional ISP's and telecommunications commonly sell DS and OC connections to distribute them out over a wide area but generally they cost more. If you're interested in this, my advise would be to call up your telecommunications co. and tell them of your needs. Careful as these connections are very expensive. DS3 cxn's start at around $2,000/mo. whereas OC3 cxn's will run you around $20,000/mo. If you plan to hang with the big boys, then a reliable OC12 cxn will run you upwards of $300,000/mo.
  18. If you have an idea on the Zip file creation and FTP functions, then the rest shouldn't be to hard. All you would have to find now is a good directory recursing script (a script that will go file by file, folder by folder) - which also shouldn't be too hard. On the other hand, I'm not so sure about email forwarders and autoresponders (are those saved as files even?)

    Don't most versions of Cpanel have backup utilities that do exactly what your looking for? If not, could you write a script that would instead compliment (finishing the job - ie FTP'ing) the existing utility. Just a thought.
  19. Is PHP setup on your own server or is it a hosted account? In order for PHP mail() to work, you either have to have a seperate SMTP server installed on your machine or specify an address in PHP.ini. The function doesn't work on its own. If this is the case try: www.mailenable.com. A free mail server that comes with an SMTP relay.

    Make sure if you do this that the mail is accepting connections for localhost ONLY. Otherwise you'll be targetted by spammers and get blacklisted.

    Good luck
  20. Are you sure that SSL is set up correctly? When you visit http://somewebsite.com:443, does it prompt you to accept the certificate and display the lock icon in the bottom right corner? It's possible you are telling the server to listen on 443 to serve content but not necessarily using SSL. Also, what OS are you using?
×
×
  • 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.