Showing posts with label html5. Show all posts
Showing posts with label html5. Show all posts

Sunday, December 13, 2009

PHP error Warning: Cannot modify header information - headers already sent by ...

Error ...

PHP Warning: Cannot modify header information - headers already sent by.............

Hello PHP developers over there.This is a very frequent error or I will say an obvious error if you are new to PHP coding.It can occur due to many reasons such as:-

1. Headers must be parsed before any HTML,
2. Look for any statements that could send output to the user before this header statement. If you find one or more, find some way to move the header statement before them.
3.Make sure there is no white space outside of the php start and end tags. While a blank line before the 4.header("location:../first.php"); //'Location' should replace 'location'
5.fix your script to send the cookies at the correct time.
Solutions:-

Note: This Error irritates a lot.So if you are in a hurry go for Solution 3 and resume.:)
1.Try to resolve the above if exist.If the problem still persists..
2. Modify the PHP.ini file of your server by turning => output_buffering=on or output_buffering = 4096
3. Best Solution:

try placing this at the top of your page:
//Its turning on the output buffer.

then at the bottom of the page place this line of code:

//So any output is kept in the buffer.This is to flush the buffer.

Friday, October 30, 2009

What Next!!

From 64MB RAM to 4-8GBs of DDR RAM,381MHz to 3GHz QuadCore and more,Serial Port to USB 2.0,CRT to WXVGA to HDTV.28.8Kbps to 100Gbps of Internet.Wireless mouse to WIMAX.What next??
Do you think it is saturated??
Still more to come!!
Picture a day,Tap on your gigabit-wireless-connected tablet, to pull up a 3D movie on the razor-thin HDTV hanging on the wall. A media server streams the film via a superspeedy USB connection to a wireless HD transmitter, which then beams it to the TV.

Highlights:

1.USB 3.0 : The new USB 3.0 standard preserves backward compatibility by allowing older cables to plug into newer jacks; but newer cables like this one have extra pins that boost the data rate to 4.8 gbps.
It will be like before you leave your Workplace, you need to back up your computer. You push a button, and 5 minutes later, while you're still packing up, your system has dumped 150GB of data onto an encrypted 512GB superfast solid-state drive($2200 Introductory Price).
Imagine USB speed increasing 10 folds.All your USB devices will start sizzling.Printing,scanning,data transfer all the job will be done ten times faster.USB 3.0 could eliminate all the external ports except ethernet.
2.Rise of Wi-Fi : By 2012, two new protocols--802.11ac and 802.11ad--should be handling over-the-air data transmission at 1 gbps or faster.Today's Wi-Fi will be left in the dust by 802.11ac and 802.11ad, both of which will be capable of carrying multiple video streams and of operating at far higher data rates.
3.3D TV:Panasonic and other high-definition TV makers are looking to faux 3D technology to provide stereoscopic depth--and a reason for consumers to buy a newer set.
4.HTML5:Web pages built with HTML5 will display the same on any browser--desktop or mobile.Website designers and Web app developers won't have to deal with multiple incompatible formats and workarounds in their efforts to create the same user experience in every browser.HTML5 is now completing its last march toward a final draft and official support by the World Wide Web Consortium.
5.HDD with 3TB/inch: Jimmy Jian-Gang Zhu is developing a prototype of his microwave-assisted magnetic recording (MAMR) technique he believes will pack 3TB/square inch of a spinning disk.Seagate Technology has been championing an approach called heat-assisted magnetic recording (HAMR) that uses a tiny laser light on each drive head to heat a portion of the disk just before a write operation. Rival Hitachi Global Storage Technologies is working on a way to pattern tracks and even bit locations on media.All sides say they are actively exploring both technologies. Ultimately both technologies will be needed to deliver disks that pack 10 terabits or more per square inch.

What next??Post your reviews and ideas?

Source: eetimes.com and pcworld.com