Become a part of the TranceAddict community! Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Local Scene Info / Discussion / EDM Event Listings > Europe > Europe - Germany > Der PC-Problem Thread
Pages (341): « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 [135] 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 »   Last Thread   Next Thread
Author
Thread    Post A Reply
McP68
_



Registered: Apr 2003
Location:

hab hier ein script was bei nem counter nach der gewissen zeit die ips löscht
ich frag mich bloss in was die zeit angegeben ist

$folder = 'data/ip/';
$deletetime = '2592000';

sind das sekunden?

Old Post Jun-30-2005 08:52 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Nik Novo
Supreme tranceaddict



Registered: Apr 2003
Location: Munich, Germany

quote:
Originally posted by McP68
hab hier ein script was bei nem counter nach der gewissen zeit die ips löscht
ich frag mich bloss in was die zeit angegeben ist

$folder = 'data/ip/';
$deletetime = '2592000';

sind das sekunden?

um das rauszufinden, wäre es sinnvoll den teil des codes zu sehen, indem die ips auch gelöscht werden


___________________
rate the sound, not the artist. | Download: Nik Novo - Novocast 003

Old Post Jun-30-2005 09:11  Germany
Click Here to See the Profile for Nik Novo Click here to Send Nik Novo a Private Message Visit Nik Novo's homepage! Add Nik Novo to your buddy list Report this Post Reply w/Quote Edit/Delete Message
dj_macgyver
MacBunny™ Pro



Registered: Feb 2004
Location: GTA #184 | 48.119958°N | 11.531116°E

quote:
Originally posted by McP68
hab hier ein script was bei nem counter nach der gewissen zeit die ips löscht
ich frag mich bloss in was die zeit angegeben ist

$folder = 'data/ip/';
$deletetime = '2592000';

sind das sekunden?


das ist noch nicht mal 'ne zahl sondern 'n string (erkennbar an den apostrophen...) und was für 'ne einheit das ist hängt ganz davon ab, mit welcher funktion etc. das ausgewertet wird. sonst isses nur 'ne zahl


___________________
... the deal about djing is: you're using other people's art to create your own ...
... the deal about djing is: to positively surprise the audience with your taste ...

Sure I know how to move you. But damn! Can't you fucking move yourself?

Click here to get MacGyver's Way - Volume 1! Do it. Do it!

Old Post Jun-30-2005 09:12  Germany
Click Here to See the Profile for dj_macgyver Click here to Send dj_macgyver a Private Message Visit dj_macgyver's homepage! Add dj_macgyver to your buddy list Report this Post Reply w/Quote Edit/Delete Message
dj_macgyver
MacBunny™ Pro



Registered: Feb 2004
Location: GTA #184 | 48.119958°N | 11.531116°E

quote:
Originally posted by DJ NGE
um das rauszufinden, wäre es sinnvoll den teil des codes zu sehen, indem die ips auch gelöscht werden


lol nein ich will den code nicht sehn sowas kann man alles in dokumentationen nachlesen... *sigh*


___________________
... the deal about djing is: you're using other people's art to create your own ...
... the deal about djing is: to positively surprise the audience with your taste ...

Sure I know how to move you. But damn! Can't you fucking move yourself?

Click here to get MacGyver's Way - Volume 1! Do it. Do it!

Old Post Jun-30-2005 09:13  Germany
Click Here to See the Profile for dj_macgyver Click here to Send dj_macgyver a Private Message Visit dj_macgyver's homepage! Add dj_macgyver to your buddy list Report this Post Reply w/Quote Edit/Delete Message
McP68
_



Registered: Apr 2003
Location:

lol das sind 30 tage

60 sekunden * 60 minuten * 24 stunden * 30 tage

Old Post Jun-30-2005 09:23 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
McP68
_



Registered: Apr 2003
Location:

und der vollständigkeit halber der code

quote:


$folder = 'data/ip/';
//$deletetime = '2592000'; // 30 Tage
$deletetime = '86400'; // 1 Tag

function deleteoldfiles() {
global $folder, $deletetime;

$handle = opendir($folder);
while ($file = readdir ($handle)) {

if ($file != '.' AND $file != '..') {
$filename = $folder.$file;
$filetime = filemtime($filename);

$calcolate = time() - $filetime;

if ($calcolate > $deletetime) {
if (@unlink($filename)) $error = 'TRUE';
else $error = 'FALSE';
}
}
}

closedir($handle);

return $error;
}


$deletefiles = deleteoldfiles();


if ($deletefiles == 'TRUE') {
echo 'alles konnte gelöscht werden';
}
else {
echo 'tschuldigung ging nichts';
}

?>



btw hie is die seite (teeest)

http://www.michael-paessler.de/creativ/

Old Post Jun-30-2005 09:25 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Nik Novo
Supreme tranceaddict



Registered: Apr 2003
Location: Munich, Germany

werden
$folder = 'data/ip/';
$deletetime = '86400'; // 1 Tag
noch wo anders in diesem script verwendet? wenn nicht, dann hau diese beiden zeilen doch einfach in die funktion rein, dann sparst du dir die global zeile


___________________
rate the sound, not the artist. | Download: Nik Novo - Novocast 003

Old Post Jun-30-2005 09:29  Germany
Click Here to See the Profile for Nik Novo Click here to Send Nik Novo a Private Message Visit Nik Novo's homepage! Add Nik Novo to your buddy list Report this Post Reply w/Quote Edit/Delete Message
McP68
_



Registered: Apr 2003
Location:

quote:
Originally posted by DJ NGE
werden
$folder = 'data/ip/';
$deletetime = '86400'; // 1 Tag
noch wo anders in diesem script verwendet? wenn nicht, dann hau diese beiden zeilen doch einfach in die funktion rein, dann sparst du dir die global zeile


ka muss ich schauen

Old Post Jun-30-2005 10:03 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
MYSTERO
Du bist LOVEPARADE



Registered: Nov 2001
Location: Dortmund, Germany

kein problem, ne frage:

möchte webspace & .de Domain, möglichst billig

deek, nge sagt mal was


___________________
Baby, it´s kakerlaken die auch mal was aufe ohren haben müssen und denen it's you voll aufe eier geht.

Old Post Jun-30-2005 15:27  Germany
Click Here to See the Profile for MYSTERO Click here to Send MYSTERO a Private Message Visit MYSTERO's homepage! Add MYSTERO to your buddy list Report this Post Reply w/Quote Edit/Delete Message
McP68
_



Registered: Apr 2003
Location:

quote:
Originally posted by MYSTERO
kein problem, ne frage:

möchte webspace & .de Domain, möglichst billig

deek, nge sagt mal was


wieviel webspace solls denn sein?

Old Post Jun-30-2005 15:30 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
MYSTERO
Du bist LOVEPARADE



Registered: Nov 2001
Location: Dortmund, Germany

quote:
Originally posted by McP68
wieviel webspace solls denn sein?
ka, möglichst viel und billig solls sein


___________________
Baby, it´s kakerlaken die auch mal was aufe ohren haben müssen und denen it's you voll aufe eier geht.

Old Post Jun-30-2005 15:34  Germany
Click Here to See the Profile for MYSTERO Click here to Send MYSTERO a Private Message Visit MYSTERO's homepage! Add MYSTERO to your buddy list Report this Post Reply w/Quote Edit/Delete Message
McP68
_



Registered: Apr 2003
Location:

quote:
Originally posted by MYSTERO
ka, möglichst viel und billig solls sein


das top angebot in der bitte

http://www.webspace-verkauf.de/

nutze ich selbst

Old Post Jun-30-2005 15:35 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Local Scene Info / Discussion / EDM Event Listings > Europe > Europe - Germany > Der PC-Problem Thread
Post New Thread    Post A Reply

Pages (341): « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 [135] 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 »  
Last Thread   Next Thread
Show Printable Version | Subscribe to this Thread

Forum Jump:

All times are GMT. The time now is 03:30.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2018

Privacy Statement / DMCA