Jump to content

rudi souza

New Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by rudi souza

  1. Hello to all Ive ran into a big problem with a new hosting service that our company has been using. Some of our clients have began using this host on our recommendation, and they have a Linux based plan. Their control panel gives them the option to use either php 4 or php 5. Our system, wich is the system our clients use, requires php 5. But PHP 5 wont function properly on this new host. Form data does not go trough the server. $_POST, $_GET, ENV_VARS, and any other super global that should contain form data is always empty. php://input is empty too. So...no forms works at all. I called support and they told me that "version 4 of PHP is ran under apache, while version 5 of PHP is run under CGI, we are aware of these problems with version 5 running under CGI and we have no idea how to fix it - thats why we tell our customers not to sign up a linux plan intending to use php 5". I know any of you would think by now "just change host". But, as much as Id love too, Im unable to - strict orders from the boss. I dont know the first thing about configuring PHP under CGI and how would it be possible to cause an error that makes parsing form data always null. Id be EXTREMELY gratefull if anyone could help me out, or point me out to some resources that I might look into. Thanks in advance, cheers
  2. I just read a few tutorials, seems rather easy to make an .htaccess file. Ideally for me, Id like to use sql to store the redirect paths and pull that data from sql directly, but I think this is a stretch right?
  3. I never actually got into htaccess, ill look for some tutorials, thanks
  4. bumping... hope anyone can help me out
  5. im using Centos 4.5
  6. Hello Im a novice php programmer, so excuse me if I may not be able to explain the issue correctly. Id like to have my host redirect the user on special URLS, much like seen in wikipedia, i.e. www.wiki.com/AlbertEinstein, www.wiki.com/LeonardoDaVinci Ideally, Ill have this redirect url path in my database, wich is a db of several image galleries of various artists. Id like the user to access galleries with this ease, as typing www.galleries.com/LeonardoDaVinci to access Leonardo's gallery. (this is not my actual hostname) A friend of mine told me I should look up on ISAPI filters, and I did google and read some of it, but am a little lost on the proper procedures to achieve this functionality with PHP. Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.