php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "width"

How can the font width be adjusted in FPDF when generating PDFs?

To adjust the font width in FPDF when generating PDFs, you can use the SetStretching() method provided by the FPDF library. This method allows you to...

How can PHP beginners effectively handle font size and style when calculating string width?

When calculating string width in PHP, beginners can effectively handle font size and style by using the `imagettfbbox()` function to get the bounding...

What function in PHP can be used to determine the height and width of an image?

To determine the height and width of an image in PHP, you can use the `getimagesize()` function. This function returns an array containing the dimensi...

Are there any best practices for efficiently truncating a string to fit a specific width in FPDF?

When working with FPDF in PHP, there may be a need to truncate a string to fit a specific width in order to prevent text overflow in the generated PDF...

How can the dimensions (height and width) of an uploaded file be retrieved using PHP's $_FILE array?

To retrieve the dimensions (height and width) of an uploaded file using PHP's $_FILE array, you can use the getimagesize() function. This function ret...

Showing 36 to 40 of 800 results

‹ 1 2 ... 5 6 7 8 9 10 11 ... 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.