?
Solved

PHP Help

Posted on 2011-02-28
4
Medium Priority
?
595 Views
Last Modified: 2012-05-11
Hello! Is there any reason the attached file shouldn't create a folder structure and a file with the variable data? Here is the info:

The server is running WAMP.
When I go to the url of the .php, I get errors saying the variables are undefined, which suggests to me that php is running ok and processing the file.
When I point to the .php file with Captivate, the application that uses it to write data, Captivate tells me it posted the data successfully.
When I go to look for the folders and the file, they aren't there.

Any ideas?
 internalServerReporting.php
0
Comment
Question by:Karessa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 3

Accepted Solution

by:
njovin earned 2000 total points
ID: 35000444
By default WAMP has the error levels set to include notices.  Try setting the error level to exclude notices in php.ini OR you could include this in your scripts (preferably in the header)

error_reporting(E_ERROR | E_WARNING | E_PARSE);
0
 

Author Comment

by:Karessa
ID: 35000911
Hello! Thanks for the comment. I put the string in the PHP file, but am not sure where to look for the error log. Do you know where it might be with the WAMP server? Sorry, I don't usually do this kind of work.

Thanks.
0
 

Author Comment

by:Karessa
ID: 35001626
Hey! It turns out I was missing a file. Thanks for your help!
0
 

Author Closing Comment

by:Karessa
ID: 35001632
Thanks!
0

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question