[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

PHP Help

Posted on 2011-02-28
4
Medium Priority
?
602 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 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month20 days, 14 hours left to enroll

810 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