RORJACK Posted May 3, 2012 Share Posted May 3, 2012 Hi, I've been using this tutorial all afternoon, and it's been great, but I wonder if it's outdated... http://www.tizag.com/phpT/index.php I'm using WAMPSERVER 2.2 and PHP 5.3.10 Any recommendations for good up-to-date/relevant tutorials? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/261982-need-some-feedback-on-beginner-php/ Share on other sites More sharing options...
xyph Posted May 3, 2012 Share Posted May 3, 2012 It's good, from the sections I've seen. If you're following it so far, you're off to a great start. Just remember, it's a constant learning process Quote Link to comment https://forums.phpfreaks.com/topic/261982-need-some-feedback-on-beginner-php/#findComment-1342491 Share on other sites More sharing options...
PFMaBiSmAd Posted May 3, 2012 Share Posted May 3, 2012 What makes you think it is outdated? I just paged through to at least the 'switch' statement page and the only thing mentioned up to that point that should not have been is that there is a short opening php tag (which did state that it must be enabled in order to be used.) Our advice is to never use the short opening php tag. edit; I'm up to the magic_quotes page and the only thing so far is it mentioning php6. That information should state it apples to php5.4 edit2: It should probably mention testing for upload errors on the upload page. Actually, any basic programming tutorial should mention, up front, the need to test for possible errors at each step in the process so that you don't blindly attempt to use non-existent data and trigger follow-on errors. Quote Link to comment https://forums.phpfreaks.com/topic/261982-need-some-feedback-on-beginner-php/#findComment-1342493 Share on other sites More sharing options...
RORJACK Posted May 3, 2012 Author Share Posted May 3, 2012 thanks guys, I can't find the specific tutorial I was using on that site, but $PHP_SELF was giving me trouble, but then replaced it with: $_SERVER['PHP_SELF'] which seemed to be a newer type of syntax. Also it kept having me put in semicolons before <b/>, which just showed up on the localhost webpage and didn't seem to perform any real function. In any case, I think I'm just grasping at straws here as I start out. Thanks for the advice. Any thoughts on Lynda.com? Quote Link to comment https://forums.phpfreaks.com/topic/261982-need-some-feedback-on-beginner-php/#findComment-1342494 Share on other sites More sharing options...
PFMaBiSmAd Posted May 3, 2012 Share Posted May 3, 2012 I don't think you found a $PHP_SELF on that site, but yes, that would be an old and out of date feature. The setting that causes $PHP_SELF to exist was depreciated and turned off by default in php4.2 in April of 2002, throws a depreciated error when turned on in php5.3 (which is when the depreciated error type was added), and has been completely removed in php5.4. Quote Link to comment https://forums.phpfreaks.com/topic/261982-need-some-feedback-on-beginner-php/#findComment-1342496 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.