• Member Avatar for ryantroop
    ryantroop

    Began Watching IP/Connection info with TCP Socket

    Is it possible to know which connection sent data wiht recv()? Current setup is - Main Thread spins and waits - Thread 1 - do stuff unimportant to socket - …
  • Member Avatar for ryantroop
    ryantroop

    Created PHP and sockets

    Looking for conceptual help... I am writing a program in C++ to handle socket connections, eventually to be a websocket server. However, the rest of my stack uses PHP for …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching PHP and sockets

    Looking for conceptual help... I am writing a program in C++ to handle socket connections, eventually to be a websocket server. However, the rest of my stack uses PHP for …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in How can I run multiple dedicated servers for one domain?

    This is what load balancers and cache servers are for. While I have not set anything up myself, it is my unerstsanding that you have a few options from using …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching How can I run multiple dedicated servers for one domain?

    I have a website that gets a lot of visitors a month. And the server cannot handle the traffic. I have a dedicated server. How can I run the site …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in array variable I NEED HELP :P

    Well.. lets begin.. First, arrays in most languages (and it looks like you're using PHP, and PHP is one of them) start at 0. So first, $b = 0; Second, …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching array variable I NEED HELP :P

    $count1 = array(); $count1[0] = " 1"; $count1[1] = " 2 1"; $count1[2] = " 3 2 1"; $count1[3] = " 4 3 2 1"; $count1[4] = " 5 4 …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in CSS3 transition help needed

    I dont think there is a good way to do this with pure CSS. It likely requires some javascript, using a "data-" tag on the parent element, and show which …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching CSS3 transition help needed

    Need help to add css transition effects to this https://jsfiddle.net/az9yt611/ floor item 1 is selected, when it changes to floor item 2 is selected add effect to its inner div's, …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in mysqli_fetch_array error..

    First, this function is depricated - it may be time to learn about MySQLi or other something more modern in the PHP world. Second, take a look here: http://php.net/manual/en/function.mysql-fetch-array.php You …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching mysqli_fetch_array error..

    hi everyone.. please my code is having an issue... i made a select query and its displaying the error in the IMAGE attached... the code is also attached... pls what …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in SQL Query to group and rank

    You could find a way to use the DISTINCT keyword, or a group - likely the latter will have better performance. Of course, your query will have to change to …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching SQL Query to group and rank

    I am trying to create a mysql query that groups people and the ranks them. I use the following to rank them without the grouping and get that result: SELECT …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in Insert only if it doesn't exist

    If you are doing some sort of script that outputs values for an insert, eg... insert table ( a, b ) --start script --> values ( 1, 2 ), ( …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching Insert only if it doesn't exist

    How can I do a bulk insert of rows but only if specific combinations of columns don't already exist? Those columns are not unique to the table. (Otherwise I could …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in Any tips?

    You can also apply what you know towards something you enjoy. Like books? Make a simple program that interfaces with a database that allows you to put info in. It …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching Any tips?

    Does anyone have any tips on how to get better at C++ programming? I have a basic at best knowledge of C++ but find myslef lost in my second semester …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in steps to make in order to develop a simple search engine

    Depending on what you are searching through, the root form of storage tends to be some sort of database - and SQL is how you generally interact with those. Then …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching steps to make in order to develop a simple search engine

    please , tell me how i should start making a simple search engine.......what are the things i will need to learn.And how should i proceed?
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in Redirect Problem

    instead of doing the redirect, do a var_dump on $_SESSION and see whats in there. Then, do the same on index.php as well. Something obviously isnt being set, or carrying …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching Redirect Problem

    Sir I have following codes on login.php <?php error_reporting(E_ALL); ini_set('display_errors', 1); require_once("../includes/connectsql.php"); require_once("../includes/functions.php"); $error = false; $cerror=""; $cur_id=0; $cur_user=""; $cur_email=""; $mypass=""; if(isset($_POST['login'])){ $muser=clean($_POST['username']); $mpass=clean($_POST['password']); $mypass=SHA1($mpass); if (!preg_match("/^[a-zA-Z0-9]+$/",$mpass)) { $error = …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in website layout

    This is because you are using floats for your layout. Now, this is very difficult to give you good advice on how to approach this for a couple reasons... the …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in Mysql Query help for get which column not have maximum % value

    what have you tried? It looks like you can do it with some subqueries and a NOT IN, but that would likely be very inefficient.. perhaps joining against itself and …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching Mysql Query help for get which column not have maximum % value

    SAMPLE TABLE 1 =================================== product Division sales % =================================== product1 divsion1 99 product2 divsion1 51 product3 divsion1 50 product4 divsion2 98 product5 divsion2 41 product6 divsion2 40 product7 divsion3 97 …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in website layout

    In particular, I believe you are talking about the header image -- You have it set to width 100% which means on a 1980 width screen, you image (which is …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching website layout

    http://epds.telangana.gov.in/FoodSecurityAct/ this website is responsive but when iam zooming in and zooming out all html elements are messing up **any one any sugesstions are appreciated thanks in advance**
  • Member Avatar for ryantroop
    ryantroop

    Marked Solved Status for MS Edge and Translate3d - Max Count or Y-Axis bug?

    NOTE: Viewed and tested in MS Edge 25.10586.627.0 MS EdgeHTML 13.10586 https://jsfiddle.net/qgg86g7y/1/ As you can see in the fiddle, if 50 elements are displayed and calculated, a scroll bar will …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in MS Edge and Translate3d - Max Count or Y-Axis bug?

    Hmmm... are you suggesting that the link I posted above worked for you in Edge? That you were able to scroll the 51 count, but the scroll bar just disappeared …
  • Member Avatar for ryantroop
    ryantroop

    Created MS Edge and Translate3d - Max Count or Y-Axis bug?

    NOTE: Viewed and tested in MS Edge 25.10586.627.0 MS EdgeHTML 13.10586 https://jsfiddle.net/qgg86g7y/1/ As you can see in the fiddle, if 50 elements are displayed and calculated, a scroll bar will …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching MS Edge and Translate3d - Max Count or Y-Axis bug?

    NOTE: Viewed and tested in MS Edge 25.10586.627.0 MS EdgeHTML 13.10586 https://jsfiddle.net/qgg86g7y/1/ As you can see in the fiddle, if 50 elements are displayed and calculated, a scroll bar will …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in SVG Path to Circle to Canvas system ?

    Are you trying to modify SVG data or just the resulting image it produces? If it's the former, then why bother with a canvas when the SVG object will serve …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in SVG Path to Circle to Canvas system ?

    Im confused, do you want to replicate your SVG on to a canvas?
  • Member Avatar for ryantroop
    ryantroop

    Began Watching SVG Path to Circle to Canvas system ?

    How can I take a path such as what you see below and have Javascript make a visible circle or dot based on the path class ? As well output …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in Variable value when break out of foreach loop

    scope is fine, but intent is not clear in my opinion :-/ If you plan to use a variable outside of a loop, it should be declared outside even if …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching Variable value when break out of foreach loop

    I'm having a little brain fart and I just want to double check something ... // Array of [a,b,c,d] $array = array('a', 'b', 'c', 'd'); // Loop through array foreach …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in Image with text

    https://jsfiddle.net/j5Lrqmxd/ you should be able to modify this to meet your need. In short, use display: inline-block and vertical-align: middle
  • Member Avatar for ryantroop
    ryantroop

    Began Watching Image with text

    Sir I have these codes #header { width: 60%; height:auto; color: #4169E1; font-size: 30px; font-weight: bold; text-align: center; border: 1px solid #39F; margin:0 auto; overflow: hidden; } #header img { …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching Problem with greek characters

    Hello, I built a website on my personal server and everything work fine. But when I uploaded it on the production server there is a problem with the database - …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in How to make this script animation jitter less

    I know this was marked fixed already, but if you have the option to skip JS timing all together, you might as well just use CSS and let the hardware …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching How to make this script animation jitter less

    No jQuery! This is script that I got from [Chris Buttery](http://www.chrisbuttery.com/articles/fade-in-fade-out-with-javascript/) website. Or at least part of it: function fadeOut(el){ el.style.opacity = 1; (function fade() { if ((el.style.opacity -= .05) …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in What's with the light fonts?

    It also depends on the target audience, and the marketing staff that determines what comprises that audience. At 62, they obviously feel you are no longer part of their target, …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching What's with the light fonts?

    Have a look at [this page](https://madeby.google.com/wifi/). <rant> This seems to be the thing lately to take fonts in colours that were easy to read and make them lighter so that …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in How to make validation when credentials doesn't match ?

    You're asking server side logic 101 here... You can make the login page the same page that processes the login, have the form post to itself. On success, redirect, on …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching How to make validation when credentials doesn't match ?

    I have designed login page with html. if i enter credentials if it doesn't match then it should show error message in login page like invalid email or password.(no pop …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in PHP Notice: Only variables should be passed by reference in

    The explode function does not return a value by reference. Set the output of the explode to a variable, then pass the variable into the end() function.
  • Member Avatar for ryantroop
    ryantroop

    Began Watching PHP Notice: Only variables should be passed by reference in

    Hi all im currently updating a script and repairing it after a page full or errors most ive done through searching but im stuck on this on if anyone can …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in array combine?

    Well... the most straight forward way is let first arr = $aArr; let second arr = $aArr2; $aArr[0][1]['user_nicename'] = $aArr2[0][0]['user_nicename']; However, this is assuming the same data every time... what …
  • Member Avatar for ryantroop
    ryantroop

    Began Watching array combine?

    i have a array like array(2) { [0]=> array(18) { [0]=> array(8) { ["attandance_id"]=> string(3) "162" ["entry_date_time"]=> string(19) "0000-00-00 00:00:00" ["attandance_date"]=> string(10) "2016-04-06" ["class_id"]=> string(5) "11232" ["user_id"]=> string(5) "53697" ["status"]=> …
  • Member Avatar for ryantroop
    ryantroop

    Replied To a Post in creating dynamic li

    Goggle document.createElement and Element.appendChild You can dynamically build pretty much whatever you want in script.
  • Member Avatar for ryantroop
    ryantroop

    Began Watching creating dynamic li

    hello all, i want to create dynamacially this thing and want to populate data alternatively on green,red,gray li and so on but i can't able to do it plz help …

The End.