emhmk1
1
Junior Poster
Recommended Answers
Jump to Post<?php //install2.php if(isset($_GET['unlink']) && $_GET['unlink']=="true") { unlink("install.php"); unlink("install2.php"); header("location: success.php"); } //rest of the code here echo "<a href='install2.php?unlink=true'>Click here to remove the installation files ! </a>"; ?>
Works on local machine. I haven't tested it on server!
If you want to do the same with …
Jump to PostJust out of curiosity, does this mean that scripts are loaded into the PHP interpreter in their entirety, so that anything can happen to the file during execution and the its execution will be unaffected?
All 6 Replies
nav33n
472
Purple hazed!
Team Colleague
Featured Poster
death_oclock
103
Posting Whiz
emhmk1
1
Junior Poster
death_oclock
103
Posting Whiz
nav33n
472
Purple hazed!
Team Colleague
Featured Poster
nav33n
472
Purple hazed!
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.