php - How to include a .phar and reference it -


my directory looks this

enter image description here

then code looks this:

require "aws.*";  use aws\dynamodb\dynamodbclient; 

is right way it?

it doesn't show me error or don't know if it's working or not.

you can

include 'aws.phar'; 

or

include 'phar://aws.phar/internal/file.php'; 

or read documentation using phar

p.s. cannot use wildcards in require or include.

p.p.s. use not reference. read more use.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -