182 Posted Topics

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 cristian.stilpeanu.1_1

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.

Member Avatar for diafol
0
237
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 Zee_Monty

"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.

Member Avatar for JerrimePatient
0
131
Member Avatar for N kamatchi

[BLoB](http://en.wikipedia.org/wiki/Binary_large_object)s? I would encode the picture in base64 and then BLoB it down the database.

Member Avatar for erikko
0
134
Member Avatar for blueguy777

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"]));

Member Avatar for diafol
0
4K
Member Avatar for Dipanjana

[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.

Member Avatar for Dipanjana
0
220
Member Avatar for Lutina

> 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 …

Member Avatar for Lutina
0
410
Member Avatar for Sudhakar_1
Member Avatar for Navee30

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 …

Member Avatar for JerrimePatient
0
9K
Member Avatar for Fongsiev

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: …

Member Avatar for Aeonix
0
115
Member Avatar for Niloofar24

<?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' …

Member Avatar for Niloofar24
0
5K
Member Avatar for paulo.guedes1992

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 …

Member Avatar for jstfsklh211
0
215
Member Avatar for lewashby

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.

Member Avatar for CimmerianX
0
279
Member Avatar for abhi10kumar

`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 …

Member Avatar for JerrimePatient
0
241
Member Avatar for lewashby

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.

Member Avatar for lewashby
0
198
Member Avatar for UK-1991

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 …

Member Avatar for UK-1991
0
747
Member Avatar for Tonderayi

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 …

Member Avatar for Tonderayi
0
82
Member Avatar for SimonIoa

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 …

Member Avatar for SimonIoa
0
316
Member Avatar for Spyderbane

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 …

Member Avatar for Spyderbane
0
239
Member Avatar for cambalinho

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 …

Member Avatar for Kelly Burby
0
355
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 mattyd

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!"); …

Member Avatar for Aeonix
0
139
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
Member Avatar for hellotreasure

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 …

Member Avatar for Aeonix
0
275
Member Avatar for ggeoff

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 …

Member Avatar for Aeonix
0
277
Member Avatar for nirmeen.asad

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 …

Member Avatar for nirmeen.asad
0
302
Member Avatar for Rimi_1

[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.

Member Avatar for Aeonix
0
144
Member Avatar for hasnen_1

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, …

Member Avatar for Aeonix
0
288
Member Avatar for Amogha

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 …

Member Avatar for Aeonix
-1
79

The End.