Jump to content

configuring php.ini for a hosting environment


Recommended Posts

i have wamp setup and currently have a few virtual host setup and working but i'm finding some PHP not working properly on my server but is on other servers, so my first assumption is that it's the php.ini file, could someone look at it for me and tell me if anything should be configured differently.

 

The notices i'm receiving :

Notice: Undefined index: sent in C:\wamp

 

it seems to be affecting sessions that post or get

 

appreciate any support.

 

 

-file attached

 

[attachment deleted by admin]

Link to comment
Share on other sites

well - there seems to still be an underlying problem other than poorly coded php

 

i install this form

http://tutorialzine.com/2009/09/fancy-contact-form/

 

on a godaddy server and everything runs smoothly yet when it's implemented on my server .. i get the below error

 

Notice: Undefined index: errStr in C:\wamp\www

 

i tried adding isset .. still not success

Link to comment
Share on other sites

As I said in my previous post. One server likely has notices hidden, this doesn't mean they don't exist.

 

You should fix the code. You should always check an index exists before attempting to access it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.