Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7528653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:26:28+00:00 2026-05-30T04:26:28+00:00

I am using the JAVA Applet known as Rad Upload – http://www.radinks.com/upload/ the APPLET

  • 0

I am using the JAVA Applet known as Rad Upload – http://www.radinks.com/upload/ the APPLET crashes an generates an Internal Server Error.

We made all the adjustments both Apache and PHP to upload larger images. This is the issue. There seems to be an issue with PHP itself. We made an exact duplicate of the upload scripting on another server. One works and their other does not.

The one that works
PHP Version 5.2.5 running as Apache

The one that is not working
PHP Version 5.2.13 running as CGI

According to the hosting company there is no error logs say what is the issue. They can see that the images are being Posted, and when it comes time to run the Upload Scripting it crashes before it even accesses this.

Even though this isn’t the issue here is the upload script.
Please note this is not the final upload scripting being used. This is a strip down version for testing – even this stripped down does not work. We have gone to the point of using a blank upload script with no PHP at all. And still get the internal server error with logs being produced.

session_start();
$photo = $_FILES['userfile'];
$count = count($photo['name']);
if (!is_dir('./'.$_SESSION['order'])) {
    mkdir('./'.$_SESSION['order']);
}
for ($i=0; $i < $count; $i++) {
    move_uploaded_file($photo['tmp_name'][$i], './'.$_SESSION['order']/'.$photo['name'][$i]);
}

The web site has been moved to another newer server and the same issue. I believe it has something to do with PHP running as CGI. As this is the only difference between both scenarios.

Does this make any sense and has anyone seen this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:26:30+00:00Added an answer on May 30, 2026 at 4:26 am

    The problem has been solved. PHP was not compiled correctly. After moving me to a new server … bam! Uploading works.

    For those concerned about the security, thank you for your comments. Yes it has all been put back.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java applet that downloads data from where it's hosted, using HTTP.
I created an audio Player using java applet but i'm stuck at trying to
I'm using the Java Deployment Toolkit to deploy a java applet in an iframe.
I'm working on a project where we're using a Java applet for part of
We have a Java Applet built using AWT. This applet lets you select pictures
I'm using firefox3 to run a Java Applet (on Linux). normally, when the JVM
I have an Applet which is loading images over a http connection using URLConnection.
I'm trying to sign a java applet using an spc file from godaddy. Here's
Possible Duplicate: How to draw a rectangle on a java applet using mouse drag
I currently have a java applet sitting on my Apache server (in the htdocs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.