Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-26-2007, 10:43 PM
Alextepes is offline Alextepes
Registered User

Join Date: Jul 2007
Posts: 3

A little help from someone who knows PHP

I know a tiny bit of PHP but I just need help with the phUploader script, It works, Howver I want it to have like
"Name what you're uploading"
"Description of the upload"
Grab their username(If I made the php script only accessible after login/Which I did)
And email me when they upload the file, can this be easily added to the script form?
Reply With Quote
  #2  
Old 07-26-2007, 11:54 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,922

Check out php's mail() function. You will end up using it right before (or after) the upload success message in the php file.

http://us2.php.net/manual/en/function.mail.php

There are many examples on how to use it on that page.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #3  
Old 07-26-2007, 11:57 PM
Alextepes is offline Alextepes
Registered User

Join Date: Jul 2007
Posts: 3

Thanks man, But now I have an issue with my provider, they don't allow files over 15 MB, In PHP.ini and I don't have access to change it, neither will they, Do you have any suggestions regarding that?
Reply With Quote
  #4  
Old 07-27-2007, 08:44 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,922

There is no way around the limits unless you have access to that file. You could try looking at ini_set()

http://us2.php.net/manual/en/function.ini-set.php

But i'm not sure if it will work for that.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #5  
Old 07-27-2007, 01:23 PM
Alextepes is offline Alextepes
Registered User

Join Date: Jul 2007
Posts: 3

I think they're being hard asses saying something like going over 15MB is a security risk, They don't realize its peoples PHP scripts that make it a security risk not the upload feature ;P
If they wanted to attack the system it wouldn't be with 15 -> 100MB files though, but oh well.
Thanks for everything.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Well it's PHP but....What do u think MadMan TCO Web design and Programming 18 03-09-2005 08:25 PM
Php Help!! navysea| Web design and Programming 3 03-04-2005 06:27 PM
PHP-NUKE and PHP ~BLÃÐE~ phphq.Net Forums 9 01-19-2005 06:49 AM
PHP atholon Web design and Programming 16 07-21-2004 09:17 AM
php anyone? Surge Web design and Programming 7 07-26-2003 11:04 AM


All times are GMT -5. The time now is 11:53 PM.




Powered by vBulletin®