Solved

PHP Help

Posted on 2011-02-28
4
574 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
  • 3
4 Comments
 
LVL 3

Accepted Solution

by:
njovin earned 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Testing a string condition in PHP 6 23
Remove Black Diamond with Question Mark from Wordpress Custom Meta 6 60
error log using ftp 7 41
Php recording post 4 51
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

803 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