Php File Popping For Download
how all the php files popping up for download. Am I missing anything here?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Cant Download File
I have just performed a ftp backup of my entire server. I then zipped it up in Cpanel. The file size its self it 3322megs big (about 3.3gb). If i press it to download it says: Forbidden You don't have permission to access /backup/sepmid07/sepmid07.zip on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.37 Server at backup.xxx*********** Port 80 I have made sure that i have the right permissions, I have also made sure that it belongs to the correct user. Also next to it where it would say how big it is, it says "-"
View Replies!
View Related
Ip Is Trying To Download The Same File Many Times
We have a video streaming server, sometimes the server gets really slow and when we digg into it, we see that the same ip is trying to download the same file many many times. for example i either run this command netstat -n | grep :80 | awk '{ print $5 }' | awk -F: '{ print $1 }' | sort | uniq -c | sort -n | tail or go to WHM and see the 'apache stats' and i see 100 http connections from the same ip, trying to download the same video 100 times,,, what is this? is this some sort of attack? could that be 100 different people that use a proxy? or what is going on?
View Replies!
View Related
Cannot Download File: Forbidden
I am having a large problem moving my sites over to another server. WHM is timing out transferring some large sites that are 4-16 gigs in size, so I tried to manually pkgacct and was able to get one of the accounts setup as root, moved it over to public_html so I could wget from the 2nd server. No luck, permission denied. I tried to change permissions in FTP and found out I couldn't change them so I chmodded the file as root, no luck. From there I set chown and changed it to the user of the FTP account and was able to modify the file from FTP. I'm still getting a forbidden message when I try wget or download from browser. Forbidden You don't have permission to access /backup/cpmove-azcorp.tar.gz on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. At this point I'm clueless, I chmodded the file to 777 so what else could be causing this?
View Replies!
View Related
Strange File Download
Users of my web site, running MD-Pro, a PostNuke (php-based) clone, suddenly started to report difficulties downloading files from the download module. We assumed it was the download module and spent ages diagnosing it, uploading fresh versions etc. After some time someone had the bright idea to see if the files could be downloaded direct (using the URLs) to eliminate the web application. We found: Some users can download all files from the server with no problems. Some users can download some files but not others. So far as we can tell only MS Word files are affected, but not all. The files on the server are not corrupted and there are no permissions issues Disabling antivirus and firewalls locally makes no difference. REloading fresh originals to the servedr does not help. The host reports that no changes to the server have been made recently. We have discovered that files in the web root are OK. The furhte down the directory structure they are, the less likely they are to download. Performance varies according to the browser in use. According to the host technical support, 'Firefox appears to be returning the data from its own cache. IE is only doing so for root. For the other places IE tries to download the file but stops receiving at exactly the same number of bytes from different locations.' Using another server on a different host, the problem disappears so it must be due to the host setup in some way. Diagnosis is difficult because the host technical support can't reproduce it. Platforms include Mac, Windows and Linux and browsers include IE7, Firefox and Safari. One user with Mac isn't having problems, another with Mac is. All others reporting problems are on Windows. Users are at different locations, using different ISPs so it is unlikely there are common local problems. The only common element I can see is that the ony files causing trouble are MS Word, though some of these do download OK We have run out of ideas why this should be happening. How can some users have problems with the same files on the same server and others not? What could have happened to cause this problem on a site that has been functioning correctly for several months on this server?
View Replies!
View Related
Lighttpd Force File Download IE
we are running a file sharing service and use lighttpd as a web server the problem is that in Internet Explorer are some files i.e. .mpg, .pdf and others opened directly in the browser so is there a way to prevent this behavior(to force the browser to download the file) by setting headers (or something else) in lighttpd.conf?
View Replies!
View Related
Moving Large File Storage, Upload/download To Amazon S3
I'm currently running on a VPS. My site allows for large file uploads and downloads, with files over 600mb in size. The server has issues when the site gets three or more requests for large file downloads. I'm trying to grow this site to thousands of users and it is hard to do when the site can't handle even three. I've been told by my host that I need to upgrade to dedicated. My VPS only has 512mb RAM and one large file download is eating up that RAM. This is causing the issue. I'm a newbie and while I knew I was risking a bit by going with VPS I do find it a bit annoying that these guys advertise 1TB of bandwidth per month but I can't even support downloading 1GB at the same time....maybe it's just me... Anyway, I am now looking into moving the large files and the upload/download over to Amazon S3. If I do this I am expecting my RAM usage on the VPS to greatly decrease. Is this correct? If my PHP code is running on the VPS, but the actual file download via HTTP is coming from S3, that should not be a heavy load on my box, correct? any opinions on S3?
View Replies!
View Related
Links Files In Linux (file.txt For File.php)
Today I found some cstomer on the servers make a link for named it file.txt and link it to other customer php file. so that customer have the ability to show the other custoer file content when visiting the url because it is a text wile originally it is a php file. the php file was a config file, so now he know the database password , and because he is in the same server he can use that databse. the question , how to avoide this prolem in the future? notes , the SuExec is rnning and the open_basedir protection is enabled, but the problem still exists.
View Replies!
View Related
Strange PHP File On My VPS. (oxb.php)
I found a strange PHP file in a strange folder on a VPS I am using to host a few sites. I've looked through the logs but can't figure out how it got there and I've look at the code and can't make any sense of it. Can somebody take a look at the code and tell me what they think of it: .....
View Replies!
View Related
PHP File Upload
I think I messed php config and I can't upload anything with php now Dir is chmoded on 777 and File_Uploads = On in php.ini I'm running lsphp5 with suhosin, when I try to import db via phpmyadmin I get error: Uploading is not allowed and when I try to upload some file via php script I can't
View Replies!
View Related
Php File Corruption
I have a Linux VPS with Liquidweb which is working fine except for one problem: On one domain I have a shopping cart (a highly modded CubeCart). A number of the files are encrypted php files (part of the extensive mods). For several weeks all will work fine, then out of the blue, the cart will stop working because a number of the encrypted files have become corrupt. The result is either a totally blank page or a 'checksum error'. Uploading the files from a local backup fixes things for another few days or weeks. I have no idea why this is happening, or what triggers it, so if anyone can point me in the right direction to find out what is behind the problem, I would greatly appreciate it. The server uses PHP 5.2.x
View Replies!
View Related
Cron: How To Run Php File
My server with cPanel, I'd like run file http://domain.com/file.php at 0h00 everyday, I have set the Cron Job in cPanel : Code: 0 0 * * * /usr/bin/ehpwget http://domain.com/file.php but The cron is not working well Code: /bin/sh: /usr/bin/ehpwget: No such file or directory Can any one please let me know how to run a php file with cron. (as user or root)
View Replies!
View Related
[php] <defunct> - What File Generating That ?
On my server, i have one user ho create load on my server. user 29508 22.0 0.0 0 0 ? Z 15:18 0:00 [php] <defunct> That user has more site added with addons from cpanel. How can I found witch site is generating that high load ? Also some time, I have php index.php ( and that don't help me very much ) The server run php as cgi module.
View Replies!
View Related
PHP Permissions (file Owner)
I have setup an ftp user which can upload files to /home/ftp/upload and obviously it assigns the ftp user as the owner when it uploads. Now, I want PHP to be able to rename those files, but getting a permission denied, presumably because apache aint the owner or doesnt have permission to do that, so how do I grant it the right permission(s)?
View Replies!
View Related
PHP File Change String
I currently have this code in my Image Upload script which changes the file name into sets of numbers and letters Quote: $new_file_name = "uploads/" . md5($_FILES['selector']['name'] . time()) . "." . $extension; How can i make it so its smaller than an md5, about 6 or 7 numbers and letters.
View Replies!
View Related
Mod_rewrite - Changing Paths In The Php File?
I am using mod_rewrite to create "pretty" urls but some of my files contain paths such as this: <img src="images/blah.jpg"> Meaning if the user visits a page where the file does not physically exist then it won't work. I want to know if it is possible to pick this up and rewrite the path. I.e.: change: <img src="images/blah.jpg"> to: <img src="../images/blah.jpg"> or <img src="../../images/blah.jpg"> As I don't want to create physical files with relative urls for every trunk of my url. For example: www.mydomain.com/directory/directory/directory/ Would need 3 different files in three different directories to display properly.
View Replies!
View Related
Prevent PHP Files Used For File Uploading
It appears that some people like to take advantage of those files for online web applications such as Wordpress which have php files with permissions set to 777. They use those as a means of creating an upload file. The upload files that they create then have access to the whole server somehow... Is there anyway of preventing this from happening?
View Replies!
View Related
Chmod Choices With Php Writing To A File
My account has been hacked with every index.php page defaced. I've cleaned up and my shared wehost is pointing at me saying there shouldn't be any 777 permissions for any files in there. I used 777 to allow php to add records in a txt file and in an xml file. Is there a better / more secure chmod code I can use? Those are the only two instances where I need php to write to a file and those files shouldn't be served to anyone, I do not want anyone to be able to access them. How can I secure them while letting php write in them?
View Replies!
View Related
Php.ini And .htaccess File Permissions
I'm on a shared FreeBSD server, running Apache with Drupal, and vBulletin. I had to create a local php.ini file in my public_html folder for Drupal, and another in my forum folder for vBulletin. Now my question is, what should I set the permissions of these files to? Also, what should I set .htaccess permissions to as well? I'd like to keep them invisible to the public. But, I don't want any problems with Drupal, or vBulletin ether. I'm used to using Linux and I know how permissions work on a desktop. I just don't know what they do when used on a server. I'm guessing 640, but I'd like to make sure before I change anything.
View Replies!
View Related
Strip Whitespace From Each Line Of PHP File
I have a load of PHP files that need trimming down, so for example Code: <html> <?php $loads_of_stuff = 1231231; ?> </html> change to Code: <html> <?php $loads_of_stuff = 1231231; ?> </html> There are 000's of lines, so some awk command or something similiar would be great to execute on each file.
View Replies!
View Related
How To Prevent People Upload Unwanted .php File
I have a 777 cmod folder open. It needed to be writable so that legitimate users can upload their picture. However, i do not want people to upload .php or .php.pjepg etc to the server. There are times that they do not use the form in my site to upload the php file. How can they do that? via perl command? And how to prevent such thing from happending?
View Replies!
View Related
How To Secure Your Php.ini File Safe Mode ; Disable_functions ; Etc
what are the most important issues for secure php.ini file like when you turn your SAFE_MODE ON or OFF? or please who every read this topic to post his important disable_functions in php.ini ... and if some functions disable to post it ... let's make this subject for the most important issues for secure your php.ini from script-kids as we can ... here i have some important question's for anyone has or controlling a server ; vps .... #0x01 ; what the most important disable_functions for the php.ini? #0x02 ; is the safe_mode should be enabled? or disable? and this depend on what exacly? #0x03 ; what the functions or any trick to control the nobody ( attacker on the server or shell ) FROOZ .... didn't move ? or make any command in the server ... #0x04 ; i saw in some secure server ( as they say ) they changed the Server : discribe to them name[s] like Server : SECURE BY US .COM OR SECURE SERVER .. uname -a : Linux secure.secure.com 2.6.9-023stab040.1 #1 Mon Jan 15 23:24:32 MSK 2007 i686 athlon i386 GNU/Linux sysctl : linux 2.6.9-023stab040.1 Server : SECURE BY US ! < [THIS WHAT I MEAN HOW COULD WE CHANGE IT IN PHP.ini ?] id : uid=99(nobody) gid=99(nobody) groups=99(nobody) <[how can we cannot make this nobody to have the host id ! everyhost in the server should have his own name and php.ini ?] pwd : /home/host/public_html/ #0x05 ; how can we hide the uname -a on the shell [ the attacker upload it to our customer site !] #0x06 ; how can we hide the sysctl to view to anyone like [ attacker ] ... #0x07 ; how can we rewrite on he Server Type the display for our secure message?Server : SECURE BY US ! #0x08 ; how can we give evey site and customer his php.ini file in his public_html? and how can we give him [ JUST HIS PERMISSION TO HIS SITES FOLDER AND NOT OTHER PATHS AND PERMISSION!] these question every one had a server ; vps , need to know and secure his box from other ... and anyone would like to publish any new [secure or not] idea please let us know what you would like to say ....
View Replies!
View Related
Simpleish PHP/flat Files - Create File, Edit, Save
Display some text in a web browser from a file called text.txt text.txt will have many lines and some of them I do not want users to be able to modify and overwrite. config_item_1=user can edit config_item_2=user should see but not edit (could be on any line) config_item_3=user can edit config_item_4=user can edit The user has made their changes in the web browser and clicks submit. I then need this info to be saved as the text.txt file however some checking needs to be done first. Anything matching config_item_2 should be removed. This could be on any line. Anything not matching should be permitted and added.
View Replies!
View Related
Proc List Only Shows "/usr/bin/php" - No More File Names
We use cpanel on our centos servers and we've updated our servers recently using easyapache to the latest php4 and mod_suphp and I've noticed that in top (running "top c" in shell) all php processes by any user are simply displayed as "/usr/bin/php" Before this update the processes also showed the file name eg. "/usr/bin/php lamescript.php" which allowed to easily find troublesome scripts ... but now there's no way of knowing what the script in question is that's eating up 100% of the cpu .. or is there?
View Replies!
View Related
Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0
Rapidly growing error logs showing the same message $ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0 root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ./ ../ eaccelerator.so* root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ./ ../ eaccelerator.so* Using cpanel 11 / centos 4
View Replies!
View Related
Download
when I'm using any download manager such as FDM or DAP file download with extension *.r instead to *.rm. but when using windows default downloader file downloaded with right extension *.rm. So what do you think about it? please note that I'm not change any configuration in server.
View Replies!
View Related
Download Speed
I want ask How i know the Server Download speed from Rapidshare ? I have windows Dedicated Server with 1GB Port and when i download something from rapidshare its just 2MB/s , is that Normal ? and now i am thinking to Buy another one , How i can know the Download speed from rapidshare site ? I ask some Company about that but No one give me test or any thing like that ,
View Replies!
View Related
Incomplete Download
My site is hosted on eUKhost, and there are some users who get an incomplete download of an msi-file (about 12 MB in size) hosted on my website. They don't get an error in their browser, it's just like they have a complete download. The incomplete file users download is usually about 2.7 MB big. When they re-download the file afterwards, they never seem to have the problem again. It seems to happen completely at random and I haven't got a clue what the reason could be.
View Replies!
View Related
Why Won't My Files Download
I'm using oscommerce on a PHP5/Apache 2 installation. I've got several virtualhosts, and I'm using webmin to administrate them. I've just moved to this new server, and now files are being played in browser instead of downloaded....I thought I had changed the mime.types file correctly, but obviously not... Here is the content of it: Code: # This is a comment. I love comments. # This file controls what Internet media types are sent to the client for # given file extension(s). Sending the correct media type to the client # is important so they know how to handle the content of the file. # Extra types can either be added here or by using an AddType directive # in your config files. For more information about Internet media types, # please read RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type # registry is at [url]. # MIME typeExtension application/EDI-Consent application/EDI-X12 application/EDIFACT application/activemessage application/andrew-insetez application/applefile application/atomicmail application/batch-SMTP application/beep+xml application/cals-1840 application/commonground application/cybercash application/dca-rft application/dec-dx application/dvcs application/eshop application/http application/hyperstudio application/iges application/index application/index.cmd application/index.obj application/index.response application/index.vnd application/iotp application/ipp application/isup application/font-tdpfr application/mac-binhex40hqx application/mac-compactprocpt application/macwriteii application/marc application/mathematica application/mathematica-old application/msworddoc application/news-message-id application/news-transmission application/ocsp-request application/ocsp-response application/octet-stream mp3 avi mpeg mpg bin dms lha lzh exe class so dll img iso application/oggogg application/parityfec application/pdfpdf application/pgp-encrypted application/pgp-keys application/pgp-signature application/pkcs10 application/pkcs7-mime application/pkcs7-signature application/pkix-cert application/pkix-crl application/pkixcmp application/postscriptai eps ps application/prs.alvestrand.titrax-sheet application/prs.cww application/prs.nprend application/qsig application/remote-printing I'm trying to have the users download mpg files....
View Replies!
View Related
VPS For Only Web Download
First of all let me tell you, i want VPS hosting not for hosting websites but for downloading and uploading purpose..(not specifically torrents) I have already got VPS hosting with VPSland.com at $18 per month with 50% off for first month that i have just got yesterday. My hardware spcifications are: Lite plan with 6GB harddisk space, 512 MB Ram, 200 GB Bandwidth, Intel core 2 quad CPU Q6600 2.40 Ghz. with one dedicated IP... It also comes with remote desktop and window 2003 set up.. Can i get this anywhere or even more for cheaper than this as i just want it for downloading and uploading and web surfing because my internet connection is not that fast (i am at 256KBps) Also, If i download something to my VPS server, is there any fast way to get that on my local machine. because my VPS is fast but when it comes to transfer files from VPS to my local machine, it again takes some time. Is there solution for this.. I also find sarorahosting very cheap at $7.99 per month with 30GB Hard disk, 384 Ram, 100 GB bandwith, and 2 IPs......it is a good host.. any review on that.. Probably, i am looking for such cheap VPS for my downloading and uploading but not sure about their service and uptime..
View Replies!
View Related
Limit Download Speed
im using vmware in centOS dedicated server how i can limit Download speed for each IP ? OR how i can limit download speed for each Vms? OR how i can limit download speed for all Vms?
View Replies!
View Related
Linux Download Test
Anyone have a good download test in chicago other then FDC's? I was told i was upgraded to a 1GBPS port for free by my host(from a 10mbit) which is sort of weird, i want to confirm. at this time FDC's 100MB file takes me about 3 seconds to download and downloads at 44.7M/s. the file is too small for me to try and pull 1gbit, by that speed i have a 500mbit line odviosely but i want to test against something outside of FDC.
View Replies!
View Related
How Do I Download Directly To My Server
I've been trying in vain to find out how to download files from online sites directly to my server hosted with Siteground. Basically, I figure why bother downloading to my local HDD when I back everything up on my online server anyway. I know this classes as a server to server file transfer but I want to download things like software, particularly Linux distros, and archive them directly on my server. I just can't think how to word it any other way. I use my browser and click the download link and it asks me to save it to my local HDD but instead I'd like to save it to my backup server bypassing my local comp totally. Currently Siteground give me "unlimited" bandwidth and "unlimited" storage space, overselling obviously but now I want to use some of my space. My home upload speed it 20kb on average so this is why I'd rather upload/download/save interesting software etc onto my backup server. I've looked briefly at WGET and CURL but it looks too complicated. I'd just like to be able to FTP all my 'normal' downloads right onto my server. I'd use an intermediary service for this as well as this backup is for non-private files only, if only I knew how to word the concept. I just don't know how to search for the right tools or whatever for what I want to do. I just want to add a "save to my server" option to my normal download dialog for want of a better description.
View Replies!
View Related
APF Download (rfxn Not Available)
I`m not looking for a debate on the APF, CFS or whatever firewall is better! Seems the RFXnetworks website is not available, does anyone have the latest APF floating around for a wget download? Has RFX gone for good or is this outage blip - anyone know?
View Replies!
View Related
|