• 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

    • Wall cabinet: Fiber connection (1Gbps) Patch panel 2.5Gbps Router A mini PC with Ryzen 5800H CPU and 32GB DDR4 RAM, for network related tools (Portainer, Pi-Hole, Cloudflared, Tailscale, Uptime Kuma, Wetty) A headless server running Proxmox: AMD Ryzen 9 9950X CPU, 96GB DDR5, RTX 3090 24GB GPU, 10Gbps NIC, and a bunch of NVMs, SATA SSDs, HDDs A VM with TrueNAS for backups and media server via Jellyfin, passing through the SATA storage controller A VM with an Ubuntu server acting as a web and a GPU server for AI workloads, and a TeamCity build/deploy agent for my personal projects This setup has evolved many times for the last 2 years, I have not gone completely crazy, yet (I think), but still experimenting, still learning, it is a fun and rewarding experience having a home lab!
    • Microsoft PC Manager 3.17.4.0 (Offline Installer) by Razvan Serea With Microsoft PC Manager, users can easily perform basic computer maintenance and enhance the speed of their devices with just one click. This app offers a range of features, including disk cleanup, startup app management, virus scanning, Windows Update checks, process monitoring, and storage management. Microsoft PC Manager key features: Storage Manager- easily uninstall infrequently used apps, manage large files, perform a cleanup, and set up Storage Sense to automatically clear temporary files. Health Checkup feature -scans for potential problems, viruses, and startup programs to turn off. It helps you identify unnecessary items to remove, optimizing your system's performance. Pop-up Management - block pop-up windows from appearing in apps. Windows Update - scans your system for any pending updates. Startup Apps - enable or disable startup apps on your PC, allowing you to optimize your system's startup performance. Browser Protection - rest assured that harmful programs cannot alter your default browser. Also enables you to change your default browser. Process Management - allows you to conveniently terminate any active process, ensuring optimal system performance and resource utilization. Anti-virus protection - Fully integrated with Windows Security. Safeguard your PC anytime. Quick Steps: Download Microsoft PC Manager Offline Installer (APPX/MSIX) with Adguard Adguard serves as a third-party online service, offering a user-friendly method for directly downloading appx, appxbundle, and msixbundle files from the Microsoft Store. Official download links will be generated for both the app's various versions and its dependency packages. How to download Microsoft PC Manager Offline Installer (APPX/MSIX) 1. Initially, you must find the app URL within the Microsoft Store. Access the Microsoft Store via your browser and search for "Microsoft PC Manager". Once located, copy the app URL, which includes the product ID, either from the address bar or from the provided link below. https://apps.microsoft.com/detail/9PM860492SZD 2. Now paste the app URL into the designated area, then click the check mark button to produce a direct download link. 3. To download, right-click the relevant link and select “Save link as…” from your browser's menu. Occasionally, Microsoft Edge may flag the download as insecure. In such cases, consider utilizing alternative browsers such as Google Chrome or Firefox to successfully complete the download. Microsoft PC Manager is a completely free tool optimized exclusively for use on Windows 10 (version 1809 or newer) and Windows 11. Download: Microsoft PC Manager 3.17.4.0 | from Microsoft Store View: Microsoft PC Manager Home Page Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • You might want to update to 1TB drive.  They are not very expensive these days, there are plenty of options - simple look I would think you could find a 1TB ssd or even nvme somewhere between 50 and 100 bucks. when I have moved to larger ssds in laptop in the past, you can just connect the drive via usb - image.  Then take the old drive out, put in the new drive and there you go..  If your concerned about how much space you have left this prob your best bet..   
    • I see! Wasn’t aware of that. Even though they started off with desktop app for Mac before Windows. Should be on it’s way soon! 🤞
    • support.microsoft.com/en-us/topic/microsoft-defender-update-for-windows-operating-system-installation-images-1c89630b-61ff-00a1-04e2-2d1f3865450d
  • Recent Achievements

    • First Post
      Johnny Mrkvička earned a badge
      First Post
    • Week One Done
      viraltui earned a badge
      Week One Done
    • One Month Later
      serfegyed earned a badge
      One Month Later
    • Dedicated
      firey earned a badge
      Dedicated
    • Dedicated
      fettermanj earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      632
    2. 2
      ATLien_0
      224
    3. 3
      Michael Scrip
      219
    4. 4
      Xenon
      150
    5. 5
      +FloatingFatMan
      140
  • Tell a friend

    Love Neowin? Tell a friend!