| | |
Problem in Uploading Files using Register Global on/off
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Hello... I have one curiosity that I need to solve. I hope anyone who know the problem tell me reason why is this so. I have done a php/mysql application some time ago and I encounter this problem while testing on using coding with register_global on and register_global off. I usually write my coding when register_global is on in which is not a good practice.
The problem is:
I try two same coding in which one with register_global on and another one with register_global off to upload a file to server. It works fine but the files used to be uploaded disappear from the source destination although the file did upload to the destination server file. This happened to the coding with register_global off.
Can anyone tell why is that so. Thank you.
The problem is:
I try two same coding in which one with register_global on and another one with register_global off to upload a file to server. It works fine but the files used to be uploaded disappear from the source destination although the file did upload to the destination server file. This happened to the coding with register_global off.
Can anyone tell why is that so. Thank you.
can you post the code? Also you might want to check here: http://us2.php.net/features.file-upload
there is a working example on file uploading.
there is a working example on file uploading.
![]() |
Similar Threads
- Uploading files Access Denied Error (ASP.NET)
- Upload problem of large files in Win 2003 (Windows NT / 2000 / XP)
- Virus try to write autorun files when CD is inserted (Viruses, Spyware and other Nasties)
- friends problem, HJT log (Viruses, Spyware and other Nasties)
- Uploading files using HTTP/X and CGI (Shell Scripting)
- Annoying problem with moving files (Windows NT / 2000 / XP)
Other Threads in the PHP Forum
- Previous Thread: Breaking strings
- Next Thread: Help With a PHP RSS Parser
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array basics beginner binary broken cakephp checkbox class cms code cron curl database date datepart directory display download dynamic echo email error file files folder form forms function functions google head href htaccess html image include insert integration ip java javascript joomla limit link list login loop mail menu mlm mod_rewrite multiple mysql number oop parse password paypal pdf php phpmyadmin problem query radio random recourse recursion regex remote script search seo server sessions sms soap source space sql structure syntax system table tutorial update upload url validation validator variable video web webdesign xml youtube





