Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"empty" php file problems

Status
Not open for further replies.

djmwjk

Technical User
Jun 28, 2004
37
US
I'm having a problem, we need to create a "empty" (not "blank") config.php file for a script were trying to run, and for some reason it just gets errors when we used notepad to create the file. Is there a easy utility to just make a config.php file thats "empty" (not "blank").

Thanks!,
John
 
By empty, do you mean a file with just
Code:
<?php?>
in it?

What errors did you get when you used notepad?

Save it as text. Go into windows explorer, if the extension isn't ".php" change it to ".php". That should work.

Ken
 
Empty, Blank ?? Whats the difference?

To be a scipt it must include as start & end tags <? & ?>.
Run from the explorer and check how these tags are declared. may be this : <? ?>, or this : <?php ?> or...
 
create a new text file,
rename it to config.php

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top