View Single Post
Old 06-25-2007, 05:17 AM  
phypon
Confirmed User
 
Join Date: Oct 2003
Posts: 440
Quote:
Originally Posted by k0nr4d View Post
don't ever name any php files .inc...

I could find someone with this script installed, hit their config_submission.inc file in a browser and see this as plain text:

// ftp connection string
$conn = ftp_connect("ftp.yourserverhere.com") or die("Could not connect");

// username and password to login to ftp session
$conn_user = "your_username_here";
$conn_pass = "your_password_here";
Fixed. I changed the .inc extension to .php and changed the include in the main file.

Thanks k0nr4d for pointing this out.
phypon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote