reading a text file using php programming

Category: Phpbb

Merlinore
Asked:
2012-08-26 2:43 am

Hits: 633
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
2012-08-28 6:53 pm
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?

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. My email is being rejected due to abuse by inmotion as recognized by mailspike.org.
  2. how can I change a logo and columns on a Joomla template?
  3. Can't upload to wordpress media library

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!