Mark E

Mexico City, Mexico

markehrlichl.com

Age: 23

Passionate iOS developer.
Web developer by need although somehow passionate about it to.

2d
awarded Yearling
2d
awarded Yearling
Apr
22
comment Return array int value of the respective String javascipt
The second option would throw and Uncaught SyntaxError: Unexpected number. Only the first option works to access and object, however I'm not sure that that's what op is asking
Apr
6
awarded Good Answer
Apr
6
comment American English or British English Java
@Fildor you've got a common misinformation. They are called Jawas, and they created C#. Although they're all from Tatooine, hence the strong typing. The dessert makes you wanna be sure of what you're talking about.
Apr
6
comment American English or British English Java
I think the language was original written in "Huttese", and got its name from his original creator Jabba from Tatooine
Apr
4
awarded Notable Question
Mar
26
comment live chat using php/jquery/ajax
@Matt whichever port you like, you set it at the beginning of you application.
Mar
26
comment Css Carousel not sliding right amount
@Shniper If this is the right answer for your question you should mark it as accepted answer.
Mar
26
awarded Tenacious
Mar
26
comment live chat using php/jquery/ajax
I think long-polling would be easier to implement than web-sockets with your actual code. If you still wanna go with the web-socket solution I've used this php library ratchet to achieve it. However with the web-sockets and shared host combination the problem isn't accessing cmd or using node since you can get SSH access from cpanel, the actual problem I think would be running a server on certain port, I believe most shared hosts block this kind of interaction.
Mar
20
comment Ajax requests crashing browser on dashboard page
I would strongly recommend using prepared statements for your queries. ALWAYS is a terrible idea concatenate browser input into your queries without cleaning it. Search for "sql injection".
Mar
16
comment Where to put the try catch blocks
I'm not sure i understand correctly but, what i understand is that you just need a break; statement in your catch blocks.
Mar
16
answered How do you correctly post data to the same view in Laravel 5.2
Mar
15
answered How is Chrome able to fetch gist json file? Isn't that forbiden?
Mar
13
comment Passing Variables in PHP
The form being submitted straightaway is something out of his control, he can't rely on that
Mar
13
comment Passing Variables in PHP
Sending the variable on a session would break if page is loaded from cache e.g. Reopening chrome and tabs restore
Mar
13
comment Passing Variables in PHP
Nevertheless he should check if user has permission to post on that place before inserting
Mar
13
revised Passing Variables in PHP
added 356 characters in body
Mar
13
answered Passing Variables in PHP
1 2 3 4 5