SoCalAztec
Feb 5 2006, 10:28 PM
| | I had a quick question. i Uploaded a PHP file to my file manager and i just had a problem finding the URL of my newly uploaded PHP file......my domain name is www.coocoocheezy.trap17.com After that what should i put to get to the uploaded PHP file? Thanks for you help. |
Reply
Plenoptic
Feb 5 2006, 11:11 PM
Depends on where you put the file. If you put it in the public_html folder or the www folder it would be coocoocheezy.trap17.com/filename.php It is the same for an html file just you type php at the end instead of html.
Reply
DeveloperX
Feb 16 2006, 08:00 AM
Yeasr ago I found example of upload php script and change it. Now its my own php script, which store uploaded files from any users. CODE <? $dir = "up/"; echo ("$userfile_name"); if(!empty($userfile)){ if (is_uploaded_file($_FILES["userfile"]["tmp_name"])) { $res = move_uploaded_file($_FILES["userfile"]["tmp_name"], $dir.$_FILES["userfile"]["name"]); if ($res){ echo ("OK");}else{ echo ("OOPS");} } } else { echo ("<form action=edit.php method=post enctype=multipart/form-data> <input type=hidden name=act value=upload> Select file: <input type=file name=userfile> <input type=submit value=\"UPLOAD\"> </form>"); } ?>
Reply
Recent Queries:--
fileupload in zip format in php - 281.58 hr back. (1)
Similar Topics
Keywords : php, file, upload, uploaded, php, url
- Cms/upload Best Practice?
New to using content management, seeking advice. (12)
Increase Upload Limit
(5) I had this setting done before, but I replaced the file and need to know how to do it again. That
is, increasing the max upload limit. It currently is set to 2mb(on my forum for uploading), and I
would like to increase it. I think that the limit is software related and not host related. How
would I go about setting up a limit greater than 2mb? Thanks in advance.....
File Manager Not Working
(2) When I goto upload files using the file manager(legacy mode), the files do not upload correctly.
Every time I try to upload a file, it takes the time to upload it, but the file always comes out
being 0kb so it does not upload the file. Why is this happening?....
Issues Uploading A File [resolved]
(3) Hi there. I have been trying to upload a zip file only about 2mb to my account through CPanel.
First I tried uploading it to a new folder in public_ftp. Then i tried to put it in the main part
of public_ftp. I also tried the same thing in public_html. It shows the file being uploaded, and i
get 100 %, but alas, when i look in the folders nothing is there. Is there a restriction on .zip
files? I have had no problems as of yet uploading htm and html pages. Please let me know ASAP.
Thank you.....
Unable To Replace .png File In Directory
Can't even delete it using Cpanel (7) I can't delete a little file using file manager in Cpanel. I'm trying to delete a .png
image, actually, I'm trying to replace it. The response comes back as a success, but when I
reload my site it's still there. Then I go back to the file manager and go up a level, then back
and WOOP! There it is! I'm beyond frustrated here. What is going on?....
Ftp Problem
zero file-length? (8) I'm using FileZilla right now, and trying to upload a second copy of WordPress onto the account
to use as a comic repository. For some reason, a lot of the files are missing, and when I look into
the folders, I see that a lot of the files have a filelength of 0. What gives? Could someone
please help me out?....
Css Problem On Website
I've uploaded the html/css files but the css isn't working/ (8) Help? I've uploaded all of the html files and css files into the public_html folder , but the
css isn't taking effect. I've checked both the css and te html files , nothing wrong with
them. Halp me? www.genesis.trap17.com/home.html /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" />....
Where Do I Upload My Ftp Files? [resolved]
As in, which directory? (1) I recently got approved for hosting. I have an account right now, but I don't know which
directory to post my FTP stuff in. (I don't know if this is in support or not; the search
results didn't return anything.) I remember with my last host that had CPanel that you had to
upload it into the "public_html" folder. So I do that, or do I just upload it into the root
directory? Thanks in advance! (EDIT: Oh, never mind, it is /public_html.)....
/tmp Folder In File Manager
(4) I know awhile back there was a question brought up about the /TMP folder taking up space, and if
anyone remembers that topic do you remember if TMP was an acronym for temporary, and can you safely
delete the contents in that folder? Right now I am cleaning out my hosting account and the files in
that folder are the only ones taking up space at the moment.....
Got A Great Phpbb File With Mods Already Installed?
If you do put it here. (3) As the name implies, I think it would be a good idea to giving those who aren't really "mod
savvy" a chance to look at what phpBB's could look like with some regular mods installed. If
this thread is innappropriate I'll be glad to delete it away or rather, I give permission to
have it deleted if it isn't appropriate.....
Ftp Trap17 Account Help Please
cPanel issues and can't upload files (14) A few days ago I tried to log into cPanel on my site ( www.liamssite.trap17.com ) and it didnt work.
Also, whenever I try to upload a file (I use filezilla) I get this: QUOTE Status: Resolving
IP-Address for liamssite.trap17.com Status: Connecting to 64.69.46.210:21... Status: Connection
established, waiting for welcome message... Response: 220---------- Welcome to Pure-FTPd ----------
Response: 220-You are user number 2 of 50 allowed. Response: 220-Local time is now 11:31. Server
port: 21. Response: 220-This is a private system - No anonymous login Response: 220-....
File Permissions And Umask Question ?help Pleases
file permissions and umask question ??help pleases (2) when i create new file using ftp or the file manger the file get the default permission of (rwx-r-r)
when any php script create file it gets the sam permission right but i cant edit any new file crated
by the php script i cant even Chang the permissions for it i have to delete the file and create new
one why ???? and if the new file was a folder i cant edit any thing inside of it and how can i fix
this??? I'm fumler with the file permissions cause i use Linux debian /biggrin.gif"
style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> i just don....
File Transfer From Angelfire To Trap17?
P.S. I use my Wii. (1) I'm wondering, how would I do this. Also, how would I install IPB or PHPBB3. I just have those
questions.....
File Manager Problems
(3) Alright, I figured out the edit html windows need to be refreshed each time opening them for them to
show the last updates so you don't just work off the old, un-updated version and mess everything
up (which really should get fixed). The problem that most annoys me though is when I try deleting
files and the File Manager doesn't delete them. I try uploading updated files over them and it
doesn't update them, but just keeps the old ones there. It's getting really annoying. And
when I try deleting stuff from the Trash Can, it never deletes it. Sometime....
New Issue
File manager (4) First of all, thank you a lot for resolving the password issue. Today I encountered a new one once I
tried to upload a file using cpanel file manager - the window refreshed, but the "upload status"
frame remained unchanged, and the file did not appear on the list. What could be a reason for that?....
Help With A .rar File In Ftp Server
Cannot unrar the file. (4) I uploaded a .rar file into my FTP but I cant unrar it. I have uploaded it before in zip format but
I think it got curropted so I reuploaded again. is theren a way to unrar this file? I am concerned
about this because it took me quite some to manage to upload it using a very slow internet
connection. I need help here please,.....
Can't Edit Index
in file manager (3) when i open my sight, www.blockwars.trap17.com i get Parse error: syntax error, unexpected T_STRING
in /home/khalilo/public_html/index.php on line 6 I don't even have an index.php file O_o I have
a index.html its coding is: CODE <html> <head> <title></title>
</head> <body bgcolor= black> <font color=red>welcome</font>
</body> </html> but why isn't it being opened O_o?....
Error Trying To Edit File Using Cpanel Filemanager
Can't save any changes (8) Okay, I am having trouble saving changes to a .css file using the cpanel filemanager. Basically it
worked for me a couple of times (trying to edit "compiled.css") but now it just throws this error at
me every time I click save!! I cannot delete, move, rename or edit the file at all using an
ftp manager or even the cpanel. I have been forced to take my site offline until I have access to
update the css... Please help! QUOTE open compiled.css failed: Permission denied at
cpanel.pl line 444 Carp::croak('open compiled.css failed: Permission denied....
Need Help Installing Smf
It's not finding the files I upload. (5) I downloaded the zip version of the SMF, from www.simplemachines.org I am using SmartFTP, to upload
the files. I created a folder, named Forum, and uploaded all the SMF files there. On the
simplemachines site, it tells me to type my site url followed by /forum/install.php, or whatever the
directory I installed it on is called. I tried that, and I come up with this on the page. Not
Found The requested URL /forum/smf1.1/install.php was not found on this server. Additionally, a 404
Not Found error was encountered while trying to use an ErrorDocument to handle the re....
File Manager In Cpanel Doesn't Work With The Browser Konqueror
(1) The version of Konqueror that comes with Knoppix 5.1 doesn't support the file manager in the
cPanel. I've included a picture. However the File Manager works just fine with
Iceweasal, the equivelant browser to Firefox. ....
Wordpress Installation Error [resolved]
Anything to change in the wp-config.php file? (3) I've chosen to install WordPress manually and things were going well so far...until I hit an
installation error when I tried to run the install.php file on my browser. For the record, I
logged into CPanel and went into MySQL Databases, created the databases, the username and added the
user to the database - as suggested in the installation procedure. Perhaps there's a mistake in
my wp-config.php file that might've caused the error. If there's something I should change,
please let me know. Many thanks in advance. CODE <?php // ** MySQL settings....
File Manager
(1) hey, can somebody tell me what these file are: postinfo.html, _vti_inf.html , .htaccess ?? is it
safe to delete any of these files or? or can i move them to another folder or something, because i
just want the fiels for my site there so i don't have too many.....
File Type Utf-16 Unicode Question
What is it and why won't it work? (0) QUOTE File Type: Little-endian UTF-16 Unicode C++ program character data, with CRLF line
terminators This is the file type of a file I just uploaded to a folder on my account and the
file doesn't work. /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif"
/> It is supposed to be a lowly CSS file, but the page comes out with - zero - styling on it. Wrks
fine locally on a windows laptop and an iMac, too. Also, when I view the file in the cpanel file
manager editor, it is double spaced and there are some really weird characters in the f....
Upload Script To Transfer Files From Laptop To Desktop
(3) Would it be allowed to have an upload script to transfer text files (homework) from laptop to
desktop? Because my printer is set up from my desktop, and most of my homework is done on my laptop.
So would this be allowed? Thanks.....
License File Expired When Logging Into Cpanel
(11) Well looks like the servers did come back on line, but now im unable to acess my cpanel. I go to log
in and I get a message that the License File Expired follwed with that is a set of numbers which id
rather not show. But do I need to log a ticket for this....
Cannot Delete Folder After Lost Ftp Connection
permission not given to delete file (7) hello, well i had created a subdomain and was transferring files into the folder i was disconnect
from the server many times while uploading the files via ftp once when i reconnect, i saw a file
with an unusual name something starting with preftp... i tried deleting the file, but it said that
permission was not granted to do that i tired deleting the complete folder and also tried deleting
the subdomain from the cpanel but it was of no use can anyone help me with this? thx for your time
Modified topic title. ....
How Do I Make A (video) File Smaller?
(11) Ok, I want to host a video that I have in my computer, but the problem is that the video is too
big, 790MB. My host can't handle a file that huge so I was wondering if there is any way I can
make the video file in my computer smaller? I don't want to mess up the video and make it
smaller, I was wondering if I can keep the current 790MB video that I already have but copy only
about 10MB of the video into a new file that I can use for hosting. Anyone know?....
Upload Component - Failed
Problem with Mambo (6) Hello! When I am trying to upload a component in joomla (I upgraded from mambo, I had the same
problem on mambo), it dont work, i get this error message: ! Upload component - Failed" "File
/home/esector/public_html/Gamesector/media/install_4381d76108f20/com_forum.zip does not exist!
" How can I fix it?....
My File Manager Is Working
(2) I tried to change the html for my site in file manager but it just has the default page - the one
when you activate your site. /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' />
How do i change files?....
Blank Images - (white Square W/red X)
FTP uploaded images don't display (8) Hey Guys, PROBLEM: Uploaded website & all images display as blank white box with red X on the
webpages. Tech Info: Am using domain hosting (not subdomain hosting) All my html pages are in
folder "public_html". All my images are present in folder named "userfiles". Both folders are "root"
on the server in my cpanel (ie. not in subfolders). The html code on my webpages "pointing"
(incorrectly???) to the images is: QUESTION: 1) Whats up??? 2) Is this html 3) Does the Xisto
server require that images only be placed in a specific folder OR subfolder in order to display....
Looking for php, file, upload, uploaded, php, url
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for php, file, upload, uploaded, php, url
*MORE FROM TRAP17.COM*
|
advertisement
|
|