182 Posted Topics
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 … | |
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 … | |
Re: How are you planning to send this contact through? You want this in database, in a file, through email, what is the output you're expecting? Also I believe `<input type="hidden" />` is still visible in source-code, just so you know. ![]() | |
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 … | |
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 … | |
Re: "Sounds like homework", show us whatcha got. I could do this script for you, but you won't learn anything. And if you know it yourself, you'll be able to solve your question much faster than waiting for someone to answer it for you. | |
![]() | Re: [BLoB](http://en.wikipedia.org/wiki/Binary_large_object)s? I would encode the picture in base64 and then BLoB it down the database. |
Re: Let's say, this array is called `$myarray`. mysqli_query("INSERT INTO table (sn, mob_no, date, time) VALUES ($myarray["sn"], $myarray["mob_no"], $myarray["date"], $myarray["time"])); ![]() | |
Re: [Do you mean this?](http://ckeditor.com/), it's quite downloadable application written by people who are into this stuff. This might help you. WYSWIG are applications which would automatically format text for you, so it looks normal at first as you type. | |
Re: > They say the only way you can be a good programmer is if you learn it the hard way *You don’t really understand something unless you can explain it to your grandmother.* --- Albert Einsten It's not about if you learned it hardway, in my case, I imagine the … | |
Re: Can, we, uh... see the CSS? | |
Re: Do you mean inclusion files? Like `System.Linq`, `System.IO` and such? They're located in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft Microsoft Visual Studio 12.0, on Windows 7 x64, you can make constant variable out of that. If you need something else, please explain it with more details. > path of an … | |
Re: You mean maximum value and the minimum value? $a=100; $b=200; $c=300; $d=500; $e=600; echo "The highest value is: " . max($a, $b, $c, $d, $e); echo "The lowest value is: " . min($a, $b, $c, $d, $e); But I think it would be better if you just had done this: … | |
Re: <?php $user_agent = $_SERVER["HTTP_USER_AGENT"]; function getOS() { global $user_agent; $os_platform = "Unknown OS Platform"; $os_array = array( '/windows nt 10/i' => 'Windows 10', '/windows nt 6.3/i' => 'Windows 8.1', '/windows nt 6.2/i' => 'Windows 8', '/windows nt 6.1/i' => 'Windows 7', '/windows nt 6.0/i' => 'Windows Vista', '/windows nt 5.2/i' … | |
Re: You could let Ajax do this. You would then repeat certain PHP function over and over again, with space of around 2 seconds, wait until PHP finds something new in the database and produces output, and then create a new field (with JavaScript) and make it's content, the content that … | |
Re: sudo nano /var/log/boot.log sudo nano /var/log/dmesg First line is log for boot and `dmesg` is supposedly Ring 0 log, or you could just `dmesg | less` in case when you have access to command line, working command line. | |
Re: `Compiler Mode - Engaged` $x = 1; int x = 1; echo $x + $x++ + $x++ + $x; print x + x++ + x++ + x; int temp[n][] = 1; int temp[n][] = 1 + 1; int temp[n][] = 1 + 1 + (temp[x]); int temp[x][] += x; int … | |
Re: sudo add-apt-repository ppa:nmi/vim-snapshots sudo apt-add-repository ppa:passy/vim sudo apt-get update sudo apt-get upgrade There has been somebody who had already one version of Vim, and there was newer one which he/she couldn't find on his/her repository. This solved his/her issue, maybe it could solve yours. | |
Re: Couple things to point out, not trying to be meanie, just, I looked at your code. First of, your form: <form method="POST" action="includes/update_profile.php"> Redirects you to `update_profile.php`, it's not `update.php` nor `editrecord`. Second of all, `update.php` says `if(isset($_POST["update"]))` but I can't spot it being set anywhere in your form. So … | |
Re: You cannot use HTML to connect to MySQL, the closest you can get is the PHP (Hypertext Preprocessor). I assume you're running Windows. You would need Apache server for this. I personally would recommend installing XAMPP, which has MySQL and Apache server in it. After all installation, at the end … | |
Re: Okay, questionaire: 1. Do you have Apache server? Start it. 2. Do you have MySQL server? Start it. 3. Create a file called `config.php`, put inside <?php $sql_un = "root"; // default: "root"; $sql_pd = ""; // default: ""; $sql_db = ""; // you will need to create database and … | |
Re: This sounds like you're trying to create a virus and boot it without permission, how good that user firstly needs to agree (and be admin) on making it bootable and evelated and that antivirus will block every attempt. After this, program will be ran by SYSTEM. The code for this … | |
Re: I'd like to crash the autorun function, so it will execute only when you access it to through software or Windows Explorer so that nothing will start automatically. Open command prompt as administrator and type this: X: cd / echo > autorun.inf But replace, `X:` with your USB's letter. In … | |
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 … | |
Re: Just a sugesstion, couldn't you just select your `<input>`'s by Id, and then say that if it's empty, produce a message? For example, HTML being: <input id="byName" value="" name="name" placeholder="Name" /> And JavaScript being: $("#inputName").focusout(function() { usernameForm = document.getElementById("inputName").value; if (usernameForm == "") alert("C'mon man! Everybody has a name, doe!"); … | |
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=" … | |
Re: It would depend on project itself. If you would release your project and keep making it better, then no other company would be able to be better at it. The final step of protection for that software of yours, would be releasing it when finished, protected, and polished and then … | |
Re: Is the folder of photos within a server directory (`htdocs` or `www`)? If so, you can create folder, put your pictures in it, and then refer your visitors to the folder. Keep in mind to not create any `home`, `index` or `default` page. As soon as server doesn't have these … | |
Re: Answer may be as ridiculous as disabling and enabling your wireless card by **Fn** button on your keyboard. In case that wouldn't work. You can still check in the router, whether you haven't excluded your new IP from access. IP of router varies, it can be `192.168.2.1` or `192.168.255.1`. Get … | |
Re: [Maybe this?](http://sourceforge.net/projects/turbocforwindows-9/) It automatically installs DoSBox and TurboC++ for you, and all setting are automatically made for you, so you just install it, start it and you're good to go. | |
Re: I don't think it's quite possible to (to my understanding of your post): Input custom code from your website and make it interactive on public site, where everyone else can see and interact with it. This would leave a lot of holes in security of Facebook and make your page, … | |
Re: I highly doubt this would be possible by pure HTML (maybe HTML5). How precisely are you willing to edit the picture? Do you want to add a text? Make it smaller? The amount of the options to edit a picture is also very limited by pure server-side scripting language, unless … |
The End.