Jump to content

Zane

Administrators
  • Posts

    4,362
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Zane

  1. Here's something I pulled up after a Google or two http://www.sustworks.com/site/prod_ipnrx_help/html/InboundPortMappingHelp.html Well, where this main fiber is going..is your modem. You have to have a modem or else.. how are you even getting internet? If it's like you said and there is no modem then you're obviously getting your internet from another source not mentioned. Seeing as how the modem is where you enter your username and password for the Internet you or your company has paid for. Something needs to be done to the Routing Table.. I'm not exactly sure what it is, but that's where you need to be looking. Whether you're using a modem or not.
  2. If you want to restrict access to the internet, you have to start at the source... the modem. Whether you have dial-up, DSL, cable or T1; there is a modem somewhere that directs "the internet" everywhere on your network. This is where you would set up your restrictions. If your modem has built-in firewall features then great.. use them. block the main ports for the internet and direct it to another computer on the network that hosts your "Login Screen webpage" You could use the worst POS computer you got for it too. So long as it hosts a webserver and a database. Once they're logged in.. redirect them to another computer that is allowed internet access.. AKA a proxy server. Keep in mind though, I'm no networking specialist or security engineer so... if all that sounds vague, forgive me. But in my mind.. that's how it would all work.
  3. I joined this forum community in April 2004, 4 months before I turned 18. Now... for those that can't do math. It's four months before I'm 24.
  4. The OP of that thread is the only real accumulative list. The rest are just posts of people's lists. Although it hasn't been updated it quite awhile. The reason you don't start another thread about the same thing another thread having 2 or more pages is:.. Well, it's a hot topic. People have contributed to it and in doing that have essentially "subscribed" to it. By starting another one you have a paradox of Webhost discussion. Then comes the question to the regular user.. "Which one is better?" They'll choose the newer of course leaving all the former people out in the cold when they check their new replies... just hoping to see a new webhost review on the list. There's nothing wrong with talking about the topic on hand in ... the actual topic. So I'll lock this for now and if you really want to review a webhost... go here http://www.phpfreaks.com/forums/index.php/topic,117475.0.html
  5. QFT.. Why would you want random IDs in the first place? What's wrong with the regular way? But if you did prefer random IDs, the best route would be to propagate about 1000 or so "empty" entries to begin with.. and then run a SELECT RAND() WHERE NOT EMPTY type query...when you create a new user..
  6. notify an admin.
  7. http://www.phpfreaks.com/forums/index.php/topic,113143.0.html There ya go
  8. mmmm.. okra. and leaves
  9. SELECT COUNT(column) as theCount, column FROM table ORDER by theCount You could also GROUP BY theCount and get only three results... 3 | apple 5 | strawberry 19| orange
  10. premiso was trying to steer you right with str_split.. it's afterwards that you'd use regex.. (the preg functions) $aWord = str_split("SomeThing"); foreach($aWord as $letter) echo preg_match("#[A-Z]#", $letter) ? "It's uppercase!" : "It's lowercase!";
  11. most likely your ISP or email's domain was "red flagged" as a spam domain. Either that or we set something in place (to long ago to remember) to only accept reputable domains.. but I doubt it.
  12. you could try using one of these glob statements glob(./*/*.*) glob(~/.*/*) glob(*/*) glob(../*/*)
  13. They are called short tags. It's best to leave them off, but one of the percs of having them turned on is that you can use them to perform ONE function (on the fly).... without a semicolon to boot. =function() ?> =echo 'blah' . 'blah' . 'blahblah' ?> You could do a find and replace with your IDE/HTML editor. Find "=" and replace it with "<?php echo " But that's just assuming everything is just an echo... which is what it looks like.
  14. IMHO.. it'd be better to use regex. You could probably scan the current questions in the PHP Regex board already and find the solution you need.
  15. There are some good sources of zip code databases here http://www.phpfreaks.com/forums/index.php/topic,208965.0.html No need to start from a CSV
  16. Surprisingly, this place is pretty accurate http://www.hostip.info/ Off by about 10-20 miles
  17. Yeah.. that's the INSERT key.. it'll do it every time.
  18. True, it'll give you a fair .. and probably accurate position to begin a radial search from, but that's just it.. you would have to perform a radial search from that point, get all the zipcodes within X miles (in which X is unknown).. and guess logically (somehow) from the responses. That's pretty much.. a "half-assed" accurate. And something half-assed is never something to rely on.
  19. Mine aren't the sharpest either. I'm surprised that query I gave you worked.. I liked your version better though.. I didn't know you could do an IN (SELECT...
  20. SELECT platforms.name FROM platforms_reviews LEFT JOIN platforms ON platforms_reviews.platform_id = platforms.id WHERE platforms_reviews.review_id = {$review['id']}
  21. If you're gonna have a cross-platform website... you should always start by programming for IE.. not chrome, not firefox, not safari... Because 9 times out of 10.. Internet Explorer will be the one giving you the most problems. Other browser problems can be tweaked much easier than IE's.
  22. try this
  23. It sounds like you're wanting to keep a value into a variable... forever. Incrementing to 3 and repeat. You oughta make a file... called something like currentteam.inc or just currentteam. It doesn't really matter about the file extension just so long as it's "text application" works on.. notepad or wordpad, etc. Then you can pull the file everytime the page loads and run your scripts on it to check and see what the current team is. incrementing it and setting it to 1 on == 3 OR.. since I see you're already using a database.. you can just compare the new team to the last added team member. SELECT teamid FROM onlineplayers ORDER by id DESC LIMIT 1
  24. the path of the temporary file is stored in the $_FILES array. This is assuming you had the file input within a form that you submitted. If you look at $_FILES['fileInputname']['tmp_name'] you'll see the temporary location
×
×
  • 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.