97 Discussion / Question Topics

Remove Filter
Member Avatar for Aeonix

This is essentially a really long question **If I were to create a function without calling it's execution. Does PHP initialize it anyhow or is the entire function ignored entirely without even bothering to read it?** Another way to put it: **Is there any execution difference between code that does …

Member Avatar for ryantroop
0
395
Member Avatar for Aeonix

Since I totally F'd up entire topic. [Over here](https://www.daniweb.com/programming/software-development/threads/502281/verify-if-data-sent-by-servers-how-do-bigger-companies-do-that), where nobody has ever known what I meant, until I realized that I said a lot of things that didn't make sense at all, nor I could make up any reasonable statements from smart people out there. By suggestion of said …

Member Avatar for Aeonix
0
246
Member Avatar for Aeonix

I know that it's possible for speakers to repeat whatever sound comes into microphone. But, now I'm thinking. When I speak on Skype/TeamSpeak (VoIP software), would it be possible for me, to select audiofile and play it as if it was sent through microphone? To send music through my "microphone" …

0
203
Member Avatar for Aeonix

Since I English no good. I picture send you. How do I do? Just kidding. How could I put div through another divs perimeter by 20 pixels, 100 pixels or perfectly within them both? I saw that on a website, but they have ultra-spaghetti code with 50 billion wrappers (no …

Member Avatar for ryantroop
0
295
Member Avatar for Aeonix

According to [this](https://github.com/nwjs/nw.js/wiki/Protect-JavaScript-source-code-with-v8-snapshot) link. V8 Snapshot of your JavaScript file, makes it somehow more protected. Notice: This is **V8 Snapshot** not just **V8**. Now I have couple questions, if you're familiar with this technology: 1) Is there a way to obfuscate it more? There are .NET obfuscators, there are C++ …

Member Avatar for Aeonix
0
322
Member Avatar for Aeonix

https://jsfiddle.net/fg1mfn2m/2/ I don't understand jQuery. Or any programming language for that matter. I'm trying to get to resize a child of a div, as soon as said DIV is clicked. Nothing is triggered. Except my nerves. Previous time I asked for help of jQuery, I got the right code (which …

Member Avatar for jkon
0
375
Member Avatar for Aeonix

https://jsfiddle.net/cr72vqhb/1/ Follow 2 scenario's. First Scenario: Click on **client-side**, get message, menu slides out. Click on **server-side**, get message, first menu hides, second slides out. Perfect, right? # Hard refresh the Fiddle # Second Scenario: Click on **server-side**, nothing. Absolutely nothing. It's as if I mistyped the selector. Why is …

Member Avatar for Aeonix
0
154
Member Avatar for Aeonix

As soon as I find out exact manner of communication between the server and the software. I realized how easy it is to use programs to intercept it, analyze it and then send malicious (or rather illegal) query through. So. I was wondering is there a way to make sure …

Member Avatar for ryantroop
0
457
Member Avatar for Aeonix
Member Avatar for gentlemedia
0
325
Member Avatar for Aeonix

If I wrote a program which would `Console.WriteLine()` a base64 code, like an easter egg ("a hidden secret" in gaming jargon) or something, for example string EasterEgg = "dGhlYmlnc2VjcmV0"; Console.WriteLine(b64d(EasterEgg)); And I would let a good obfuscator run through it. Now I know that crackers with enough time and knowledge …

Member Avatar for Aeonix
0
450
Member Avatar for Aeonix

I've done some wonky research. So far I understood: *Particular questions that I'm asking are written in Italic hence Bold texts are not visible with this font.* "IPS is way better with color precision and contrast. But has problems with "ghosting", it generally looks like someone hasn't compiled video well. …

Member Avatar for Popc0rn
0
361
Member Avatar for Aeonix

Website is exclusively built with `.click()`, `onclick=""` and alikes. I'd like to use a plugin that there is out in the world, which would allow me to use custom scrollbar to scroll content of a lengthy `<div>`. I've tested about 6, whom 1 didn't work (maybe I just can't read), …

Member Avatar for Sanchit_Sahu
0
430
Member Avatar for Aeonix

<nav> <div id="main"> <div id="one"> A </div> <div id="two"> B </div> <div id="three"> C </div> <div id="four"> D </div> <div id="five"> E </div> </div> </nav> <style> #main { min-height: 175px; height: 27.5%; width: 100%; background-color: #222; position: fixed; bottom: 0; left: 0; } #navBackground { width: 100%; } nav div …

Member Avatar for gentlemedia
0
1K
Member Avatar for Aeonix

It might be obvious, but I can't seem to understand it. So don't laugh. Let's assume this scenario. My website has 5 themes, there are 5 buttons. Clicking each button changes theme respectively and uniquely. I use JavaScript to do that, so I set name of theme in a cookie, …

Member Avatar for Aeonix
0
505
Member Avatar for Aeonix

Not so long time ago, I asked you for help with `preg_match()`. Pritaeas gave me nice answer and Cereal showed me nice webpage where I could try out the latest queries, live. The query provided seems to be working on the website granted, but not on my project. 4 out …

Member Avatar for cereal
0
135
Member Avatar for Aeonix

Is there a way to grab strings that match patterns `--*--` and `++*++` (two seperate queries) where `*` is a wildcard and `--`, `++`, are criteria to meet. I'd like to write matches within variable fully, like `--daniweb.com--` and `++this just an example++`. `preg_match()` provides solution on alphanumerical identities. And …

Member Avatar for Aeonix
0
270
Member Avatar for Aeonix

**Full error:** *xengine.js:2 Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode* I have **no framework**. This is pure flat HTML, CSS and JavaScript. HTML goes on like this (up to relevant moment): http://pastebin.com/s8s2KLmt And the JavaScript (starting from line 1, no additional files, entire …

Member Avatar for minitauros
0
425
Member Avatar for Aeonix

I just wanted to ask for help with understanding C++ code. Suddenly I realized, that I can't copy the code. Yes, my keyboard is working fine on every other program. After further inspection I found out, that every Ctrl usage (except Ctrl+Z, Ctrl+X) has been blocked. `\(<.<)/` what?!

Member Avatar for Aeonix
0
257
Member Avatar for Aeonix

I'm working on certain PHP-skill-teaser. No background is really needed as error is purely PHP-based. The [PasteBin](http://pastebin.com/N8UKt1JW). I have double do-while in there, however I can't modify variables from within that loop, they simply don't affect the variable anyhow. I have tried a lot of solutions, including those about `$GLOBALS` …

Member Avatar for cereal
0
235
Member Avatar for Aeonix

`$allowedForUniversalUsage = htmlEntities($_GET["potentially_super_malicious_code"], ENT_QUOTES);` Does script above help me against XSS and MySQLi injection? My thoughts would be: **Protection against XSS: Yes** I mean. XSS means that someone would be able to input code, which will be shown publicly and will be executed, the `htmlEntities()`. It converts actual code into …

Member Avatar for diafol
1
275
Member Avatar for Aeonix

For as long as DaniWeb allows us to edit posts, can we also edit the title, move the thread and remove the post (if we magically found our answers on 69th page of Google)? This would help stopping in forcing me to report my own topic to edit title or …

Member Avatar for BinaryDigit
0
303
Member Avatar for Aeonix

*Story happens in imaginary universe, but I'm using current time "relativation".* vmWare Player type of application (but for free). I consider adding it to Open Source because everybody is saying how great it is and how fast bugs can be fixed. There's couple stories to be told: **Side of Manager** …

Member Avatar for Aeonix
0
374
Member Avatar for Aeonix

Doesn't exist. But I would love that it did. 2 days ago, I made search for it, I found this one pearl of a function, you just called it and it would perform just that. Today, I can't find it for heavens. I have been through about 5 fiddle's, about …

Member Avatar for Dani
0
3K
Member Avatar for Aeonix

Have you guys ever met process so stubborn? It wouldn't close, no matter which tools/programs/commands you might use regardless elevation? Talking about Windows and Firefox. This is kind of story that made me irritate, get mad and laugh like an idiot at the end. It goes like this: I go …

0
286
Member Avatar for Aeonix

So, first the bug, numbers appear in vision of code field, "I spik no inglich good", so [here's the screenshot](http://oi61.tinypic.com/o5qsmh.jpg). I'm using Linux Ubuntu 14.04 LTS LiveCD (on USB 2.0) I'm using Google Chrome v45.0.2454.93. Screen resolution: 1366 x 768 Pixel-ratio: 1 Maybe a feedback: When I click [Code] button, …

Member Avatar for Dani
0
505
Member Avatar for Aeonix

var _tmp = 0; for (var i = 0; sys.cores()[i]["sn"] != null; i++) { _tmp++; alert(_tmp); } alert ("Pretty sure, you have " + _tmp + " virtual cores."); This is the code that I'm working on. The loop itself is very simple. The output is: 1, 2, 3, 4. …

Member Avatar for Aeonix
0
192
Member Avatar for Aeonix

Hi. Has anyone maybe found this miraculous software. That I could install on Windows/Linux machine (server) and client on my own computer let it be Windows/Linux. And have really great response time and quality? The server would be at 100Mbps, my connection would be at around 50Mbps. If my machine …

Member Avatar for rproffitt
0
2K
Member Avatar for Aeonix

In forum: "Web Development Discussion Community". I sought for unanswered topics, one of them being [this one](https://www.daniweb.com/web-development/aspnet/threads/498270/mvc). What's weird is in the [forum view](https://www.daniweb.com/web-development/31), the content of post mentions *Create a realtime notification in mvc aplication. It can be an alert notification.*, while the [topic itself](https://www.daniweb.com/web-development/aspnet/threads/498270/mvc) says *How to create …

Member Avatar for Suzie999
0
556
Member Avatar for Aeonix

I made an API request using AJAX request, I received JSON, I tried my best to use JavaScript to parse it, but to no avail. Instead I used jQuery which made it as painless as 2 lines of code. Now I have JSON array translated into array-ish object in JavaScript. …

Member Avatar for Aeonix
0
405
Member Avatar for Aeonix

I'd like to create `/admin.php` page, which would have AJAX request, sent over to `/core/adm/index.php`, that's easy, basic AJAX request will do just that. But I don't want any direct access to `/core/adm/index.php`, I want it to be accessed only by AJAX request from `/admin.php`. Is there a way to …

Member Avatar for Aeonix
0
230
Member Avatar for Aeonix

I needn't even explain it, look it up. You needn't to click anything, just zoom-in 10%, then zoom out as far as you can, and notice how table cell and a div, go full on agression. View website itself under `5millionpixels-##.comlu.com`, (no I'm not a bot, but files are PHP, …

Member Avatar for Aeonix
0
170
Member Avatar for Aeonix

Is there something I could put onto Linux LiveCD and run that will defragment entire harddrive? I know there's a lot of softwares that do that, but it results in something like: > **Fragmentation before:** 25% > **Fragmentation after:** 24.5% Might there be an application, that I could run on …

Member Avatar for rproffitt
0
201
Member Avatar for Aeonix

$replacedString = str_replace(array_keys($array1), $array1, $externalVariableString); I have an entire array above that called `$championToIdConversionArray`, it has about 650 switches, it looks something like this $array1 = array( "1" => "Banana", "12" => "Monkey", "2" => "Apple", "121" => "Human" ); Now if I let script parse numbers "121", it won't …

Member Avatar for Aeonix
0
191
Member Avatar for Aeonix

When I started videogame on my computer, I used i3-3217U with Intel HD Graphics 4000. GPU works at 350MHz (1.05GHz with Turbo). Runned nicely on 50FPS. When I tried passing this game to a friend, from the very installer, the game has been installed and all it's requirements have been …

Member Avatar for preetham_1
0
194
Member Avatar for Aeonix

How can I verify if programs that I'm using, if their traffic is going through VPN? I know I can go to random website using browser and check-up my IP. But it's a browser, I don't know if "my VPN provider" also "censors" traffic for/from all other programs besides browser. …

Member Avatar for Aeonix
0
165
Member Avatar for Aeonix

I'm sitting in classroom, trying to find more advanced usage of pointers in C++, suddenly Googling, not suspecting a thing I almost fell of the chair in middle of class laughing like a donkey (I'm young adult, so "immature" jokes tend to be funnier for me than for you likely). …

Member Avatar for mike_2000_17
0
825
Member Avatar for Aeonix

Imagine this, (names made up or/and don't apply to current situation, names used/imagined only for purposes of explaination) There's server called `daniweb.com`, it's an API server. You can get quite chunk of data out of it. But for some reason, the one who orders the project, demands that we request …

0
118
Member Avatar for Aeonix

I have been cuddling with OOP programming. JavaScript seemed like a good start. I went to w3schools.com. function person(first, last, age, eye) { this.firstName = first; this.lastName = last; this.age = age; this.eyeColor = eye; this.name = function() { return this.firstName + " " + this.lastName this.capitalize = function() { …

Member Avatar for Aeonix
0
227
Member Avatar for Aeonix

I tried playing with AJAX a bit. This is just the chunk of JavaScript I got. // FIRST TIME REQUIREMENT var interAction = new XMLHttpRequest(); var responseAJAX; interAction.onreadystatechange = function() { if (interAction.readyState == 4 && interAction.status == 200) { alert(interAction.responseText); responseAJAX = interAction.responseText; } } alert("inside"); interAction.open("GET", "ss-controller.php?req=freshStart", true); …

Member Avatar for pritaeas
0
266
Member Avatar for Aeonix

Up there I have constant **Messages (1)** counter, but when I click on it, no new message appears. I cleared cache, I cleared cookies, I cleared my browsing history, I logged out, I logged back in. It's still there, I checked my messagebox, no inbox messages that are new. @edit …

Member Avatar for Dani
0
190
Member Avatar for Aeonix

I don't trust my code. I really don't. I always have a feeling that something is wrong with it. Every variable looks like an enemy. Every loop, unfinished condition. Every input, possible injection. I'm kinda paranoid so to say. There's many white hat hackers out there which could make buck …

Member Avatar for ryantroop
0
213
Member Avatar for Aeonix

I get exactly this same error as [this Sir over here](http://askubuntu.com/questions/111959/what-is-a-bad-quality-package). There is solution given: cd ~/Downloads sudo dpkg -i *.deb sudo apt-get install -f What worries me more is that Brackets (by Adobe), Opera (by Opera), Chrome (by Google) are also considered bad quality. I could understand that sometimes …

Member Avatar for Aeonix
0
301
Member Avatar for Aeonix

When you need to create a login page using PHP and MySQL, the safety of this login page relies on - Your PHP scripting abilities - How well and securely has PHP been programmed in C++. - How well C++ compiler of interpreter of PHP has been programmed. - How …

Member Avatar for ryantroop
1
258
Member Avatar for Aeonix

On certain websites you can order laptops, and sometimes even they allow you to change certain parts of it. Let's take the example of HDD, the website offered quite an amount of types of HDD's. The largest HDD they can deliver to the laptop is 2TB, could I instead ask …

Member Avatar for rubberman
0
313
Member Avatar for Aeonix

I tried to build really basic associative array but it turned out I don't have enough knowledge, so I tried something less, and less, and less, because I kept failing at it. Finally I just tried to set variables and print them in the command-line. But I can't even do …

Member Avatar for Aeonix
0
23K
Member Avatar for Aeonix

Recently I got interested into dynamic execution of scripts. That is, user clicks the button and the JavaScript part (or any other library attached to it) will send a request to a file with `$_GET[]` or `$_POST[]` data. Then PHP (preference) would execute the function or anything that it has …

Member Avatar for Aeonix
0
1K
Member Avatar for Aeonix

The code beneath, is one chunk of code (after "Three."), both `<?php` and `?>` are parts excluded from parsing. 1. One 2. Two. 3. Three. <?php $images = glob("*.png"); $folderRoot = "http://" . $_SERVER["HTTP_HOST"] . dirname($_SERVER["PHP_SELF"]); foreach($images as $imageName) { $imageUrl = $folderRoot . "/" . $imageName; echo "<a href=" …

Member Avatar for Dani
0
301

The End.