uber newbie :(

Reply

Join Date: Nov 2004
Posts: 2
Reputation: aphex23 is an unknown quantity at this point 
Solved Threads: 0
aphex23 aphex23 is offline Offline
Newbie Poster

uber newbie :(

 
0
  #1
Nov 4th, 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!
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,053
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: uber newbie :(

 
0
  #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?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 2
Reputation: aphex23 is an unknown quantity at this point 
Solved Threads: 0
aphex23 aphex23 is offline Offline
Newbie Poster

Re: uber newbie :(

 
0
  #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 Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC