Current time: 10-07-2024, 03:12 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] exec will nicht!
Author Message
CHBIE Offline
Junior Member
*

Posts: 225
Joined: May 2008
Reputation: 11
Post: #1
[ERLEDIGT] exec will nicht!
Hi Leute

brauche Hilfe bei den exec Anweisungen in PHP.
Code:
exec("rm -rf "/var/www/ispcp/gui/software/".$delete_id);

Code:
exec("/bin/mkdir "/var/www/ispcp/gui/software/".$new_admin_id);
exec("/bin/chmod 777 "/var/www/ispcp/gui/software/".$new_admin_id);

Kann mir jemand helfen?

Gruss CHBIE
Gelöst bis jetzt:
Code:
exec("/bin/mkdir "/var/www/ispcp/gui/software/".$new_admin_id);
exec("/bin/chmod 777 "/var/www/ispcp/gui/software/".$new_admin_id);
ersetzen mit diesem
Code:
mkdir("/var/www/ispcp/gui/software/$new_admin_id");
chmod("/var/www/ispcp/gui/software/$new_admin_id", 0777);
das geht.

Bleibt nur noch die Frage mit dem löschen.
(This post was last modified: 01-18-2009 03:39 AM by CHBIE.)
01-12-2009 07:00 PM
Visit this user's website Find all posts by this user
Thread Closed 


Messages In This Thread
[ERLEDIGT] exec will nicht! - CHBIE - 01-12-2009 07:00 PM
RE: exec will nicht! - Kotty - 01-17-2009, 11:10 PM
RE: exec will nicht! - CHBIE - 01-18-2009, 03:30 AM
RE: exec will nicht! - rbtux - 01-18-2009, 03:32 AM
RE: exec will nicht! - ZooL - 01-18-2009, 04:11 AM
RE: exec will nicht! - CHBIE - 01-18-2009, 03:37 AM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)