- Find your ‘MAMP’ directory in ‘Applications’
- Find ‘conf’ and open it up..
- Open up php4 or php5 (depending on your enabled version)
Line 270 should be something like this:270
error_reporting = E_ALL
Line 277 will be:
277
display_errors = Off
- Change this to:
277
display_errors = On
- Restart servers
Posts in category Ramblings
Error Reporting in MAMP
Welcome to the future!
Its 2012
And technology is going to be great this year:
- Apple iPhone 5
- Apple iPad 3
- Windows 8
- Quad Core Mobile Devices
- Xbox 360 Update
- PlayStation Vita
- Wii U
And with all this technology – is it possible that creating games and web development may also change. Maybe? Let’s see!
Regex in PHP – End
And that was one hell of a series, I hope that this has not just been enlightening but useful and so if you do use it just comment below. Personally it could be very very useful in dynamic coding situations such as blogs, forums etc…
Maybe even usernames, often you might want to strip out unwanted characters, search based on an algorithm or simply detect if a user inputted a certain word sequence.
In any way, I do hope this was of use.
Ajax developers!
Today I found a very interesting website. A place to dynamically generate loading images for such as Ajax web applications.
It really is very very useful.
PHP Strings as Arrays
Earlier I found out…
That strings can work like arrays, how?
1 2 3 4 | $string = "Hello World"; $letter1 = $string[2]; // 'l' $letter2 = $string[5]; // ' ' $letter3 = $string[6]; // 'W' |
Any use?
Or Xcode?
Is Xcode the way forward then?
Possibly,
It has the tools and abilities to develop for the iphone in a half and half drag and drop and coding approach, it’s nicer and more user friendly than flash but flash just seems so simple.
In-fact the real winner is neither – The real winner is what suits you best.
Theres little point in telling you what works for me – try them all, find the best and then you can truly know which is the best.
For you, anyways.
Is Flash the way forward?
Flash has been a tool, now what is it?
Many flash developers used the software for game development or animation. Now, the true authenticity of Flash has been reduced to something of a nuisance.
Am I In$4N3? Yes quite probably.
And this leads me on, as flash is utterly awesome, but as CS5 came witht the tools to create for the iPhone, did it really?
Here’s my argument against using CS5 for iPhone dev:
No;
Game Center
Resolution Independence
iAds / AdMob
iOS 4
Performance
Hmm, what do you think?
How torrents work
What is a torrent?
Well, Bittorrent networking is the most popular form of peer-to-peer file sharing. Generally used for illegal purposes as to share files they are unpopular by copyright organisations. Bittorrents (“torrents”) work by downloading small bits of files at the same time. Torrent downloading is extremely easy to use, and usually free. The python-language programmer, Bram Cohen, created the technology with the intent to share it with everyone and it is upon this same technology that many millions of users use.
It’s the ultimate peer-to-peer network where everyone is connected to each other and downloads small sections from each seeder at the same time.
Running Windows executables files on Mac
Windows exes? Mac?
Ok, I made something for you…
Mono (223.9 KiB, 7 hits)
Basically, it’s a windows exe file opener. Unfortunately for Mac only.
Basically, just drag and drop a windows exe onto it and it will open.
Please note, it requires:
Mono (Download for mac)
Have fun
Frames per Second
And that’s FPS to me and you
Ok, so Flash CS3 started with a default of 12! And it really was that bad, no animation or ActionScript could run very smooth at all!
Then CS4 and 5 started with 24! And it really was that good, it was mostly smooth and didn’t lag very much.
But, it can go all the way up to 120?!?, It can’t. Unless you have it as an application running on a very good computer it will never get to 120 fps.
So, 60? It’s a nice speed – supreme fluency but 60 is too much for a browser where it is perfect for a desktop application.
For me, it’s 30 – quite fluent in animation and ActionScript with little lag in browser.
Which do you like?
