reading a text file using php programming

Category: Phpbb

Merlinore
Asked:
2012-08-25 10:43 pm EST

Hits: 1,301
Need to know the full path name to read a text file on the website. Inmotion website.

currently using the following :

$file = /home/"username"/public_html/subdirectory/filename.


This does not seem to work.

thanks.

Merlin VIlhauer

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

Scott
Staff
17,014 Points
2012-08-28 2:53 pm EST
Hello Merlinore,

The path structure you are using is correct. Be sure that the program does not need only the relative path instead of the full path.

Best Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!