Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » PHP include code
PHP include code [message #46362] Wed, 10 September 2003 13:22 Go to next message
Skier222 is currently offline  Skier222
Messages: 336
Registered: March 2003
Location: Honeoye Falls, NY
Karma: 0
Recruit

hi,

i want to know if this is right, cause its not workin at all

<?php include ("poll/poll.php"); ?>


Modern Warfare site: http://modernwarfare.tk
PHP include code [message #46367] Wed, 10 September 2003 13:45 Go to previous messageGo to next message
Dante
Messages: 1039
Registered: February 2003
Karma: 0
General (1 Star)
just try

<?php include './poll/poll.php' ?>


if that doesn't work, look at where it is looking at for the file in the error message, and adjust your './poll/poll.php' accordingly


PHP include code [message #46372] Wed, 10 September 2003 14:00 Go to previous messageGo to next message
Skier222 is currently offline  Skier222
Messages: 336
Registered: March 2003
Location: Honeoye Falls, NY
Karma: 0
Recruit

thx

i didnt try that, i asked another guy before u reply and he said:

<div align="left">
<?php include ("poll/poll.php") ?>
</div>



and it worked Very Happy Very Happy


Modern Warfare site: http://modernwarfare.tk
PHP include code [message #46374] Wed, 10 September 2003 14:04 Go to previous message
Dante
Messages: 1039
Registered: February 2003
Karma: 0
General (1 Star)
yeah, php process the directory odd, you do ./ and it might go to 2 root folders down, while / will do 1, while the standard is / is web root, and ./ is current directory...

Previous Topic: Vehicle N00b+Level Edit+Hovermlrs and rep tanks=migraine
Next Topic: Most-polies-for-stupidest-object award
Goto Forum:
  


Current Time: Wed Dec 25 05:56:23 MST 2024

Total time taken to generate the page: 0.01118 seconds