Jump to content

Php Paths Incorrect, Or Am I Just Losing It?

Recommended Posts

I am attempting to use DataGrids in php. I see the files in my php/Structures folder, and I can eventually get to the file by:


>require ("/home/myname/php/Structures/DataGrid.php");

But then the DataGrid.php code throws an error becauser it can't open a necessary file from its position. I think this is due to the path settings.


Can someone show me what I am doing wrong? I just think it is odd that the path doesn't work (or I am missing something). Also, I noticed that the items I installed did not show up in cPanel under "Installed PHP Extension(s) and Application(s)".


Thanks for any help!

Link to post
Share on other sites

Thanks! I have done a lot of work on my site.When I started, I made the site in loose OO style. I am currently working on making it closer to the real thing. Within this year, I want to redesign the site to be very close to perfectly OO. The biggest dread is making a class for a major piece on my website. But I know once I do that, I will be in great shape to make a few more sites.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...