473,672 Members | 2,603 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="tes t_folder/";
copy($file, $uploaddir.$new name);
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 1794
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("ft p.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 "successful ly 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
1300
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
3261
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 wrong with these sites? Frankly I am a bit baffled at the moment! I am wondering if there is a problem with the page headers and googlebot? All suggestions appreciated.
10
1694
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 index. I have LeafNode template class derivered from TreeNode. That will be used to hold keys and values in leaf.
1
1789
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 avail. Briefly, the problem is this: I'm having an old Access 2.0 database that I want to convert to Access 2000 on a different computer. The reason why the new database is on a different computer is that the old database runs under Windows 95a...
0
2011
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 the same computer can't use the Add-In. We are cloning a setup to copy to multiple identical machines, and I just want to install the Add-In to be available to All Users without fiddling with rights and manually installing for each person (and
0
1026
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 someone provide me some help and links? Thanks,
15
2947
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, controlled via Plesk control panel, and turned over to me with Fedora Core 6 in an empty state. This is the standard way you get a server in a colo today. Bringing Python up in this completely clean environment is a huge hassle, and it doesn't...
3
4237
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 little changed since. However, it works only with an obsolete version of Saxon (6.2.2 I think), and it has a number of small bugs; and I've at last got to the point where I need to fix it. And I'm finding it, frankly, absurdly frustrating and...
1
1501
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 well-known in this field). I tried to install Exchange Server 07 on my "machine" but it failed for some unknown reason (something to do with local file paths which I was unable to fix). So I took the Plesk control panel add-on which gave me mail...
0
8404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8931
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8828
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8608
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
4227
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4418
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2819
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2063
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.