Page 1 of 1

Oh Scotty/Paul/Php people o.0

Posted: Mon Jan 24, 2005 11:17 pm
by us3rX
ada said awhile ago that it would be nice if the uploaded emailed someone letting them know there was new accounts, well i uploaded a copy of it on my hosting, the only \"problem\" is that with 3 trys... the page loaded in 45secs then 3 seconds, then 22 seconds for ada, i was wondering if there was away to \"speed\" it up.

The part i added was the mail code
[code]            show_message(\'Registration successlful\', \'Hello \' . $username . \', you are
           now registered.  However your account will have to be approved by the
           administrator before you can use this service.  An email will be sent to
           you when your account has been approved.\', 1);
           mail("fusi0n_9384@hotmail.com","New User Signed Up For Uploading Account","<html><body><p>$username signed up for an uploader account.</p></body></html>","From: Admin\r\n");[/code]

us3rX /ph34r.gif\' class=\'bbc_emoticon\' alt=\':ph34r:\' />

Oh Scotty/Paul/Php people o.0

Posted: Tue Jan 25, 2005 4:48 am
by Josh
sure sure,, don\'t even mention you asked me how to do it /blum.gif\' class=\'bbc_emoticon\' alt=\':P\' /> lol jk

I don\'t really think you can speed it up.. If you send the request to the server it\'s up to the server to process the request and carry through with it.. Then again I could be wrong /unsure.gif\' class=\'bbc_emoticon\' alt=\':unsure:\' />

Oh Scotty/Paul/Php people o.0

Posted: Tue Jan 25, 2005 4:11 pm
by Scott
One option is to gzip the entire thing (if its not already been done) - look for ob_start() in the index file. Apart from that there is much (practically) which could be done. Of course, we really need a new uploader anyway...

Oh Scotty/Paul/Php people o.0

Posted: Tue Jan 25, 2005 4:25 pm
by us3rX
lol, well i\'ll see what i can do about a new uploader.

us3rX /ph34r.gif\' class=\'bbc_emoticon\' alt=\':ph34r:\' />