Where are the best places to learn programming skills quickly?

I want to learn how to use MySql, Php, BB code, and codes like those, but in easy and effective way. I have prior knowledge, so feel free to post slightly advanced links too.

That’s like a teen-ager asking how to be 50 years old quickly - you can’t do it quickly, whether it’s getting older or learning programming. To see what you’re asking for, read http://www-old.oberon.ethz.ch/WirthPubl/AD.pdf That’s the best programming course ever written. (No, I didn’t write it, and it’s free.) Figure on at least 6 months to get through that.

MySQL is a program, the language is SQL. Figure on a few months, at least, to learn the basics of SQL (the things that 95% of SQL programmers stop at). PHP is trivial once you know programming, you can "learn" it by keeping the php.chm file open as you work. BB code is about as difficult as learning to count to 10.

But learn programming first. If you want to build a house, you don’t learn "hammer", you learn carpentry. Don;t learn the tool (programming languages) until you’ve learned what to use tools for (programming).

Help With PHP Email Form - Attaching Files?

Hello
being a newbie in php programming field I would like to ask for assistance with e-mail form and attaching files. I have bought a template for website with included mailer form. The only problem with it is that it only allows to attach jpg files and i need word documents, pdf, and exel files as well as images to be attached and mailed.
Below is the script line from the form. Can someone please advise on how can i modify it in order to have word, exel, pdf and image files arrive to my email. Thank you

<? if($_POST) {
include(’form_config.php’);
if(eregi(’.jpg’,$_FILES[image][name])) {
$unid = uniqid();
move_uploaded_file($_FILES[image][tmp_name],’offer_uploads/’.$unid.’.jpg’);
$urla = "http://www.globalmeattraders.com/offer_uploads/$unid.jpg";

The code has been truncated, so it is difficult to tell you exactly what is going on…
But, it seems that the line:

if(eregi(’.jpg’,$_FILES[image][name]… {

is checking whether the uploaded file is of the type .jpg
Whenever, a file is uploaded, the file info is stored in the $_FILES superglobal. You can access the type of the uploaded file using $_FILES[image][type].

So, in the above mentioned if condition, check what is happening. If it is just checking the file type, you can remove it and your code will allow other file extensions too.

Refer to the following link for more details:
http://www.php.net/manual/en/features.file-upload.php

I’m interested in becoming a veterinarian what courses should i take at my community college?

http://www.sussex.edu/academics/programs.php these are the courses i’m just curious in what I should be taking to hopefully advance to a 4 year college and then a vet school.

it depends on the school you want to transfer to. certain schools want certain classes.
speak to a counselor to get the exact answers you’re looking for. otherwise, you’ll just be taking classes and wasting your money on courses that your target school doesn’t accept.
you should see a counselor at least once a semester to make sure that you’re on track. most counselors work through the summer, so call your school and make an appointment. good luck!

CodeIgniter - Disallowed Key Characters

I ran into this issue recently and found that there was not many good answers on how to fix the issue. You first need to know what caused the error and Code Igniter doesn’t tell you. So I ended up modifying the core code to display the Characters in fault. This allowed me to immediately locate the culprit and fix it.

In the system/libraries directory there is a file called input.php

If you open that file and go to about line 200 you will see a line that says:

exit(’Disallowed Key Characters: ‘);

It is in the function:
_clean_input_keys($str)

Modify that line to say:
exit(’Disallowed Key Characters: ‘.$str);

Now the error will show you the sting at fault.

Do you think it’d be ok if I took Introduction to programming:Java and PHP:MySQL at the same time in the fall?

Is it ok to take PHP&MySQL without prior programming experience besides HTML?

I would say not to take them at the same time. What you want to do is get a good understanding of the fundamentals and then expand on them. So taking an intro to programming and perhaps intro to database design would be the way to go.

If you have access to an adviser, I’d say talk with one before deciding. They will be in a better position to help you layout your course selections.

php date function, how to calculate how many days user are in website?

i’m stuck with php programming..

I need calculate how many days user have been in site. (Flat file website)

Registered since: <?php echo "$info[4]"; ?><br />
It prints out this : 03 Jan 2007 08:22 am
[ date("d M Y h:i a"); ]

So how can i calculate how mani days user are in website?
I have tried this, but it’s wrong.

<?php $bDay = mktime($info[4]);
$cTime = time();
$vecums = $cTime-$bDay;
$day = floor($vecums/(60*60*24));
echo " $day days<br />";?>

Here’s a complete solution:

http://www.addedbytes.com/php/php-datediff-function/

I always wondered why PHP doesn’t have an actual DateDiff function…

Any good free Web design programs for PHP?

There’s a Website in which the page is entirely in PHP, but displays the page as HTML. I need a free Web design program that would display PHP code as HTML so I can make some changes to the page.

Dude , PHP code is interpreted to the appropriate HTML when the Web server sends the requested Web page to the browser ( the Web server does NOT send PHP under normal conditions UNLESS error)
…not sure what ur asking about

Programming language for Computer Security ?

hi , can anyone tell me what programming language that r mostly used in security & forensic computing ? , currently i’ve learnt Java , C and vb.net , do i need to learn langauge like Phyton , PerL ? or maybe markup language like (X)HTML ? (php , javascript etc ) ? thanks in advance :D
If you are looking to generalise in security and forensic computing you are gonna have to ask yourself what languages are out there and what hardware are you going to specialise in? What kind of devices will you be looking at? What sort of programming languages are those devices platforms used to manuipulate and control? And who will that attract at the unauthorised-user level?

There are a whole lot of languages out there and it’s just not practical to learn every one of them, so you have to narrow the field, pick out those you’re most likely to come across in your working life. (Obviously that is going to have to change to keep up with the march of technology…)

Java, delphi and C/C++ are a definite, as are the Windows/Unix/Linux platforms they run on …for now. Why? They’re everywhere! But, so too is Python, and maybe to a lesser extent Perl. But again - it comes right down to which sort of devices you are going to be asked to look at.

Other than desktop PCs and Macs, Mobile phones and other devices are widely used - but so too are hi-tech static devices. More importantly - what sort of hardware is currently used (and what about the future). What is most likely to be used by the wider group of users, and how does that relate to the smaller, more highly-skilled users with criminal intent.

You are going to be making some pretty risky decisions. You’re bound to make a few mistakes - but hopefully there will be more good decisions based on your research.

Good luck

Web/PHP programming - detecting spiders/robots?

Is there a reliable way to detect non-malicious spiders/robots/crawlers in a PHP script? (Malicious ones can easily impersonate browsers, so that’s out of scope for my question) I’m looking for something like an open-source User Agent list that’s updated periodically. Does any such thing exist? Thanks

Snow is right.

-Billy

Which is better to learn PHP programming or Web designing or SEO?

I went to a training institute where they are teaching all the above three!!
For Php they are charging 25000 Rupees individually.
For SEO, the cost is 20k rs.
For web designing it is same as php.
I am a BSC grad & dont have a mca
So which should i do out of above 3?
I am presently earning 15k rs

My opinion is that you do not need think about how much money you will make in the future, because good PHP programmer and good designer, and also SEO make almost the same amount.

You need to know in which field of knowledge you are most talented and could show the best results!

And not less important thing is enjoy what you do!

Good luck!