Jump to content


Photo

PHP.ini help please


  • Please log in to reply
2 replies to this topic

#1 evil sulu

evil sulu
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 10 October 2006 - 01:38 PM

Hi guys, I'm a php noob and I need help getting a killboard script to run on my site. The user uploads their portrait to the script, which is stored on the webshost. In order to make it work right the following must be done:

- Set permissions so that the user your webserver runs under is allowed to create files in cache/map and cache/portraits.
- Enable URL file access in your PHP configuration

I suspect that I need to tweak my php.ini file in order to make this feature work properly. Can anyone help me out on what I need to do?

Thanks, -sulu

#2 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 10 October 2006 - 02:18 PM

1. Set allow_url_fopen to on
2. That is a matter of file permissions (chmod on linux).

#3 evil sulu

evil sulu
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 10 October 2006 - 02:30 PM

A million thanks Daniel0! It worked like a charm.  ;D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users