Posts
 
Reputation
Joined
Last Seen
Ranked #197
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
96% Quality Score
Upvotes Received
198
Posts with Upvotes
161
Upvoting Members
104
Downvotes Received
9
Posts with Downvotes
9
Downvoting Members
6
26 Commented Posts
11 Endorsements
Ranked #154
Ranked #190
~294.55K People Reached
Favorite Tags

408 Posted Topics

Member Avatar for Jaklins

So.. sorry to rez a 10 month old post, especially as my first post... but here goes... I dont think that using sessions the way you are is the best method... instead, you should declare in your SQL DB what security level, or what options, the user will have, based …

Member Avatar for Bharath_6
0
12K
Member Avatar for davy_yg

The best way I had machine learning explained to me was similar to this: Lets say you want a computer to identify a color. Lets take "Red", or 255, 0, 0 (or some threshold of). (NOTE: Of course, what you would write is an algorithm that looks at color and …

Member Avatar for Reverend Jim
0
517
Member Avatar for SimonIoa

Your where clause always have to result in a boolean to check equivalency. For example "where 1 = 1". From reading this, it does not look like the case has a match, and therefore it is in error. Ex: 1 = case u.foo when t.foo then 1 else 0 end …

Member Avatar for Viki_1
0
5K
Member Avatar for Dani

Well.. here's my 2ยข 1: Old threads (like.. some are 3+ years old!) being commented on. They need to be locked. A lot of the comments are outdated, spam, or often times not even on point with the rest of the thread. (Granted, this hasn't happened super recently, but there …

Member Avatar for happygeek
2
6K
Member Avatar for SimonIoa

You cannot change a column name on the fly like this. You're better off making another column and calling it type and flagging it to know what "type" it is.

Member Avatar for SimonIoa
0
2K
Member Avatar for LegateLucius
Member Avatar for Jara_1

So.. the problem is your question is very vague. Instead, I will walk you through how to find your answer on your own and hopefully that will help you. First, you need to understand the basics of how HTML/Form Data work. You can find that here: https://www.w3schools.com/htmL/html_forms.asp --Alternatively, if you …

Member Avatar for ryantroop
0
437
Member Avatar for Andrew_52

You are going to need to learn about AJAX, some server side language to format your JSON to output to the AJAX request, and of course - SQL to write the query that the server side language will process/execute. A very common free stack is called a LAMP stack, which …

Member Avatar for ryantroop
0
589
Member Avatar for Robert_79

What is your methodology that gets the count of all items? (ie, how are you determining you only need 3 pages of 25 a piece?)

Member Avatar for alan.davies
0
454
Member Avatar for durgeshmandal

you are looking for the javascript function `window.open` (or, in your case, `top.window.open("https://www.yahoo.com")` or whatever....)

Member Avatar for ryantroop
0
185
Member Avatar for navjot_2

The only "secret" to JS-Less toggles is an input type="checkbox" and use a label to toggle the checkbox's state from there, you use your css "+" and :checked pseudo selector to modify your visual state ex: .myWrapperElement .input[type="checkbox"] { height: 0; width: 0; overflow: hidden; padding: 0; margin: 0; opacity: …

Member Avatar for John_202
0
627
Member Avatar for Sdark

I'm always confused by questions like this... You studied this field. You know your stuff.. build something important to you - with EE you can do SOOOO much.. Take something that you are interested in or something that a family member or friend could benefit from. The quality of what …

Member Avatar for rproffitt
0
351
Member Avatar for Khairul_1
Member Avatar for Otto_1

tcol1 = 0 tcol1[mm] = col1 + amt You can't set a member of 0 to a value. You are essentially saying 0[mm] = col1 + amt;

Member Avatar for ryantroop
0
1K
Member Avatar for Jun_7

So.. I didn't pop this in a fiddle or anything due to laziness... however, I believe I found your problem: so, you're pulling ALL ROOMS (and appropriate meta data) where the room ID is not in a single instance of reservation.room_id (in most cases, this will be NULL and will …

Member Avatar for ryantroop
0
548
Member Avatar for Dani

couldnt you just do a grep/find (notepad++) on "function fnName(" Am I oversimplifying something?

Member Avatar for pty
0
418
Member Avatar for Nurul_3

.... are you asking what you should reasearch or just some random title? I mean... no offense here... but you have a problem (you need a title generated). Solve it (write a title generator).

Member Avatar for happygeek
0
698
Member Avatar for Dani

You obviously put a lot of thought into this. Personally, I am either not experienced or creative enough to figure out how to exploit the system you created. I get that DW is one giant "example" service using your platform. Lets take it a step further. I want to make …

Member Avatar for Dani
0
2K
Member Avatar for janicemurby

So.. first, did you write this? Are you aware of what "$$" variables do? ( for those who don't, they make a (scoped?) variable with the "VALUE" as the variable NAME; eg. $a = "hello"; $$a = "world"; You now have $a = "hello" and $hello = "world"; ) I …

Member Avatar for alan.davies
0
3K
Member Avatar for hamzamuradkhanh

for PHP and PDF, I have used http://www.fpdf.org/ in the past (pretty sparse and straight forward but gets the job done well). From that, I found [this](https://stackoverflow.com/questions/1004478/read-pdf-files-with-php) post on SO which suggested using https://www.setasign.com/products/fpdi/about Which seems to solve your problem.

Member Avatar for hamzamuradkhanh
0
506
Member Avatar for Adm666

That, sir, is a fantastic question. My assumption is that the inline cast to a `char *` is somehow mangling the memory space on the stack, or the assumption of the pointer starts at a negative index to account for the pointer itself... no idea :-/ That being said.. why …

Member Avatar for Ren C
0
428
Member Avatar for kennyL

Your local MySQL configuration has port 33061 open? No firewall blocking the connection? I also doubted the need for the \PDOException but I havent used PDO in quite a while now... that said, the only way you are likely gonna solve this at this point is to echo/vardump after each …

Member Avatar for kennyL
0
607
Member Avatar for emilio_3

I would encourage you to fill a buffer with the user's password first, then display it - and in that local buffer you can do a strcmp. Just my preferred way of solving your problem. Otherwise... you have uncompleted code here.. not sure what part of it you need help …

Member Avatar for ryantroop
0
580
Member Avatar for elamigosam

without seeing the output on line 67 it's hard to say, but my assumption is that you are geting an output like... insert into foo (a,b,c) values (1,2,3,1,2,3,1,2,3,12,3) -- kinda suprised this doesn't throw an error... when instead I believe you want something more like insert into foo (a,b,c) values …

Member Avatar for elamigosam
0
362
Member Avatar for janicemurby

at some point, you are using a loop. The variable $i is being assigned a value, and at some point that value is 6. if $i = 6 AND 6 + 5 is 11 ---- it appears your problem is that you are trying to access a member of $list['photoID'] …

Member Avatar for ryantroop
0
3K
Member Avatar for Stefce

You can also buy an sms gateway device, or just a phone that allows AT commands. From there it costs however much your local carrier charges per month for access to their network. Alternatively, every phone number is an email address to their respective carrier. Ex: [email protected] will send an …

Member Avatar for ryantroop
1
728
Member Avatar for davy_yg

So fusion charts requires their data in a specific format. You can choose to parse that data (as they have), or you can write a conversion script to output the format they expect from the data you have. You gotta do some of this on your own. I get fusionCharts …

Member Avatar for ryantroop
0
412
Member Avatar for davy_yg

When dealing with fusion charts, I encourage you to just go striaght to their fiddles. http://jsfiddle.net/s7t8F/5379/ I made that with a color change to one column. You likely forgot the comma.

Member Avatar for ryantroop
0
498
Member Avatar for rproffitt

Is this a MS issue or just developers being lazy and not putting their toys away? (or both) How many of those handles may have been ghosts that are just doing nothing? How many were socket connections that were active instead of using select or IOCPs?

Member Avatar for ryantroop
0
707
Member Avatar for davy_yg

Javascript (JS) is a top down JIT. Which means if the DOM element exists before the JS gets called, it will be available for use. In example 1, your function declaration and call happen before "demo" is available on the DOM (in the body element, however you want to think …

Member Avatar for ryantroop
0
461
Member Avatar for Josh_6

My first suggestion - stop using a, b, c, and i as variable names. Give them meaning, they will help. My second suggestion is to consider using a placeholder as a loop helper - just because you are looping though "i" doesn't mean you have to use it for anything …

Member Avatar for ryantroop
0
554
Member Avatar for ddanbe

Likely, if done right - the car will just drop you off at the door and come back when you call it. The decision to find a place to idle/park or go into a loop will be one of necessity (I need to recharge / nowhere to loop) or convenience …

Member Avatar for mike_2000_17
0
2K
Member Avatar for divinity02

Your function IsValidEmail does not return anything, and your application of it expects a boolean. If your regex test validates true, you should return true. If it doesn't validate, return false.

Member Avatar for pty
0
287
Member Avatar for rproffitt

By people do you mean the general unwashed masses? If so - it's because they are intimidated, or unsure of their ability to diagnose. It's something so small and trivial to you, but remember - 10 years ago or so something that is trivial to you today may have been …

Member Avatar for Reverend Jim
0
379
Member Avatar for aqqa

define "biometric process" If you are talking about processing a thumbprint or facial recognition, then it's the job of the hardware to give you a usable data representation that you can process in any language. It's likely that the hardware makes certain assumptions and turns physical/analog data into a hash, …

Member Avatar for ryantroop
0
269
Member Avatar for Daryl_8

--> No ram installed yet Found your problem. It's likely the BIOS prevents boot/access without RAM installed (otherwise, what's the point, right?)

Member Avatar for rproffitt
0
402
Member Avatar for Anthony_22

If you want to stop it client side (to prevent the form from submitting at all), you can look at the input data's type (which should give you the mime type) and you are looking for "image/" if the mime-type doesn't match, return false from the form (otherwise it will …

Member Avatar for ryantroop
0
586
Member Avatar for Dillon_4

between lines 49 - 52 you are redeclaring $headers. You need to concat that stuff :) (like what you did on line 50)

Member Avatar for ryantroop
0
582
Member Avatar for Mamatha_1

You need to escape your slashes in string literals. `'C:\Users\mchalla\PycharmProjects\837_unzip\venv\SampleUnzipFiles\DelimitedFiles'` should be `'C:\\Users\\mchalla\\PycharmProjects\\837_unzip\\venv\\SampleUnzipFiles\\DelimitedFiles'` or, you know.. be consistent and just flag it also as a raw string :-P `r'C:\Users\mchalla\PycharmProjects\837_unzip\venv\SampleUnzipFiles\DelimitedFiles'` The error you are getting is from \U telling Python that the next series of values represents a unicode value (in …

Member Avatar for ryantroop
0
522
Member Avatar for FarrisFahad

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 a service like Akamai to having a load balancer as your handling server and then pass requests to servers that …

Member Avatar for FarrisFahad
0
4K
Member Avatar for Anthony_22

So... I see your check for existence SQL, and your actual insert... I don't, however, see your attempt to save the file data to the database. Am I misunderstanding your question? The reason it wouldn't be in your database is because you're not even trying to put it in there …

Member Avatar for ryantroop
0
655
Member Avatar for janicemurby

what does this do? ` $list = getListed(array('EducationID' => 'Id', 'L1Education' => 'L1Value', 'L2Education' => 'L2Value'), array($table_prefix.'educations', 'Id'));` if the answer isnt "it RETURNS an array" then you found your problem.

Member Avatar for ryantroop
0
719
Member Avatar for davy_yg

Any number of possibilities. Your office network may block or blacklist certain web requests, or the firewall blocks them. If that's the case, you may end up getting a malformed JSON string and then you cannot log in due to JS errors. If you own the site, you can look …

Member Avatar for ryantroop
0
196
Member Avatar for ryantroop

Hi all, So before I went and posted ~800 lines of code, I have 2 questions: 1: What is the preferred way for us to post "complex" C++ (of course, this is just a .h, .cpp, and main cpp but it's still a lot of lines) that wont just be …

Member Avatar for ryantroop
0
3K
Member Avatar for chamki

First: Have you tried it? Does it do what you expect? Second: If you're gonna short circuit a process ( if (num === 0) .... ) then do it before the work starts. Why wait until after you try to do work to stop work that is almost done? Really, …

Member Avatar for Reverend Jim
0
234
Member Avatar for t_thakar

as noted here: https://stackoverflow.com/questions/13713912/mysql-query-returns-blank-field-with-aes-encrypt If it's not a blob type data field, you may get blank. If it contains invalid data, it may also return blank.

Member Avatar for ryantroop
0
375
Member Avatar for ryantroop

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 serving up page. Is there a way to use PHP as an intermediary between the client (JS) and the application …

Member Avatar for ryantroop
0
472
Member Avatar for JP

So first, you have no reason to check the length of the files uploaded other than if it's greater than 0.. and even then ... meh. Let the logical loop do the work for you. In the process of doing this, you will notice immediately that your single file upload …

Member Avatar for ryantroop
0
371
Member Avatar for DOUGLAS_8

based on your table structure, you insert 2 records into your image table, both of them with the same productID value. Is this what you're talking about?

Member Avatar for ryantroop
0
149
Member Avatar for Roozbeh_1

JP, uhh... maybe open your own thread on this.. been dead for over 4 years. The short answer is wat anas.man suggested; Use that, get multiple images in the file input, post to your server and var_dump($_POST) and see what's in there.

Member Avatar for ryantroop
0
4K

The End.