• 0

PHP what are it's uses


Question

Hi,

i started learning the PHP, and find out that it is very similar to C than any other language,

now my question is, why do you need it on the web?

i know that is really a dumb question,

but the web programming is like a blank page for me.

thanks in advance.

Link to comment
https://www.neowin.net/forum/topic/371604-php-what-are-its-uses/
Share on other sites

14 answers to this question

Recommended Posts

  • 0

allows you to work with databases, keep information organized, analyze that information, perform repetitious tasks with the same sort of elements, update one file and have those effects seen on every other page related to it, etc. it's incredibly powerful and definitely recommended, especially now.

  • 0

Without it, you'd have static websites. With PHP, you can make pages totaly dynamic, you can make CMS so users can change content, change structure of pages, ... basicaly, you can make a framework, where you can control every detail on website through administrative pages. You can also create images (put text on pictures, combine pictures, make shadows, ...) or you can resize them if you suddenly change your mind about images' sizes, so you don't have to reload everything. You can make Flash animations (well, if you have way too much time), ... Practitaly, you can do almost everything with PHP, even standalone applications for Windows/Linux etc.

Bottom line: if you do your planning well, it's amazing what you can do with it. But do make sure you use objects :)

  • 0

nice, i didn't know :)

i didn't get to the object (C++ like?) part, sounds interesting.

is it hard to integrate it to the webpage design (since the basic design is still HTML, right?)?

and i understood that you need to know SQL in a good level in order to make something out of PHP, is it correct also?

again many thanks :p

  • 0
  valhalla_rk said:
nice, i didn't know :)

i didn't get to the object (C++ like?) part, sounds interesting.

is it hard to integrate it to the webpage design (since the basic design is still HTML, right?)?

and i understood that you need to know SQL in a good level in order to make something out of PHP, is it correct also?

again many thanks :p

586521172[/snapback]

Its easy to integrate it to your html code because it outputs to html so the clients browser can understand it.

SQL is very easy to learn.

Go to http://www.w3schools.com/ and they have some nice tutorials on php and SQL.

  • 0
  valhalla_rk said:
is it hard to integrate it to the webpage design (since the basic design is still HTML, right?)?

Since PHP isn't a language the browser reads, it will not inflict with the design what so ever (unless the same version in HTML would).

It is very easy to integrate it too, you simply smack in your <?php and ?> tags and start coding away! :)

  Quote
and i understood that you need to know SQL in a good level in order to make something out of PHP, is it correct also?

You can work without any databases in PHP, but it's not really fun, so learning (My)SQL would be a good idea ;)

  Quote
again many thanks :p

You're welcome :)

  • 0

As for design goes, you can use Smarty, the template class. It's really easy, so you don't have to type any HTML code in your code. Actually, this you should know from the beginning: NEVER hardcode any HTML in it. Just a friendly advice :)

Now we've given you all the info you need to start, go download a good IDE (I strongly suggest Eclipse) and start coding :)

  • 0

I've been too lazy to try it, but it has always sounded great. I know I'll hate it if my next design consists of more than changing graphics and CSS file. I'm also worried about performance issues, but I guess I'll just have to do more research on it.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • This is the reason Microsoft stepped away from Aero for a more subtler transparency. Apple I believe had the perfect balance of transparency and readability, but not with this redesign in its current form. As for people who believe Windows has an 8-bit interface, well, at least you can read stuff.
    • who ever thought this looked good needs to rethink their design credentials.....
    • There's a few here upset Kamala Harris never got the Presidency! lol....
    • Yeah, he identified a whole lot of wasteful spending of US taxpayer money. What's wrong with that? Nothing, unless you had your fingers in the pie of course.
    • How to reduce the annoying Liquid Glass effects on iOS 26 by Aditya Tiwari Apple announced Liquid Glass at WWDC 2025 in all of its glory. It's a new glass-inspired design language from the iPhone-maker making its way to most of its software platforms, including iOS 26, iPadOS 26, macOS 26, tvOS 26, and watchOS 26. Apple markets Liquid Glass as a new translucent material that "behaves like glass in the real world. Its color is informed by surrounding content and intelligently adapts between light and dark environments." The Cupertino giant isn't wrong. The new glass-inspired design does bring a fresh coat of paint and some beautiful visuals to the iPhone and other Apple-made devices. However, as the dust from the mega arrival settles, people are starting to realize the current drawbacks of having too much glass on their device. There have been reports of users, including those at Neowin, experiencing readability issues, background separation issues, and trouble focusing on the content displayed on the screen due to its transparent nature. While these are small nuances on Apple's part that can be fixed without much hassle, it's degrading the initial experience of what the company calls its biggest visual upgrade since iOS 7. That said, there are some workarounds built into iOS 26 that will help you tone down the shortcomings. If you're running the iOS 25 Developer Beta 1 on your supported iPhone model, you can follow these steps to make things a little better: Go to the Settings app on your iPhone. Scroll down and tap on Accessibility > Display & Text Size. Next, you'll find two toggle options: Reduce Transparency and Increase Contrast. When you enable the Reduce Transparency toggle button, iOS 26 can "improve contrast by reducing transparency and blurs on some backgrounds to increase legibility." The other toggle, Increase Contrast, does what its name suggests. It can "increase color contrast between app foreground and background colors." Enabling each of these toggle buttons individually or simultaneously will have different effects on your iPhone's user interface. Control Center is being criticized for the extra transparency, making the UI look cluttered and difficult to focus. Here, the Reduce Transparency button adds a darker background to make the Control Center UI elements stand out. Liquid Glass transparency issues are also prevalent in the Notification Center and the navigation controls of various apps. In the image above, see how the text of the navigation buttons has become unreadable or hard to focus on with certain backgrounds. It's challenging to determine what can trigger such behavior, as one can have countless color combinations on their device. In the image below, this is how these buttons look when both Reduce Transparency and Increase Contrast are enabled. It's still a hit or miss depending on what colors you are dealing with. Part of the blame also goes to the fact that iOS 26 is still an early beta, and the change doesn't render as intended every time. You can also notice the difference in the look and feel of the Control Center when reduced transparency is turned on. On a side note, you can add the Reduce Transparency and Increase Contrast buttons in the Control Center for quicker access. That said, let's wait to see what changes Apple will implement as it continues to gather feedback through the beta program. Hopefully, the software will become more stable when the first public beta of iOS 26 arrives sometime in July. Interested users can try out the latest iPhone update through the developer beta program, noting that early builds might come with unexpected bugs and issues.
  • Recent Achievements

    • One Month Later
      greege earned a badge
      One Month Later
    • Week One Done
      greege earned a badge
      Week One Done
    • Week One Done
      LagFighterZ earned a badge
      Week One Done
    • First Post
      ThatGuyOnline earned a badge
      First Post
    • One Month Later
      5i3zi1 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      547
    2. 2
      ATLien_0
      230
    3. 3
      +FloatingFatMan
      166
    4. 4
      Michael Scrip
      119
    5. 5
      +Edouard
      91
  • Tell a friend

    Love Neowin? Tell a friend!