Auto upload code that uploads to sub domain site
Started on the old forum in November 2011 · view the original in the archive · old links redirect here
Your question is kind of confusing on what you want.... if your on about copying scripts to the subdomain directory then you can use something like:
mkdir ($subDomain);
copy('script.php', './'.$subDomain.'/script.php');
if you are on about "uploaders" then you just use any uploader script and just change directories eg:
move_uploaded_file($tempFileName, './SubDomain/'.$newFileName);
jonac wrote: Pls any body here, knws of any uploading code, that support sub domain site uploading like wapka? If yes, pls sumbody should help me with the code or direct me how to go about it.
why dont u create subdomain??? and be specific what u want ???
@somethingelse thanks, shushant yes, thats what i need, pls how can i get it?
Added after 3 minutes:
Here is demo http://mobifreak.tk/x/a/MJ3xQGY3CNxDu21iL/