Jump to content

How to you put the php on your site?


28rain

Recommended Posts

I'll tell you what:

PHP6 will not be released soon. I doubt it will be this year.

However, when it is released it will not be much different from PHP5. It will not be an entirely different language. Actually, most scripts that were written with PHP4 still work with PHP5 and I suspect many of them will work with PHP6

 

You can safely learn PHP5, and when PHP6 comes out, you will only have to learn about differences between the two.

 

And releasing a book about an unreleased version of software is basically cheating.

Jeje ok ill check it out my scripts are very basic i think i guess they wont have changed. And the book is; http://books.google.com/books?id=EehTqQ1BDzMC&printsec=frontcover&dq=php+6&ei=W02YSYLIHYTENv_-7IoP i dont really understand how they made it :)

OK. This book is shit.

Examples shown there WILL NOT WORK IN PHP6

 

Why?

 

Because so called short tags ( <? ) are removed from PHP6. You have to start your scripts with <?php

 

Also, they're using mysql extension to connect to mysql, while it might as well be dropped from php6.

 

Please, go find a better book. Even free web tutorials are better than this.

  Quote

Boss: We need to stay ahead of the game. We need a php6 book published before anybody else!

Author: I don't think that's wise, boss....

Boss: I don't care, just do it! You have one week!

Author: Our last php book was years ago, based off php4...

Boss: Do it. Do it. Just do it.

 

$oldBook = file_get_contents("lrn2php4.txt");
$newBook = preg_replace('~php4~is','~php6~',$oldBook);
file_put_contents("lrn2php6.txt", $newBook);

 

  Quote

Author: Okay boss, we're good to go!

Boss: Excellent, deploy GOGOGOGO!

 

EDIT: what the hell. Ignore me

 

123-reg.co.uk does not offer PHP or MySQL in any of their hosting plans. However their sister site (webfusion.co.uk) does.

 

If you already have a contract with 123-reg.co.uk see if you can get it transferred to webfusion.co.uk

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.