• 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

    • It has the same switch to allow whitelisting or not as the regular AdBlock extension.
    • These 20 crypto phishing applications are scamming Play Store users by Hamid Ganji Google Play Store is the main venue for Android users to download applications. While Google has strict rules and policies for verifying apps, some malicious apps somehow slip through anyway. Meanwhile, when it comes to crypto wallet apps, both Google app auditors and Play Store users need to be even more cautious. Cyble Research and Intelligence Labs has identified at least 20 crypto phishing applications on the Google Play Store that impersonate legitimate and popular crypto wallet apps and try to steal users' crypto credentials. By impersonation, these malicious apps trick users into downloading them and then start to capture the user's actual login data. "What makes this campaign particularly dangerous is the use of seemingly legitimate applications, hosted under previously benign or compromised developer accounts, combined with a large-scale phishing infrastructure linked to over 50 domains. This extends the campaign's reach and lowers the likelihood of immediate detection by traditional defenses." Cyble writes. Some of these malicious apps have the same name but come with a different package name. After removing duplicate names, here's the list of 9 newly discovered crypto phishing applications on the Play Store: Pancake Swap Suite Wallet Hyperliquid Raydium BullX Crypto OpenOcean Exchange Meteora Exchange SushiSwap Harvest Finance Blog According to Cyble, these apps prompt users to enter their 12-word mnemonic phrase to access the fake crypto wallet. Also, scammers use accounts that were previously used to distribute legitimate apps to minimize the risk of getting caught by Google. These accounts are more likely to be compromised and then taken over by scammers. If you've downloaded any of these fake crypto wallet apps from the Play Store, make sure to delete them as soon as possible. In 2024, revenue from crypto scams was estimated to be around $9.9 billion. This billion-dollar crypto scam business is expected to grow massively in 2025 thanks to AI.
    • Again...just because Microsoft never managed to be as successful as Google in that business that doesn't mean they are not exactly what Google is. An online advertising company. Edge's built in ad block in case you don't know whitelists their own advertising platform. According to Microsoft... Google ads and tracking bad, Microsoft ads and tracking good:)
  • Recent Achievements

    • Reacting Well
      viraltui earned a badge
      Reacting Well
    • Week One Done
      LunaFerret earned a badge
      Week One Done
    • Week One Done
      Ricky Chan earned a badge
      Week One Done
    • Week One Done
      maimutza earned a badge
      Week One Done
    • Week One Done
      abortretryfail earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      482
    2. 2
      +FloatingFatMan
      264
    3. 3
      snowy owl
      239
    4. 4
      ATLien_0
      228
    5. 5
      Edouard
      179
  • Tell a friend

    Love Neowin? Tell a friend!