• 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

    • Nothing inherently wrong, but why buy 2021 tech in 2025? Assuming you were aiming for 6-10 years of usage, better to buy something current.
    • I have begun using Windows 11 native passkey feature. i have four passkeys set up so far. Three work fine, One has never worked. I have removed it and recreated it several times, still no luck. Anyway, on the websites in which it works, it works geat. No more two 2FA.
    • No, because most people coming into the workforce are already familiar with either MS Office or Google Docs. You know, from schools. Also, OnlyOffice is Russian, which should be a nogo for almost any European government
    • XMedia Recode 3.6.1.3 by Razvan Serea XMedia Recode is a free video and audio converter. XMedia Recode supports nearly all audio and video codecs. With XMedia Recode you can easily convert nearly all film and music files in the format you want. Convert for countless devices, select the predefined profile (iPhone, iPad, iPod Touch, Android-Tablets, Sony PSP, Amazon Kindle, Smartphones Blackberry, Wii und DS, Cowon, Android, HTC, Xbox360, Samsung, LG). XMedia Recode converts: 3GP in AVI, 3GP in FLV, AC3 in MP3, AC3 in WAV, ASF in 3GP, ASF in FLV, ASF in MP4, AVI in FLV, AVI in 3GP, FLAC in MP3, FLAC in WMA, FLV in 3GP, FLV in Mp3, DVD in 3GP, DVD in AC3, DVD in AVI, DVD in MP3, DVD in MP4, DVD in MOV, DVD in SVCD, DVD in VCD, DVD in WMV, OGG in MP3, OGG in WMA, MPEG in AVI, MP2 in MP3, MP4 in FLV, MP4 in AVI, M4P in MP3, MOV in 3GP, MOV in AVI, MOV in FLV, WMA in MP3, WMV in FLV, WAV in MP3. Main functions of XMedia Recode: Extracts audio tracks from DVD, Blu-ray and video files Framework also freely selectable color (Padding) Drag-n-drop of video files directly on the encoder Selection display format (1: 1, 3:2, 4:3, 5:4, 5:6, 11:9,16: 9, 16:10, 2.21: 1) Zoom shot (none, type character box, media, Pan Scan, to screen) ''Direct Stream'' copies the audio stream or video stream into the target format 2-Pass-Encoding Volume correction Can change framerate, bit rate, resolution Can extract audio stream of most video formats Produce DVD copies for mobile phones, various mobile devices Edit Video: Color correction Video cut Cropping Denoise Delogo Deblocking De-interlacing Flip Image Start Time End Time Resolution Rotate Image Sepia Sharpness Padding Video fade in / fade out XMedia Recode 3.6.1.3 changelog: Update of ffmpeg AOM AV1 Codec: Added "Quantization" options Update of x264 (3221) Codec Update of the Italian language file Update of the Korean language file Fixed minor bugs Download: XMedia Recode 64-bit | Portable ~20.0 MB (Freeware) Download: XMedia Recode 32-bit | Portable Download: XMedia Recode for Windows XP SP3, Vista | Portable ~10.0 MB View: XMedia Recode Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • It's not a joke but I think it is pretty hilarious I was searching Fitch for a credit rating on a fund.   I found what Fitch had to say about the fund including this disclarimer.  LOL "This abstract may have been generated in whole or in part using artificial intelligence and is therefore subject to error and inaccuracy, including but not limited to, hallucination" No link posted for privacy reasons.       
  • Recent Achievements

    • Dedicated
      Cole Multipass earned a badge
      Dedicated
    • Week One Done
      Alexander 001 earned a badge
      Week One Done
    • Week One Done
      icecreamconesleeves earned a badge
      Week One Done
    • One Year In
      PAC0 earned a badge
      One Year In
    • One Month Later
      PAC0 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      567
    2. 2
      +FloatingFatMan
      191
    3. 3
      ATLien_0
      187
    4. 4
      Skyfrog
      114
    5. 5
      Som
      109
  • Tell a friend

    Love Neowin? Tell a friend!