grayen
Newbie
Honor: 0
Offline
Posts: 8
|
 |
« Reply #15 on: June 05, 2007, 12:59:30 pm » |
|
but some scripts might not work anymore (including this forum) It's the same as it was with updating PHP3, a huge difference. And i think you need to move on. If some of the scripts won't work anymore, then i just means they are outdated. Try to find a new free forum (there are plenty of them) or modify your old scripts. Their are many reasons why you should update your PHP version. - Good support for OOP (Object-oriented programming). In php 4 it was as good as nothing. Not at all what OOP is designed for. Now with PHP 5 you will have the same level of OOP as many other languages. If you learned how to use OOP in PHP5 you cannot script without it.
- Good support for OOP (Object-oriented programming). In php 4 it was as good as nothing. Not at all what OOP is designed for. Now with PHP 5 you will have the same level of OOP as many other languages. If you learned how to use OOP in PHP5 you cannot script without it.
- PDO functions will be availible.
- Many functions will be added.
- Functions like autoload are availible and really handy!
- Finaly good XML support in PHP. I use it to generate html and it works great. I liked DOM in javascript. And now it is availible in PHP! Just perfect. All my form's are generated with this class.
- And much much more.
|
|
|
|
|
Logged
|
|
|
|
|
Michael
|
 |
« Reply #16 on: June 08, 2007, 10:57:52 pm » |
|
this poll will close in 8 days then I will make a decision
|
|
|
|
|
Logged
|
|
|
|
grayen
Newbie
Honor: 0
Offline
Posts: 8
|
 |
« Reply #17 on: June 11, 2007, 04:36:50 pm » |
|
Personally I think that scripts that won't work on PHP5 anymore but only work on PHP4 are less then the scripts that only work at PHP5, because PHP5 is designed on a way that PHP4 still should work. So what you sad about this forum, is that really true (because I have never heard of any PHP4 script that didn't work correct in PHP5 unless they are just really bad coded)?
|
|
|
|
|
Logged
|
|
|
|
|
Michael
|
 |
« Reply #18 on: June 11, 2007, 08:42:07 pm » |
|
I don't mind about this forum when we will make a switch, there are some converters and patches so it's php5 compatible. I will make a big announcement before the migration.
|
|
|
|
|
Logged
|
|
|
|
|
shaq
|
 |
« Reply #19 on: June 15, 2007, 12:48:02 am » |
|
:'( what about gd?
|
|
|
|
|
Logged
|
omg i love the POST button <3
|
|
|
|
jjb123
|
 |
« Reply #20 on: June 15, 2007, 03:19:04 am » |
|
Uses to much server resources to use GD.
|
|
|
|
|
Logged
|
|
|
|
WebCM
Jr. Member

Honor: 2
Offline
 Poland
Posts: 59
|
 |
« Reply #21 on: June 17, 2007, 08:13:52 am » |
|
Do not use GD but optimize your (x)HTML, JS, CSS.  The browser caches images, CSS, JS files unless you don't refresh page (F5). Previous and next pages are also stored - but if your site is downloaded again after "Back" clicking, use the following PHP code before <html>: Header('Cache-control: public');
If you don't use PHP on some of your pages (e.g. documents, listings), set their extention to .html. I'm looking forward to PHP5.  Heavy functions can be disabled. It's important to be enabled: MySQLi. Optional: SQLite, PDO.
|
|
|
|
|
Logged
|
Do not install scripts that use huge amounts of RAM and CPU power! Nie instalujcie zasobożernych skryptów na serwerze dHost!
|
|
|
grayen
Newbie
Honor: 0
Offline
Posts: 8
|
 |
« Reply #22 on: June 17, 2007, 11:02:27 am » |
|
I find the following the most important in PHP5:
|
|
|
|
|
Logged
|
|
|
|
|
Michael
|
 |
« Reply #23 on: June 17, 2007, 02:19:22 pm » |
|
ok php5 is coming  (this will take some time)
|
|
|
|
|
Logged
|
|
|
|
Jack McKalling
Full Member
 
Honor: 0
Offline
 Netherlands
Posts: 212
Love Eternally.
|
 |
« Reply #24 on: June 18, 2007, 07:29:59 pm » |
|
Cool  I am looking forward for this upgrade. Actually, it comes quite convenient; a little while ago I stopped developing a certain technology because this version did not have sufficient support for XML. Now I can resume I am for the idea that there would be a switch in the user profile. And I think that all user accounts should have 4 for standard, while we all have coded in that version for now. So we have the oppurtunity to upgrade ourselves when and if we want to. Though, with this update, I hope the error reporting system will update too. I keep getting frustrated about those errors which I don't get, sometimes the updated code is so big that manually tracing the bug is too hard. Once again, maybe a central platform (password protected, which saved in session) from which a certain page can be called, which will get errors showed?
|
|
|
|
|
Logged
|
Call me Jack 
|
|
|
WebCM
Jr. Member

Honor: 2
Offline
 Poland
Posts: 59
|
 |
« Reply #25 on: June 18, 2007, 10:49:44 pm » |
|
Is PHP4 really needed? It can be run from e.g. CGI but 2 versions can slow the server. In my opinion, only PHP5 should be running after the upgrade.
If a lot of users complain that their need PHP4 and they can't update their scripts, that version could be also run.
|
|
|
|
« Last Edit: June 18, 2007, 10:50:31 pm by WebCM »
|
Logged
|
Do not install scripts that use huge amounts of RAM and CPU power! Nie instalujcie zasobożernych skryptów na serwerze dHost!
|
|
|
grayen
Newbie
Honor: 0
Offline
Posts: 8
|
 |
« Reply #26 on: June 19, 2007, 07:34:08 am » |
|
I agree with WebCM. I find one thing really strange.. why are so many people afraid of their script get broken. It shouldn't break, because normaly PHP4 scripts can run on a PHP5 server. Is error reporting off? Ow.. that's one of the most important features of PHP and really necessary for a scripter. Why should you turn it off? as a scripter you can simply turn it off by yourself if you didn't needed it. http://nl2.php.net/error_reporting
|
|
|
|
|
Logged
|
|
|
|
|
shaq
|
 |
« Reply #27 on: June 19, 2007, 10:02:25 am » |
|
at last! php 5! thx michael i'll love it <3
|
|
|
|
|
Logged
|
omg i love the POST button <3
|
|
|
Jack McKalling
Full Member
 
Honor: 0
Offline
 Netherlands
Posts: 212
Love Eternally.
|
 |
« Reply #28 on: June 19, 2007, 08:19:08 pm » |
|
Is error reporting off? Ow.. that's one of the most important features of PHP and really necessary for a scripter. Why should you turn it off? as a scripter you can simply turn it off by yourself if you didn't needed But I didn't! It is defaultly off at the host, I can't even turn it back on per script  You are absolutely totally right, it is necessary, tell the hostmaster
|
|
|
|
« Last Edit: June 19, 2007, 08:20:54 pm by Dan The Prof »
|
Logged
|
Call me Jack 
|
|
|
grayen
Newbie
Honor: 0
Offline
Posts: 8
|
 |
« Reply #29 on: June 19, 2007, 08:27:32 pm » |
|
@shaq at last! php 5! thx michael i'll love it <3 Where? when i visit my website here on dhost with the php function phpinfo() on it, it shows the following: PHP Version 4.4.7 @Dan The Prof Why should you turn it off? The question was meant for the webmaster, not you  .
|
|
|
|
|
Logged
|
|
|
|
|