# Need help changing this php code to asp please

**URL:** https://forum.kirupa.com/t/need-help-changing-this-php-code-to-asp-please/208595
**Category:** Uncategorized
**Created:** [November 30, 2006, 9:28am UTC](https://forum.kirupa.com/t/need-help-changing-this-php-code-to-asp-please/208595 "2006-11-30T09:28:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![welshy](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@welshy](https://forum.kirupa.com/u/welshy)
#### Post date: [November 30, 2006, 9:28am UTC](https://forum.kirupa.com/t/need-help-changing-this-php-code-to-asp-please/208595/1 "2006-11-30T09:28:08Z")

</div>

Hi I’m designing a flash application to upload images dynamically. I think ive got the flash side working from the tutorial I used. But it requires server side scripting which I am not that knowledgeable of. The tutorial I used used an example of Php, but I need to use asp.

The code used was

\<?php

move\_uploaded\_file($\_FILES[‘Filedata’][‘tmp\_name’], “…/files/”.$\_FILES[‘Filedata’][‘name’]);  
chmod("…/files/".$\_FILES[‘Filedata’][‘name’], 0777);

?\>

Could anyone help me, or give me some pointers with the asp alternative to this code? I’d be very grateful, thanks.
