Jump to content


Photo

help.... i keep gttin an error :(---need to be good at php


  • Please log in to reply
7 replies to this topic

#1 runnerjp

runnerjp
  • Members
  • PipPipPip
  • Advanced Member
  • 2,214 posts

Posted 29 August 2006 - 06:14 PM

hey////

    i added this to my homepage <?php include("http://runnerselite....a=news&show=10"); ?> so that i could get top 10 posts from my smf forum

and when i access my page all i get is this error message

Warning: main(http://runnerselite....?a=news&show=10): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/runnerse/public_html/index.php on line 76


what does it mean :S

#2 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 29 August 2006 - 06:16 PM

well it usually means that you don't have the right path to the file you want to include.
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#3 runnerjp

runnerjp
  • Members
  • PipPipPip
  • Advanced Member
  • 2,214 posts

Posted 29 August 2006 - 06:21 PM

ok now its saying

Please don't access SSI.php by URL directly; you may want to use the path ('SSI.php') or add ?ssi_function=something.

how wud i edit <?php include("http://runnerselite....a=news&show=10"); ?> to make it work :D

#4 runnerjp

runnerjp
  • Members
  • PipPipPip
  • Advanced Member
  • 2,214 posts

Posted 29 August 2006 - 06:42 PM

n e 1?

#5 runnerjp

runnerjp
  • Members
  • PipPipPip
  • Advanced Member
  • 2,214 posts

Posted 29 August 2006 - 07:41 PM

?

#6 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 29 August 2006 - 07:46 PM

Have no idea. But what I can tell you are running SMF. I suggest you get help over at smf help forum.

#7 runnerjp

runnerjp
  • Members
  • PipPipPip
  • Advanced Member
  • 2,214 posts

Posted 29 August 2006 - 07:47 PM

where is the smf help forum

#8 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 29 August 2006 - 08:38 PM

simplemachines.org????

Info: PHP Manual





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users