User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 426,590 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,677 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1478 | Replies: 2
Reply
Join Date: Nov 2004
Posts: 2
Reputation: aphex23 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aphex23 aphex23 is offline Offline
Newbie Poster

uber newbie :(

  #1  
Nov 3rd, 2004
I am very, very new to this whole php thing, so i am sorry for being so dumb, i am trying to learn, and i am going crazy! I am trying to get several scripts working but keep getting similar errors for them.. looks something like this

Warning: Division by zero in /usr/local/psa/home/vhosts/darrenthomas.net/httpdocs/test.php on line 7

Warning: Division by zero in /usr/local/psa/home/vhosts/darrenthomas.net/httpdocs/test.php on line 7

Warning: main(php): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/darrenthomas.net/httpdocs/test.php on line 7

Warning: main(): Failed opening 'php' for inclusion (include_path='.:/usr/local/psa/apache/lib/php') in /usr/local/psa/home/vhosts/darrenthomas.net/httpdocs/test.php on line 7

Now, i would like to note, they work if i put the page file in where the scripts are (same dir) but i get this error when i try to call them from the site root.. i have all the php files in a folder names /php/foldername <-- hope that makes sense.. I dont get what i need to do, thanks a ton in advance!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,908
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 118
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: uber newbie :(

  #2  
Nov 4th, 2004
I'm confused what you mean. What does test.php look like? When does test.php work and when doesn't it? When test.php is in the site root, you can run it just fine?
Reply With Quote  
Join Date: Nov 2004
Posts: 2
Reputation: aphex23 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aphex23 aphex23 is offline Offline
Newbie Poster

Re: uber newbie :(

  #3  
Nov 4th, 2004
Well, I scrapped that script, and got another one.. and got those working so, thanks for the attempt to help though!! :mrgreen:
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 10:43 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC