-
Posts
72 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Conor
-
-
Connection times out
-
I'll check that out tomorow after school I'll let you knw how It turns out
-
Any Demo or anything i want to see what its like first no offence your addons are always quality i just want to see if i would find it helpfull
-
Is the file you're uploading a jpg, pjpg (whatever that is) or a gif and under 20mb?
i tried a .jpg and .gif and i wouldnt think any picture could be over 20MB these ones definetly arent over that they where very small banners
you can try yourself if you want
http://fshanger.webatu.com/upload.php
dont mind the last bit the file extenions are still jpg, jpeg, gif i just changed that bit because i plan to only allow .zip filesInvalid File, upload a .zip file only -
i keep getting
InvalidFile -
Ok so this is my upload_file.php
<?phpif ($_FILES["file"]["error"] > 0)
{
echo "Error: " . $_FILES["file"]["error"] . "<br />";
}
else
{
echo "Upload: " . $_FILES["file"]["name"] . "<br />";
echo "Type: " . $_FILES["file"]["type"] . "<br />";
echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
echo "Stored in: " . $_FILES["file"]["tmp_name"];
}
?>
<?php
if ($_FILES["file"]["error"] > 0)
{
echo "Error: " . $_FILES["file"]["error"] . "<br />";
}
else
{
echo "Upload: " . $_FILES["file"]["name"] . "<br />";
echo "Type: " . $_FILES["file"]["type"] . "<br />";
echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
echo "Stored in: " . $_FILES["file"]["tmp_name"];
}
?>
<?php
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
{
if ($_FILES["file"]["error"] > 0)
{
echo "Error: " . $_FILES["file"]["error"] . "<br />";
}
else
{
echo "Upload: " . $_FILES["file"]["name"] . "<br />";
echo "Type: " . $_FILES["file"]["type"] . "<br />";
echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
echo "Stored in: " . $_FILES["file"]["tmp_name"];
}
}
else
{
echo "Invalid file";
}
?>
<?php
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
{
if ($_FILES["file"]["error"] > 0)
{
echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
}
else
{
echo "Upload: " . $_FILES["file"]["name"] . "<br />";
echo "Type: " . $_FILES["file"]["type"] . "<br />";
echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />";
if (file_exists("/wp-content/uploads/" . $_FILES["file"]["name"]))
{
echo $_FILES["file"]["name"] . " already exists. ";
}
else
{
move_uploaded_file($_FILES["file"]["tmp_name"],
"upload/" . $_FILES["file"]["name"]);
echo "Stored in: " . "/wp-content/uploads/" . $_FILES["file"]["name"];
}
}
}
else
{
echo "Invalid file";
}
?>
-
&& ($_FILES["file"]["size"] < 20000MB))
-
Parse error: syntax error, unexpected T_STRING in /home/a5694701/public_html/upload_file.php on line 39
-
if i wanted to add an upload button to my website how would i go about it?
basiclly i want users to be able to choose a file and upload it to http:// www.example.com/uploads/
-
phpVMS Virtual Airline Administration Software
Install Check
Checking PHP version
[OK] PHP version is 5.2.x
Checking connectivity...
[OK] Can contact outside servers
Checking for SimpleXML module...
[OK] SimpleXML module exists!
Checking file hashes for corrupt or mismatched files
[Checksum failed] /install/templates/s3_setup_finished.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/common/PIREPData.class.php did not match, possibly corrupt or out of date
[Error] ../core/common/RegistrationData.class.php doesn't exist
[Checksum failed] /core/common/CentralData.class.php did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/fsfk_log_flightimages.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/profile_stats.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/fsfk_log_flightplan.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/fsfk_log_flightdata.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/email_pilot_retired.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/fsfk_vaconfig.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/login_passwordreset.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/templates/pirep_editform.tpl did not match, possibly corrupt or out of date
[Checksum failed] /core/classes/CodonEvent.class.php did not match, possibly corrupt or out of date
[Checksum failed] /admin/modules/Maintenance/Maintenance.php did not match, possibly corrupt or out of date
[Checksum failed] /lib/js/jquery_essentials.js did not match, possibly corrupt or out of date
[Checksum failed] /lib/js/ofc/js-ofc-library/ofc.js did not match, possibly corrupt or out of date
-- Checked 164 files, found 16 errors
I fixed the registration but the rest of the problems are still there
-
what link do i use to check
-
ive re-uploaded the file public_html/core/modules/registration/registration.php
and even downloaded a new phpvms folder from the site and inserted the registration.php and still no luck
Ive deleted my installation folder
-
really thats not showing for me
how would i go about fixing that
-
My registration page dosent seem to be functioning at all
http://euroskies.vacau.com/index.php/registration
any suggestions?
Edit: submit a registration form to see the problem
-
thanks guys ill look into it
-
As far as I know you can't
-
Is there anyway to require new pilots to click an activation link in there email?
it would be helpfull because it would automaticlly add the VA email o there safe contacts list so future emails wont go into the junk filter
-
People lie about there age all the time in websites and the second they do that they take the risk they have broken the rules and broken the law
As for claiming to be a parent youd know by the language of the amil if it was a 30-40 year old than a 10 year old and besides claiming to be your parents is illegal it's identity theft
-
Well legally the parents have control and juristiction over what they do so if they give consent to something they can do likewise in the case of a VA if the parents give consent to register and keep certain details (name age and email only) then legally we are allowed to do it
-
i just find it very prejudiced so m not having a legal age requirement but anyone under the age of 13 must have consent
-
I've put a little notice at the bottom of the registration form do you think it's ok ?
-
It seems I am well within my limit I'm not selling a product it's not a commercial site and they have permission from there parent or gaurdian
I should pit it on the registration page though that all applicants under the age of 13 are requested to have there parents send me an email or I a signed letter through the post
-
Thank you tom!
I find anyone who uses flight sim are generally well behaved anyway
-
Is there a legal age limit to join a va ? I don't wanna get hit with any legal mumbo jumbo
Happy St. Patricks Day!
in Off-Topic Banter
Posted
Posibbly my favourite time of the year as it is any irish persons. A day of drinking partying and a day of great craic what more could you want
Anyway a hearty happy st patricks day from Ireland