php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "width"

What PHP function can be used to retrieve the dimensions (width and height) of an image file?

To retrieve the dimensions (width and height) of an image file in PHP, you can use the `getimagesize()` function. This function returns an array conta...

What is the significance of specifying a fixed width for a table cell in PHP?

Specifying a fixed width for a table cell in PHP can help ensure consistent formatting and layout of the table content. This is particularly useful wh...

What is the best way to calculate the width of a string in pixels using PHP?

To calculate the width of a string in pixels using PHP, you can use the `imagettfbbox()` function which calculates the bounding box of a text using Tr...

How can PHP be used to extract metadata such as height and width from WMV files?

To extract metadata such as height and width from WMV files in PHP, you can use the getID3 library. This library allows you to read metadata from vari...

What is the best way to extract the width and height of a JPG image in PHP?

To extract the width and height of a JPG image in PHP, you can use the `getimagesize()` function. This function returns an array with information abou...

Showing 71 to 75 of 800 results

‹ 1 2 ... 12 13 14 15 16 17 18 ... 159 160 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.