Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Theme Uploader - Upload Themes Directly From Admin CP
#9
(01-08-2009, 09:11 AM)Jonny Wrote:
(01-07-2009, 07:19 PM)TheRaptor Wrote: the if(!$_SESSION['logged']) is not working correctly. The script dies every time. I have tried if(!isset($SESSION['logged']) too with same results.
Use the include as I quote, don't use a iframe..

Okay, here is what I get with that:

I put upload.php and pclzip.lib.php in the includes folder. I inlcude the file like you mentioned. But for some reason, the form keeps trying to post to admin/upload.php. (action=upload.php)... hmmm. Maybe if i replace "action=upload.php" with "action=.../includes/upload.php" it might work. Will try that next chance I get.
Okay... Changing the form "action" to "../upload.php" works. But the security thing is still dieing. The script works fine without the !_$SESSION['logged'], so i know that that is the problem.
Nick - TheHostingTool Staff Coordinator

[Image: standard.png]

Reply


Messages In This Thread
RE: Theme Uploader - Upload Themes Directly From Admin CP - by Nick - 01-08-2009, 08:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)