182 Posted Topics
This is element that I'm trying to achieve: http://i.imgur.com/9XmGXkt.png This is "template" of what I have to work with: https://jsfiddle.net/hcgpyutj/ I tried floating, staticing, absoluting, relativizing, tables, transform. I changed file about 10 times and of each situation something went wrong one way or another. I cannot use flexbox. I … ![]() | |
CSS file: http://pastebin.com/tBvGjhTX HTML file: http://pastebin.com/r5YUTHgp I have a div with following rules: { width: 75%; margin: 5% auto; } Obviously works everywhere except Microsoft Internet Explorer 0.5 to Edge. While in every normal browser, box takes 75% of width and is centered horizontally. But Microsoft be like "screw that", … | |
<!-- example --> <html> <head></head> <body> /* Lots of contents, header, etc. <?php if (isset($_GET["id"])) { echo $anexample[$_GET["id"]]["test"]; } ?> </body> </html> There would be links that would say `example.php?id=1` and `id=5` and `id=9`. However I'd like page to rerender just that particular place. Nothing else in page will change. … | |
If user issues a query, I would like AJAX to download the result of query into browser so that JavaScript can do the parsing. The results could be around 1MB-5MB (at most, doubt it would get anywhere near 0.1MB), and I would send it from PHP to front-end using JSON, … | |
Example. I have parent div of 1000px width. I have 4 children divs that each have been told to have "some size" (for example 300px). I would like to put 3 children in first row and then put the fourth in the second row below the 1st child. Something like … | |
My first problem was. "I have this box, I need this box to be 230px, and I have second box, that needs to take entire space remaining". My solution to this was, `float`. So I floated both boxes, `float: left;` and `float: right`. That looked nice, until I noticed that … | |
Is there a way to prepare 80GB HDD (SATA) in such way, that it boots from ISO on itself? I'm delivering this to an old grandpa who doesn't know a lot about software (he's electrical genius though). I will create steps on how to get through installation. But I need … | |
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 … | |
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 … | |
Re: Don't mind me, what is ***VCS***? The only thing that pops up in Google (thank you hellish SEOs) is Veritas Cluster Server. | |
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" … | |
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 … | |
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++ … | |
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 … | |
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 … | |
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 … | |
Re: If you're willing to continue learning PHP. I'm not master in it, and I don't live up to heels of PHP giants over here. But I've done some coding here and there and understand all basic, and majority of medior principles of PHP and programming overall. So, if you're still … | |
Re: Try `animation-iteration-count: 1;` ? http://www.w3schools.com/css/css3_animations.asp | |
https://jsfiddle.net/cmvs815c/1/ Is there a way to make "Enter a tag...", red as well? | |
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 … | |
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. … | |
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), … ![]() | |
<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 … | |
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, … | |
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 … | |
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 … | |
Re: > When someone posts a new vb.net question and does not create a vb.net tag then how am I to know about it when I have to select vb.net to look at vb.net related posts? So far from my perspective you're forced to use at least 1 tag. > And … | |
**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 … | |
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?! | |
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` … | |
`$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 … ![]() | |
Re: If you're underage (-18). Cut quarter of your social time to learning your future ambitions (if you have any): - Want to become programmer? Learn programming languages. - Want to become actor? Learn how to act really well. - Want to become Let's Player? Learn how to make funny jokes … ![]() | |
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 … | |
Re: I've have some problems with mixing posts. My brain would combine name of contributor and content of previous post. Even technically ignores the line between, even though it's obvious there and I am absolutely aware of it. But I think it's just me. **Edit:** [This](http://oi59.tinypic.com/a24sjn.jpg) is how my brain sees … | |
*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** … | |
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 … | |
Re: [This](http://web.archive.org/web/19990203072841/http://daniweb.com/) version of DaniWeb is surprizing. Where can I get one? | |
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 … | |
Re: I won't give you exact code. But I will tell you commands that you need and how. If you click links, you will learn how to operate it yourself. First of all you would need to [connect your PHP configuration file to database](http://php.net/manual/en/function.mysqli-connect.php), I call it mostly `config.php`. Then of … | |
Re: `echo geoip_isp_by_name($IP);` It should return ISP. Assuming [PHP manual is right](http://php.net/manual/en/function.geoip-isp-by-name.php). There's an [entire list](http://php.net/manual/en/ref.geoip.php) of related functions. I don't know what you mean by organization, the only organization you can get out of IP publicly is the ISP. If you're willing to look-up visitors of your website compare common … | |
Re: There is a `foreach()`. However such opeartion forces you to know the amounts of rows (3 in example) and the keys for each row ("userid", "username", "email"). foreach ($myArray as $theCurrentRow) { echo "<td>" . $theCurrentRow["userid"] . "</td><td>" . $theCurrentRow["username"] . "</td><td>" . $theCurrentRow["email"] . "</td>"; } Just wrap it … ![]() | |
Re: You mean, you want to display a file-name? Or you have a document you read from external sources and you want to enumerate it? Or you want to assign number to each PHP file and display it each time user visits your website? ![]() | |
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, … | |
Re: Something's wrong with your code. When I copy provided HTML file you provided and display it into file, I get entirely different result than two ones you provided. After fixing the HTML syntax, missing `</textarea>` and couple other glitches such as missing metrics of objects. The code I've been left … | |
Re: "to host web pages". If they're HTML, CSS and JavaScript, you don't need any single local-server. Just merge these 3 together in one file and obfuscate it (won't give a lot, but definitely would help). And make sure your Windows App opens in by just refering to the file. If … | |
Re: I would go with PHP. General reason is because it is made fast and secure and bugs with it are unlikely unless coder himself/herself codes the script wrong. It is literally made programless. Of course you need Apache, but once that's started, PHP will always work. I wouldn't choose for … | |
Re: You would make PHP file parse the data and write it in the file. There's [this](http://pdfcrowd.com/) website that can convert HTML to PDF for you. If you're looking for automated process. I would do almost same, except write the file in external HTML file and ask FPDF.php the parsed HTML … | |
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. … | |
Re: > 2) Does the upgrade overwrite everything (i.e., effectively re-format the computer)? I'm gonna be very brutal. Get ready. Microsoft has been ranted over about some problems with privacy before (NSA surveillance along with many others). There's also lots of articles on how Windows 10 has lots of leaks due … | |
Re: - Type in `msiexec.exe` to your search bar in Start Menu. - **COPY** the file on your desktop. - Upload the copied file to [Virus Total](https://www.virustotal.com) - Look for **SHA256:**, the strings after this. Is it anything close to: `82ef3b124362b701ac146fffe8c6d2f5a932417bd7011a887665df6f09797a60` ? If not, your file has been tampered with. When … |
The End.