Important alert: (current site time 7/15/2013 10:23:35 AM EDT)
 

winzip icon

^^^Simple Backend Php Script

Email
Submitted on: 11/10/2002 3:58:26 PM
By: UnixMd5Crypt 
Level: Intermediate
User Rating: By 7 Users
Compatibility: PHP 3.0, PHP 4.0
Views: 18586
(About the author)
 
     This Allows for easy editing of php pages without the use of a database.
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

11/14/2002 12:23:56 AMDon Steele

if u download this.. this is what u will get
================================
$Filename=fopen("News.php", "w");
fputs($filename, "$newtext");
fclose($filename);
print "Information Written";
?>
============

hardly Intermediate concidering that it is available on the php.net site if u search for fopen .....

(If this comment was disrespectful, please report it.)

 
11/14/2002 7:12:30 PMUnixMd5Crypt

that is hardly constructive criticism, I'm sorry if this dissapoints you, but this is certainly intermediate compared to a php tutorial that shows you how to print text. So please keep your comments contructive. I think I'll leave that comment up there just to show why so many people don't contribute to PSC, this code is not meant to show advanced things, it is just to give the basic idea, I do however hope that more people derive more help from this than the one above has. sorry. Thank you.
(If this comment was disrespectful, please report it.)

 
12/1/2002 1:28:41 PMmiracl

this code is of no use...
(If this comment was disrespectful, please report it.)

 
12/1/2002 3:09:14 PM

Actually, the problem with PSC is that people upload junk for the most part...hundreds of guestbooks, kiddie hack scripts, password breakers, but rarely anything innovative or unique...

While your code does show basic input/output, it definitly is NOT intermediate coding..beginner yes, but nothing beyond that.

Sorry...
(If this comment was disrespectful, please report it.)

 
1/1/2003 4:15:39 PM

just because hes intermediate doesn't mean he can't add something to help someones whos not intermediate.

When people make tutorials they don't make them so advanced that the person trying to learn from it doesn't understand.
(If this comment was disrespectful, please report it.)

 
7/8/2003 10:42:31 PM

// and /**/ were implemented for a reason.
(If this comment was disrespectful, please report it.)

 
12/19/2003 2:46:08 PMPeter van Velzen

These cind of 'junk codes' belong on a Forum, and do NOT deserve to have a 'Intermediate Level'! I also don`t know why this code is best ranked in the list: 'Files':

http://pscode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?lngWId=8&grpCateg ories=2&optSort=Alphabetical&txtMaxNumberOfEntriesPerPage=10

So,
remove this 'junk' code. And place is at php.net as comment of the function 'fopen'.

Greetz Peter
(If this comment was disrespectful, please report it.)

 
10/18/2004 12:54:54 PM

What gives you people the right to flame anyone eh? All I have to say is STFU! Last I looked anyone is allowed to contribute, and thank you for your contribution.

(If this comment was disrespectful, please report it.)

 
12/17/2004 7:13:19 AM

I have never seen PHP before so that code for me was some insight into what PHP can do. This site is for beginners too you know. Although I have a been programming for 17 years I still have to start at the beginning with a new language.
(If this comment was disrespectful, please report it.)

 
10/18/2007 6:33:48 PMsaalek

good program. i need it. very usefull.
(If this comment was disrespectful, please report it.)

 
3/14/2008 1:19:29 AMJMC84

Im still learning php and this helped me a lot. Thanks.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.