Free Web Hosting Forum
Go Back   Free Web Hosting Forum > 000WebHost Services > Comments and Suggestions
Reload this Page [Suggestion]PHP NOT for all files
Reply

 

Thread Tools Display Modes
(#1 (permalink))
Old
Junior Member
SynchronE is on a distinguished road
 
Posts: 5
Join Date: Jun 2008
Default [Suggestion]PHP NOT for all files - 06-14-2008, 05:27 PM

I tried to upload an .exe file to host it so my friends could download that.
That uploaded OK, i can see it in net2ftp file manager, the file size is correct and so on.

But when i try to downolad that (http://synchrone.pp.ru/vtk/Vtk.exe), i get the error message
Code:
PHP Error Message


Warning: Unexpected character in input: '' (ASCII=31) state=1 in /home/*myaccountname*/public_html/vtk/Vtk.exe on line 709
Free Web Hosting

PHP Error Message


Parse error: syntax error, unexpected T_STRING in /home/*myaccountname*/public_html/vtk/Vtk.exe on line 709
Free Web Hosting
Could you please make PHP preprocessor not to preprocess binary files such as exe and so on ?
Reply With Quote
(#2 (permalink))
Old
sl4y3r1980's Avatar
Senior Member
sl4y3r1980 is on a distinguished road
 
Posts: 480
Join Date: Jun 2008
Location: far from here... INDONESIA
Send a message via Yahoo to sl4y3r1980
Default 06-15-2008, 09:02 AM

Quote:
Originally Posted by SynchronE View Post
I tried to upload an .exe file to host it so my friends could download that.
That uploaded OK, i can see it in net2ftp file manager, the file size is correct and so on.

But when i try to downolad that (http://synchrone.pp.ru/vtk/Vtk.exe), i get the error message
Code:
PHP Error Message


Warning: Unexpected character in input: '' (ASCII=31) state=1 in /home/*myaccountname*/public_html/vtk/Vtk.exe on line 709
Free Web Hosting

PHP Error Message


Parse error: syntax error, unexpected T_STRING in /home/*myaccountname*/public_html/vtk/Vtk.exe on line 709
Free Web Hosting
Could you please make PHP preprocessor not to preprocess binary files such as exe and so on ?
maybe, but I can't do it. Contact to admin immediately...


BTW, Have you register your domain (synchrone.pp.ru)??
When I go to your website (main, not your link), I see only blank page. See :
http://synchrone.pp.ru
And you'll see the blank page...
Reply With Quote
(#3 (permalink))
Old
Junior Member
SynchronE is on a distinguished road
 
Posts: 5
Join Date: Jun 2008
Default 06-15-2008, 09:34 AM

Yes, of course i've registered that

It works ok, just nothing on the index.

look at http://synchrone.pp.ru/vtk/ it IS correct and exactly what i want.


Just PHP & Apache MIME types set for EXE. Admin, could you correct that ?
Reply With Quote
(#4 (permalink))
Old
sizzlefire's Avatar
Moderator
sizzlefire is an unknown quantity at this point
 
Posts: 1,116
Join Date: Apr 2008
Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire
Default 06-15-2008, 01:49 PM

Well, what you have to do is zip up the file, cause I believe downloading .exe files is blocked for a good reason.


My sites:
My Blog | My Forum | Flash Games | File Sharing | Downloads

http://000webchat.wiredtron.com
the 000webhost support live chat, talk with members, users, and other people related. come here for support about anything, that another member could help with.

<?require("sleep.php");?>
Reply With Quote
(#5 (permalink))
Old
Junior Member
SynchronE is on a distinguished road
 
Posts: 5
Join Date: Jun 2008
Default 06-16-2008, 07:38 AM

Quote:
Originally Posted by sizzlefire View Post
Well, what you have to do is zip up the file, cause I believe downloading .exe files is blocked for a good reason.
Well, i'm programming the software, that uses the web space to download updates from. So, i'm lazy to programm unzip subprogram. I think it's easier to set those parameters in apache\php configs than for me to zip all the stuff and unzip at the end-user's PC.

And? I don't think that php processing exe files is because they want to make security and so on... just system administrator's mistake or laziness...

Anyway, I don't blame them. It's good as it is (and mostly 'cos it's free) and great thanks to them Just little settings improvement...
Reply With Quote
(#6 (permalink))
Old
ManXP's Avatar
Yes, that's me - ADMIN
ManXP is on a distinguished road
 
Posts: 782
Join Date: Apr 2008
Default 06-16-2008, 08:04 AM

Quote:
Originally Posted by SynchronE View Post
I don't think that php processing exe files is because they want to make security and so on... just system administrator's mistake or laziness...
Wow! I'm so impressed how well you know what is going on with servers. It seems you know everything MUCH BETTER than us! We added this option to increase security, but it looks you know about .exe files better. Once again, WOW!


ManXP,
000webhost.com Staff
Reply With Quote
(#7 (permalink))
Old
dpaladin's Avatar
Moderator
dpaladin is on a distinguished road
 
Posts: 703
Join Date: Apr 2008
Location: Lerdo, Durango, Mexico
Send a message via MSN to dpaladin
Default 06-16-2008, 08:42 AM

do you know zip files?

and exe files can be compressed in that zip files and then can be donwloaded


Freelance programmer

PHP - MySQL - Javascript - Ajax - XHTML

Plugins and templates for Wordpress

adn more..

Adding karma doesn't cost

No time for it, but:
http://dpaladin.com
Reply With Quote
(#8 (permalink))
Old
Junior Member
SynchronE is on a distinguished road
 
Posts: 5
Join Date: Jun 2008
Default 06-16-2008, 05:43 PM

Quote:
Originally Posted by ManXP View Post
Wow! I'm so impressed how well you know what is going on with servers. It seems you know everything MUCH BETTER than us! We added this option to increase security, but it looks you know about .exe files better. Once again, WOW!
Really security ? Take my apologies then...
Reply With Quote
(#9 (permalink))
Old
sizzlefire's Avatar
Moderator
sizzlefire is an unknown quantity at this point
 
Posts: 1,116
Join Date: Apr 2008
Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire
Default 06-16-2008, 05:50 PM

Quote:
Originally Posted by SynchronE View Post
Really security ? Take my apologies then...
Its because if you have .exe files, I believe you can have them setup to automatically run when somebody visits your site, and if that .exe file is a virus...well you can see how that would be a security risk.


My sites:
My Blog | My Forum | Flash Games | File Sharing | Downloads

http://000webchat.wiredtron.com
the 000webhost support live chat, talk with members, users, and other people related. come here for support about anything, that another member could help with.

<?require("sleep.php");?>
Reply With Quote
(#10 (permalink))
Old
Junior Member
SynchronE is on a distinguished road
 
Posts: 5
Join Date: Jun 2008
Default 06-16-2008, 07:01 PM

As i know, there's no way to run exe from server when user visits my page.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com