/    Sign up×
Community /Pin to ProfileBookmark

I just wanted some advice. I am relatively new to programming (about a year informally). I took a couple computer courses in college and programming in c++. All of which I did well in. I am a mechanical engineer by trade. I have studied HTML, CSS, and JavaScript. HTML and CSS was a breeze. JavaScript was a challenge but I think I have a decent grasp of it. About two months ago I started learning php. Understanding arrays, functions loops decisions and even classes (somewhat) hasn’t been a problem. However, I recently started doing practice work where I made an order form and a process form. Both programs work fine. When I added the fopen() function for creating files I got this error that read “no such file or directory exist …” The book I am reading talked about this error being related to being an authorized user. I have absolutely no idea how to resolve this issue and I am wondering if this is just noobie problems that I will understand better with time and practice or do I simply not have enough formal education and computer hardware and software knowledge to properly learn php. I guess I’m asking can you learn to program without a formal education (excluding high scholol computer wiz kid).

to post a comment
Full-stack Developer

7 Comments(s)

Copy linkTweet thisAlerts:
@NogDogFeb 08.2015 — My degree is in Music Education, so based on that, no, you don't have to have a computer engineering or similar degree -- though it certainly doesn't hurt. ?

As far as your problem goes, when your web page is processed on most servers (typically some flavor of Linux running an Apache web server), the actual PHP process will be run by a web-server user (typically "apache", "nobody", etc.), so that user has to have the necessary read and/or write permissions on any directories/files you want the script to access. So if your web site is set up with only your personal login having those permissions, you may need to open those permissions up a bit on directories and files that your script needs to use.
Copy linkTweet thisAlerts:
@webbydubaiFeb 09.2015 — Make sure you give right path than you can add array function
Copy linkTweet thisAlerts:
@TheHamburglarauthorFeb 09.2015 — Thanks webbydubai. That was it. The error code didn't help. I had simply specified too many levels in my folder path. The deeper I get into this the more difficult the error detection and problem solving becomes!
Copy linkTweet thisAlerts:
@TheHamburglarauthorFeb 09.2015 — Thanks nogdog! How long you been programming? I know we can all always get better but how long did it take you to become pretty proficient? How long before you created your first quality site?
Copy linkTweet thisAlerts:
@NogDogFeb 09.2015 — Thanks nogdog! How long you been programming? I know we can all always get better but how long did it take you to become pretty proficient? How long before you created your first quality site?[/QUOTE]

I sort of eased into the programming side of things from the testing side, as I got involved in various test automation tools. I first used PHP to help maintain an in-house, web-based test procedure recording app. That was probably in the late '90s and early 2000s, though I'd dabbled in some other web programing stuff before that (mainly a bit a Cold Fusion). I also had a wee bit of experience in some other languages, both as a hobbyist and for some work tasks (such as learning to use Perl and sed/awk to parse log files and such). I started getting really serious about web development and especially PHP maybe 10 years ago or so, eventually got a few freelance jobs, then about 3-1/2 years ago landed a full-time job where I'm at now, mainly doing server-side development for a patient review system.
Copy linkTweet thisAlerts:
@Gulty5Sep 25.2021 — There are a lot of students who want to learn the programming language which is not easy for everyone to do that. Now it is easier to get the [Best PCAT Prep Books](https://www.thebestdegree.com/medical/) for the preparation where students can prepare for the examination and get the best rank in studies.
Copy linkTweet thisAlerts:
@Kellyt54Oct 29.2021 — This is good to see that programming help is easily available where well-written content is available with quality punctuation options. Many people always face some punctuation problems which can be sort with the https://www.fluentin3months.com/vietnamese-pronunciation/ options and this can be helpful for unique and error-free content options.
×

Success!

Help @TheHamburglar spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...