329 Posted Topics

Member Avatar for fheppell

The problem is that Crypt is automatically generating a salt with the password. You therefore need to compare it as follows: <?php $Password = "Password"; $Hash = crypt($Password); if (crypt($Password, $Hash) == $Hash) { echo "Password Match"; } else { echo "Password Failed"; } ?> Check out the documentation to …

Member Avatar for annaharris
0
185
Member Avatar for hanan-kh

Depends what OS you are using, personally I would suggest the following, they aren't as advanced as Dreamweaver however they contain everything you need, including syntax highlighting, line numbering and end bracket identification: Windows - Notepad++ (a favourite of many) Linux - Gedit (Text Edit)

Member Avatar for pritaeas
0
357
Member Avatar for skliz

Disable Indexing is also a good step if you're running Apache. This shall throw out a 403 if anyone attempts to access folders.

Member Avatar for diafol
0
162
Member Avatar for ACRDepos

What are you trying to validate? I see no If statements in your code at the moment. Equally, as you are new to PHP you may aswell get into good habits now, I would suggest you use MySQLi and Prepared Statements, simply using mysql_real_escape_string isn't enough now, and has been …

Member Avatar for Octet
0
276
Member Avatar for edwin4good

Design or code? If you are simply designing then look firstly at a few key areas: * Who is it being designed for? * Are there any special requirements? * What is the theme? Is it sombre, is it designed to intruige etc. * Who is the audience? From these, …

Member Avatar for Webville312
0
316
Member Avatar for uzzal.dey.334

As others have said, nothing beats a good book which you can carry with you, and flick through. If you want to go digital however, I would recommend 'TheNewBoston' Youtube tutorial series, he has many and they are very good for the beginner. https://www.youtube.com/course?list=EC081AC329706B2953 Equally, he has a nice set …

Member Avatar for JorgeM
0
219
Member Avatar for Big Tunda

I hate to tell you but your CPU is well and truly dead. I'm suprised it has worked up to this point after the ordeal which you said it has been through. You certainly would need a new CPU, does the system POST at all when you turn it on?

Member Avatar for caperjack
-1
1K
Member Avatar for johnsonparkar

Depending on what OS you have (Linux is the Kernel), you can add many different desktop environments such as Gnome, KDE and XFCE. The chances are your OS has a pre-defined list of repositories (a bit like a big book of sources). Your OS shall also have a package management …

Member Avatar for SilverMecer
0
206
Member Avatar for rakwel10

Without seeing your CSS it is impossible to tell, but make sure you aren't defining widths for your DIVs unless they are defined properly, and check for elements within the DIV which could be causing them to expand.

Member Avatar for rakwel10
0
716
Member Avatar for gayu82patel

You can't call PHP code in JS, because JS will never see it. PHP code is executed server side meaning the only output from it shall be HTML. What you are trying to do can be achieved by using AJAX which is Asynchronous JavaScript and lets you dynamically communicate with …

Member Avatar for masterjiraya
0
2K
Member Avatar for StefanRafa0

Go to 'My Computer' and from there you want to select the drive you want to work on. The first bit which JorgeM was talking about, clearing the temp files, can be done by right clicking the drive and going to properties. From here you shall want to click the …

Member Avatar for Reverend Jim
0
256
Member Avatar for johndohmen1963

And also `substr($Word[0], 0);` which shall return letter 0 (first one) from an array of words. You can then iterate through the array and store it in whatever variable, or output directly to the screen as you please.

Member Avatar for minitauros
0
131
Member Avatar for muhammadzaria
Re: help

Up to 1km, that is some serious WAP! I suggest you begin looking into Yagi Antennas, that is probably the best place to start and then move onto signal amplifiers.

Member Avatar for skaka1972
0
126
Member Avatar for suncho26

If you're storing it in a database, simply make a call to it (preferably using parametised statements) and then in your HTML do this: `<title> <?php echo($TitleFromDB); ?> </title>` Which is echoing out the variable that you retrieved.

Member Avatar for Webville312
0
249
Member Avatar for Octet

I am baffled, I've been trying to get this piece of code to work for the past 30 minutes but with no luck. It should in theory be a simple registration script to check the user's input and then add it to the database however it won't add it to …

Member Avatar for Octet
0
200
Member Avatar for Dani

In the spirit of all things techy, I found this one to be rather funny: http://www.theregister.co.uk/2013/04/01/unix_copyright_claim/

Member Avatar for pritaeas
0
324
Member Avatar for azareth

I like my code (although limited) to be perfect. As previously mentioned by someone, my code isn't really worth commenting due to the level it is at but I try to comment each section. As a web developer primarily, I shall write the code out and check it all works …

Member Avatar for <M/>
0
246
Member Avatar for razib8bd

Apart from a passion for computing, cycling would be my other major hobby. On a good ride, I probably average 15 mph on the flats and it wouldn't be uncommon for me to cover over 20 miles a trip.

Member Avatar for <M/>
0
130
Member Avatar for sharon.mcwell

Do you hear any beeps when you startup the computer? If you do, these are the error return codes from what is called a POST (Power On System Test) and they are designed for this exact problem, when you might not have a monitor to be able to display the …

Member Avatar for Octet
0
130
Member Avatar for cybrix101

Windows has massive overheads compared to a Linux based operating system, that would be the simple answer. In Windows, almost everything runs on the GUI which means you are use a huge amount of resources to do very simple tasks. Unlike Windows, in a Linux environment you have a lot …

Member Avatar for jithinjohny
0
208
Member Avatar for infoitmanoj

You clearly didn't read the rules when joining Daniweb? As a word of advice for your next post, make sure you are clear and informative, what doesn't work, what was supposed to happen and what happened instead. This way you can get an answer a lot quicker. So what is …

Member Avatar for veedeoo
0
257
Member Avatar for Octet

This post is a bit of a rant but also has legitimate purposes. I am currently developing a Question and Answer forum/website which will allow people to post questions... and receive answers (nothing new, but hopefully shall get a handful of visits). I have spent the past four days brain …

Member Avatar for LastMitch
0
154
Member Avatar for cgull

Strange, no reason why I can see this would happen... My only suggestion would be to define the DIV heights specifically and see how this goes?

Member Avatar for cgull
0
270
Member Avatar for ranam

Yep, it is called Geolocation. I don't know if Google Maps offers a direct API to be able to use Geolocation however I suggest you look into HTML5's geolocation feature and then overlay it on Google Maps/Bing Maps/Openstreet Map. Just a word of caution, if it is to find a …

Member Avatar for <M/>
0
178
Member Avatar for aisha.edris1

You can simply use the date function. An example would be `date("d-m-y H:i:s");` which at the moment (GMT) it would produce: 26-03-13 12:52:08

Member Avatar for Octet
0
108
Member Avatar for oyebimbola

You can use one of two common languages, PHP or ASP.NET. These are two server side languages that allow you to communicate with a database (if using PHP, MySQL would be my advice) and also allows you to do the cool features you are wanting. I would however offer a …

Member Avatar for JorgeM
0
115
Member Avatar for akuteru

No, the only way you could dynamically pass it without submitting is to use some AJAX and JavaScript, unfortunately it cannot be done with PHP alone as it is rendered server side before the page is even displayed.

Member Avatar for broj1
0
210
Member Avatar for asif49

What you are describing sounds like an 'Extranet' which is essentially a website, which a user can login to in order to access additional content that is not available to the public. Extranets are used widely whenever you have an account, however there is nothing to prevent it (and it …

Member Avatar for mattster
0
218
Member Avatar for Olyboy16

The problem with PHP is that PHP is executed server side, what this means is that it is run before the page is even loaded. In terms of your chat room problem, this means that it won't be real time, or live. It can only possible occur once a refresh …

Member Avatar for Octet
0
628
Member Avatar for Qazinix

If you don't know the server IP then there is no way that the client can connect, unless the client has a fixed IP and the server makes the first connection. What I have done in the past when doing something like this is get the server to ping itself …

Member Avatar for Qazinix
0
324
Member Avatar for Donjos10

Have you read the terms and conditions of Daniweb? Just a hint as you are new, Daniweb is not the place to ask for code to be written for you, instead you should ask for help on a specific part. It is very important you show what you have done …

Member Avatar for <M/>
-1
237
Member Avatar for AndyGraham

You have a variety of options, and it depends on the type of person you are, your knowledge and what sort of site you are making. If you are like me, and know your way around HTML, CSS, PHP and JavaScript then you may use a basic text editor such …

Member Avatar for abrienda_noec
0
197
Member Avatar for Nutster

Only the Queen of the (Dani)Web knows that, and if a mere mortal like us where to get hold of this information it would open a void into the deep web. Although I do sit in awe at those with 'Posting Guru' status.

Member Avatar for Reverend Jim
0
158
Member Avatar for levijoseph

At the moment I am using, and would say they are really useful: **Firebug**, a must have for web developers, allows you to inspect source code etc. **NoScript**, you can selectively disable JavaScript on webpages, useful for long running or faulty scripts and adds a bit more security **Cookie Self-Destruct**, …

Member Avatar for <M/>
0
119
Member Avatar for Octet

Hello, This is a bit of an unusual question, and I wasn't really sure where I should put it (Geeks Lounge or Hardware) but I decided to stick it here anyway. I've recovered an old PC, an Acer Aspire Desktop (not sure on the model, but it's certainly a form …

Member Avatar for Octet
0
163
Member Avatar for jolly19

Without actually knowing what your website is it is very hard to judge. Assuming that you have a decent, functioning website then I would suggest you firstly look at if you have a niche market, this is a small market which you shall specialise in (and although it is small, …

Member Avatar for <M/>
0
140
Member Avatar for davy_yg

The chances are it shall be local host, otherwise your hosting provider should have a help section, or it listed alongside your billing information. If you cannot find it then pop a support query, or email their technical staff who should beable to give it to you in a couple …

Member Avatar for IIM
0
162
Member Avatar for javanoob101

I found Daniweb via a Google Search, and joined it so that I could get help with some problems which I couldn't find elsewhere on the internet. Since then it has been a great resource, and I've enjoyed getting stuck in with other user's questions. In terms of helping with …

Member Avatar for javanoob101
1
371
Member Avatar for McLaren

What are you talking about? Google Chrome isn't going to install a search engine, Google Chrome is a browser and it shall allow you to choose what search engine you use. If the default search engine is being changed automatically then you either have some malicious program executing (and I …

Member Avatar for McLaren
0
195
Member Avatar for <M/>

* Food and Drink To eat, and drink. I'm hoping I can count this as a single one? * Multitool To use for anything you could possibly need it for, building shelters, skinning an animal for food etc. * Satellite Telephone Kind of self explanatory, to keep in contact with …

Member Avatar for <M/>
0
154
Member Avatar for Octet

I have noticed a problem with advertisements on Daniweb, sometimes when scrolling they seem to 'break free' off their places. If I scroll down the page, or scroll up the page they move around, sometimes moving to the left and blocking the question, sometimes moving over the navigation bar etc. …

Member Avatar for Octet
0
252
Member Avatar for VAGUELINES

You aren't linking to your style sheet correctly, instead of: `<link href="./css/style.css" type="style/css" charset="utf-8" rel="stylesheet">"` it should be `<link rel = "stylesheet" type = "text/css" href = "/css/style.css" />` Note the 'text/css'

Member Avatar for Octet
0
272
Member Avatar for wallet123

A Package Depandancy error normally suggests that a piece of software (the package) needs something else that isn't installed on the computer. As you've just installed Ubuntu then there is a chance that you haven't updated and upgraded to the latest patches etc. Not only shall this ensure that you …

Member Avatar for naphets
0
536
Member Avatar for Octet

Before I start, sorry if this is in the wrong place and also I am aware that this is not a legal forum and thus I should take proper legal advice but any heads up would be appreciated. Ok, So I am looking to create and host my own website …

Member Avatar for LastMitch
0
225
Member Avatar for meatyking

You cannot pay someone to complete your university work for you, not only is this plagerism but it is also fraud and is likely to have you thrown out of university and black listed. Seriously... consider the conseqeunces... I would suggest that you use the internet to look into your …

Member Avatar for diafol
-4
171
Member Avatar for Amy Rami

Can I refer you to Daniwebs [Rules](http://www.daniweb.com/community/rules). They specifically mention that we shall not write code, or write your homework. If you need help on a content specific section then ask but you must show your own work when doing this. How much C do you know so far, official …

Member Avatar for Amy Rami
0
166
Member Avatar for corlando52

Hold on, let me make sure I've understood this correctly: You have one laptop with one VGA Output, you have connected this to your monitors VGA Input, on that monitor you also have a second VGA Output which you have connected to a second monitors VGA Input? Unfortunately you won't …

Member Avatar for Octet
0
248
Member Avatar for shqiptari88

Hello shqiptari88, Unfortunately .db files aren't something that can be uploaded straight into a MySQL Database natively, furthermore it could be any type of database as .db is just a generic filename for storing database data. If you can work out what sort of .db it is, then it might …

Member Avatar for shqiptari88
0
6K
Member Avatar for hucking.fell

Interesting username, but other than that could we have a bit more information please? What sort of files/applications are you trying to shortcut to and what operating system are you using? How long has this been happening, when did it start? Is this the first time it has happened, how …

Member Avatar for hucking.fell
0
135
Member Avatar for Fiorentino01^

PHP and MySQL won't have anything to do with your microphone not working. If you going into device manager and see if it is listed there, it might have a little cross/triangle next to it suggesting there is a fault. Once you've located it, right click on it and re-install …

Member Avatar for Fiorentino01^
0
288

The End.