New to PHP and have an issue
Posted: Thu Apr 13, 2006 12:42 pm
Hi,
I have some experience (very very small) programing with php, but here is the issue. The IT company that I work for has put me in charge of maintaining the server because I am their web designer. A recent issue has come up. A client contacted me with an issue that I am not sure how to deal with. Here is what he wrote:
"We're adding some features to both the public and administrative side of (website). Both rely on PHP.
The first feature allows site visitors to email a link to a page on the site from the site itself. The other feature allows Wingspan staff to upload newsletters to the site through an admin panel they use as part of their content management system.
Although both features work fine on my local system running PHP 4, The mail feature doesn't work when we test it on (website). Also, the file upload, works fine with files up to 2MB, but won't allow for larger than that.
I ran phpinfo on (website) and it appears no sendmail or smpt path has been added to the php.ini file. Additionally, for file uploads it appears the max_execution_time is set at 30 seconds and the upload_max_filesize is set at 2MB. It's possible some of the newsletters Wingspan will be uploading may be larger than that."
The Issue is that it appears that a setting needs to be adjusted to solve both of these issues but I have no idea how to adjust any settings. It seems that I have to adjust the php.ini file, but is that per site or server based? The server is running Windows 2003 Standard.
Any direction or help would be great. Remeber I am a novice.
I have some experience (very very small) programing with php, but here is the issue. The IT company that I work for has put me in charge of maintaining the server because I am their web designer. A recent issue has come up. A client contacted me with an issue that I am not sure how to deal with. Here is what he wrote:
"We're adding some features to both the public and administrative side of (website). Both rely on PHP.
The first feature allows site visitors to email a link to a page on the site from the site itself. The other feature allows Wingspan staff to upload newsletters to the site through an admin panel they use as part of their content management system.
Although both features work fine on my local system running PHP 4, The mail feature doesn't work when we test it on (website). Also, the file upload, works fine with files up to 2MB, but won't allow for larger than that.
I ran phpinfo on (website) and it appears no sendmail or smpt path has been added to the php.ini file. Additionally, for file uploads it appears the max_execution_time is set at 30 seconds and the upload_max_filesize is set at 2MB. It's possible some of the newsletters Wingspan will be uploading may be larger than that."
The Issue is that it appears that a setting needs to be adjusted to solve both of these issues but I have no idea how to adjust any settings. It seems that I have to adjust the php.ini file, but is that per site or server based? The server is running Windows 2003 Standard.
Any direction or help would be great. Remeber I am a novice.