Search found 21 matches

by chrismicro
Tue Nov 16, 2010 6:07 pm
Forum: PHP - Code
Topic: Uploading audio to 2 separate folders:
Replies: 10
Views: 476

Re: Uploading audio to 2 separate folders:

what about just giving an error instead of renaming the file?
by chrismicro
Mon Nov 15, 2010 10:28 am
Forum: PHP - Code
Topic: Uploading audio to 2 separate folders:
Replies: 10
Views: 476

Re: Uploading audio to 2 separate folders:

could you show me code wise, so i can better understand?
by chrismicro
Sun Nov 14, 2010 9:24 pm
Forum: PHP - Code
Topic: Uploading audio to 2 separate folders:
Replies: 10
Views: 476

Re: Uploading audio to 2 separate folders:

how can i take the code above and make it so that if i upload a file of the same name it will not do this and show an error?
by chrismicro
Sat Nov 13, 2010 8:18 am
Forum: PHP - Code
Topic: Uploading audio to 2 separate folders:
Replies: 10
Views: 476

Re: Uploading audio to 2 separate folders:

sweet works awesome, your the man
by chrismicro
Sat Nov 13, 2010 7:05 am
Forum: PHP - Code
Topic: Uploading audio to 2 separate folders:
Replies: 10
Views: 476

Re: Uploading audio to 2 separate folders:

I am not sure i Understand, where do I put the 2nd target path?
by chrismicro
Fri Nov 12, 2010 7:13 am
Forum: PHP - Code
Topic: Uploading audio to 2 separate folders:
Replies: 10
Views: 476

Uploading audio to 2 separate folders:

I have created an uploader script I need it to upload to 2 separate folders on the system: here is my code for uploading to one folder: $target_path = "/var/lib/asterisk/sounds/"; $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); $filename = $_FILES['uploadedfile'][...