The reason why I say VB is a language I'd avoid is that it's not as powerful as C++, C# or even Delphi (despite being a beginner level language, Object Pascal can match up to C++ in quite a few area's).
Some apps require that you have a runtime pack…
XHTML 1.0 transitional and CSS2 valid as well as meeting a fair number of 501 standards (accessibility standards) and I try to make my code as clean as possible (my editor has Tidy integrated into it, tab indenting and other stuff to make this quick…
Looks a lot better than the old version.
Didn't, doesn't, can't... I have seen these typed incorrectly on the main page and the animation page.
Also, your "web design" link shows a hint showing "Web design serviceso" :D
These are…
I suppose he does have more right to narrate on the tech demo than anyone else though, what with him actually being the person who started the whole rails thing going (rails actually came from a project called basecamp).
Basically, to change the password, you'd need to do something like this...
Assuming your new password will be flower:
[php]
$pass = md5("flower");
$insert = mysql_query("UPDATE yourusertable SET password='".$pass."' WHERE us…
First question:
Chances are, you're using MD5 to generate the password in a PHP script.
The thing is, MD5 isn't strictly encryption, it's a 32bit hashing algorythm, meaning that whatever you use md5() on turns into a unique 32 character alpha numeri…
I have one or twice, but why would I want to know about police raids while I'm on here...?
This is a web dev community, I come here for that and go to the BBC site or put a news channel on for generic news.
The news bot would be better if it was mor…
Well, I used to do some writing for an almost defunct site called replicant networks, but that was some time ago.
I didn't actually mean for it to be quite so long, nor did I intend to rewrite the demonstration from the tech demo "rails_take2_w…
Actually, getting my network up was pretty simple.
XP set up my WiFi kit with almost no input from me and I was online without much effort (when I used NTL:, I had problems with their crappy cable box having a dodjy internal modem, but BT's modem ha…
IE7 supposedly has some major improvements over IE6, which we all know is pretty poor when it's compared with Mozilla, Opera or any other non-Explorer based browser out there (like Konquerer or Safari).
Supposedly, they fixed some issues with the re…
Xbox 360 premium with Perfect Dark Zero and another wireless pad.. But I have also bought NFS: Most Wanted, Kameo and PGR3.
I also got a small amount of money and the usual cleaning products.
The best part of the day has been watching my nephew and …
I don't need an absolutely huge monitor.
I have my trusty old 15" TFT and I could use my 17" widescreen LCD TV as my PC monitor if I had a monitor cable (my 15" screen has one built in).
That monitor would go quite well with my 360, b…
I can contribute some things related to their consoles and possibly their IDE's when it's up :/
I own both Xbox consoles and have played about with a few microsoft IDE's.
CBG, I am inclined to agree with you on some aspects such as security and Expl…
O_o
Anyway, I'm in the process of rewriting a BBCode parser which should be useful for getting people started with writing such things.
I'll do that (shouldn't take long) and post it here.
It should have the PHP highlighting code in with it.
Bluehost has got a fair number of good reviews and it's features are, well, O_o
You'd probably take forever to fill 10GB of space with stuff for a website (1GB = 1024MB, so powweb doesn't actually offer 5GB... it's a fair few MB less).
250GB of tran…
nl2br is PHP's inbuilt method for translating textarea linebreaks to the line break HTML tag, <br />.
The main problem with using PHP's inbuilt method is that if you're running an old version of PHP, you may end up getting HTML 4.01 style lin…
In relation to your first reply:
I have used Powweb in the past, and the friend who got me the account (one of the developers at www.birdboard.org who is known as Sammy or Samuel) also uses them.
Powweb was pretty much perfect for me, but I honestly…
Yes, this is possible, but you use PHP to do it, not mySQL...
As I mentioned in one of the other topics, you need to pre-parse content before insertion using PHP's string modifiaction routines.
HTML's textarea object uses the fairly standard /n line…
1&1 is pretty good as far as I'm aware.
They have won multiple awards for their services, which is always a good sign, but I have read some down right terrible reviews (I don't know if those were directed at their American arm or not, http://www…
You know when you insert an article into the DB?
Before inserting it with the mysql query, you'd want to use the code I posted above to change:
[php]
mysql_query("INSERT blah blah");
[/php]
to:
[php]
$article = $_GET;
$article = str_repla…
X_X
Get the contents you want from your DB and store it in a variable so you can work on it before echoing it to the output.
Ideally, you should do this before inserting the article into the database since it will add to the loading time if you do i…
Actually, a host can offer 2 versions of the same script parser.
Apache allows you to set things up so that different file extensions trigger different processes, thus making this possible.
When PHP 3 was still fairly well used, hosts made it so tha…
If you're not planning on using PHP's inbuilt PHP code highlighter, it's as simple as:
[PHP]<?php
$variable = "This is the code:
<?php echo 'code'; ?>";
$variable = str_replace("<", "<", $variable);
$vari…
Try running it through Tidy.
Tidy detects and strips 2 empty sets of <center> tags.
This isn't one of those world breaking errors that the W3C validator will catch, but Tidy still sees it as something to be rectified.
If you can't build your o…
Don't make your code generate links with the ampersand symbol in them.
XHTML validation systems will tell you that you should use & which is the ampersand ASCII symbol code.
The links will still function correctly as & is automatically chang…
In order to put a count of how many visitors have visited a page, you need to either code a hit counter in something like PHP, or you'd want to use something like a pre-made hit counter (python mentioned his).
If you want to hadd a "who's onlin…
Ahaha...
You really think the members of DD are going to bail you out of debt which you could have stopped before it got out of hand?
Somehow, I doubt this little scheme of yours will pay off since you're to blaim and the other members aren't gettin…