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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

 

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

Boss: Excellent, deploy GOGOGOGO!

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.