PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, August 30, 2022

[FIXED] How to use pear FILE package example

 August 30, 2022     file, pear, php     No comments   

Issue

Can someone give me example how to use installed pear package, specifically FILE package. I'm php beginner and have never worked with pear so I'm interested in how to use any package after installation...I just call classes and functions from package it self? Second thing that interests me, can I just include downloaded package where ever I need in my files and use it?

Thanks


Solution

There are some very good examples linked to from the official File documentation, and yes you pretty much just call those functions and methods in that package from your own code.

The answer to your second question is also "Yes" :-) You can include that package in your code where-ever you need it.



Answered By - kguest
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing