473,287 Members | 1,880 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Dummy rights problems with Plesk

Hi guys, I've an hosting in media temple (appliance-server) with plesk
7.5.1. I'm trying to bring make a CMS I did in another server to work
there. The issues is related the file uploading, in fact a dummy script
like that:

$newname="ciro.jpg";
$uploaddir="test_folder/";
copy($file, $uploaddir.$newname);
unlink($file);

in media temple doesn't work, it seems it arrives no file from the
upload html page. Obviously this script works fine in the other server.
At the beginning they told me that was an issue related to the safe_mode
that was ON. So I turned it off and restarted the machine. From the
phpinfo it seems I did correct:

http://www.delete-uk.com/info.php

Their assistance, very weak, can't help me further... does anyway have
an idea on how to upload files in that bloody server?
Thanks a lot, chr
Jul 17 '05 #1
2 1781
The ftp functions seem to work fine. Since I never used them, does
anyone has some reccomandation on use them?

Thanks a lot, chr
Jul 17 '05 #2
> The ftp functions seem to work fine. Since I never used them, does
anyone has some reccomandation on use them?


also with the ftp the file upload doesn't work in my media temple hosting:

<?php
$remote_file = 'httpdocs/test_folder/ciro.jpg';

// set up basic connection
$conn_id = ftp_connect("ftp.mysite.com");

// login with username and password
$login_result = ftp_login($conn_id, "xxx", "xxx");

// upload a file
if (ftp_put($conn_id, $remote_file, $file, FTP_BINARY)) {
echo "successfully uploaded $file\n";
} else {
echo "There was a problem while uploading $file\n";
}

// close the connection
ftp_close($conn_id);
?>

the file is empty, a kind of 0 bites file. There should be for sure some
restriction from media temple, but which ones???
thx, chr
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jonathan Fine | last post by:
I'd appreciate comments on what I'm doing. Please be kind, I'm a new kid on the block. Here's my application. I'm writing some test code. (I'm a recent convert to unit testing.)
29
by: Steve | last post by:
I have worked on a couple of sites which google's bot visits, partially lists and then goes away again. MSN and Yahoo are fine and working. Can anyone please suggest what, if anything, is...
10
by: Tayfun Özdemir | last post by:
Hello there, I have a school project and I have to finish it soon. I have to implement B+ Tree for the project. I have TreeNode template class. That will be used to hold keys in the tree...
1
by: Stephan Neuhaus | last post by:
Hi all. I'm having a problem that's driving me nuts. I am not familiar with Access, but I have read the FAQ, searched google, read the Access Security FAQ, and looked at the Access Web, to no...
0
by: Steve | last post by:
Greetings, I'm having problems with the use of an Access 2003 Add-In on Windows XP Pro. Administrative-level users have no problems running the Add-In, but those users with restricted rights on...
0
by: Miguel Dias Moura | last post by:
Hello, I am hosting various web sites on DiscountAsp.Net. I am now looking for an Asp.Net 2.0 / SQL 2005 hosting service with where I can host multiples using Plesk control panel. Could...
15
by: John Nagle | last post by:
I've been installing Python and its supporting packages on a dedicated server with Fedora Core 6 for about a day now. This is a standard dedicated rackmount server in a colocation facility,...
3
by: Simon Brooke | last post by:
As various people will have noticed, I've been having a lot of trouble with XSL lately. Brief history: I wrote myself an XML toolkit back in 2000, and it worked well enough for me, so it's been...
1
JamieHowarth0
by: JamieHowarth0 | last post by:
Hi folks, As a mod in the ASP Forum I'm fairly proficient in server administration stuff. I've taken the initiative of getting a virtual dedicated server with GoDaddy (whom I believe are fairly...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.