PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Sat Mar 27, 2004 12:38 am Reply with quote Back to top

Anyone have concerns with creating self cleaning install scripts?
Script writes config file and installs db.

ie:
do a db connect test return true self destruct?
Code:

unlink("thisfile.php");


Only bad thing I can think of is user might have to reupload the file for some reason.

Good would never be a security issue once run Very Happy

Seems so simple there must be some reason no one does it?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Mar 27, 2004 6:39 am Reply with quote Back to top

I used to provide that with my guestbook (KISGB). The main problem that was reported was the script did not have permission to delete a file. Yet, you could go in ftp and delete it. Server/user (Apache and IIS) issues, I know, but none-the-less .... But still, the majority could do it.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Darrell3831
Worker
Worker


Joined: Feb 18, 2004
Posts: 244

PostPosted: Sat Mar 27, 2004 9:09 am Reply with quote Back to top

It's strange I was just wondering about this myself the other day... lol

I can see where someone doing an install who got that error would be confused...

hmmm..

Darrell
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Sat Mar 27, 2004 5:10 pm Reply with quote Back to top

I'm working one more function out then I'll finish the install script maybe try this as a form click the red button.. will attempt to remove installer yada yada. I hard coded a check for it (Kinda like oscommerce) into the app so either way the user should be able to figure out whats going down.

Then I'm gonna try and tackle optional paypal membership subscriptions Twisted Evil
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Mar 27, 2004 5:35 pm Reply with quote Back to top

Rolling Eyes Oh no - we've created a - Twisted Evil
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum