Jump to content

truegilly

Members
  • Posts

    59
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

truegilly's Achievements

Member

Member (2/5)

0

Reputation

  1. right ive changed the file permissions so its 777. trouble is im still getting that error. one thing i havent mentioned is that on the server there are .htaccess all over the place, ive looked in the one on the root but it doesnt seem to influence anything from the upload directory. The .htaccess file that is in the parent directory two up from temp contains nothing of any signifcance. has anyone had the same problem ?? thanks truegilly :'(
  2. Hi guys, just downloaded core FTP, so far a nice piece of software. anyways have viewed the permissions on the /home/httpd/vhosts/clearblueseas.com/httpdocs/clearblueseas_admin/inc/img/temp folder and this is what it says.... USER Read Y Write Y Execute Y GROUP Read Y Write X Execute Y WORLD Read Y Write X Execute Y value = 755 File Permissions: drwxr-xr-x many thanks Truegilly
  3. thank you very much !! just had a go at changing the folder permissions with fireFTP that we use here but it doesnt have a right click option for changing permissions, so im gonna search the web for an alternative, do you know any good ones your can reccomend ?? as soon is ive got one ill give it a go and post the results truegilly
  4. yeah thanks for that but i forgot to mention that ive tried that and this is what i got back.... <?php Warning: chmod(): Operation not permitted in /home/httpd/vhosts/clearblueseas.com/httpdocs/clearblueseas_admin/inc/property/photos.php on line 17 // Everything for owner, read and execute for others chmod("/home/httpd/vhosts/clearblueseas.com/httpdocs/clearblueseas_admin/inc/img/temp/", 0777); ?> once again many thanks for the help !! Truegilly
  5. ok, thanks for that, my problem is that the directory that will store my images once they are uploaded constantly states that its not writable. Ive used the is_writable() function to check this. <?php if (is_writable("/home/httpd/vhosts/clearblueseas.com/httpdocs/clearblueseas_admin/inc/img/temp")) { echo "is_writable"; } else { echo "not writable"; } ?> The problem i have is that i keep getting the following error when i try and put uploaded images into the directory. the image i have uploaded is dogs.jpg Warning: imagejpeg(): Unable to open '/home/httpd/vhosts/clearblueseas.com/httpdocs/clearblueseas_admin/inc/img/temp/dogs.jpg' for writing in /home/httpd/vhosts/clearblueseas.com/httpdocs/clearblueseas_admin/inc/functions.php on line 44. i have uploaded another post previous to this that states the issue in more detail - http://www.phpfreaks.com/forums/index.php/topic,153744.0.html any help is much appriciated !!! truegilly
  6. Hi guys, a real quick one...... can anyone tell me what i need to change in the php.ini file to make a directory on the server writeble so i can upload a file ? ??? many thanks Truegilly
  7. Hi guys got a very annoying problem that i have now been trying to fix for days !! :'( i have a image upload page that ive been assigned to fix, due to it apparently never working. I have a sneaky suspision that the storage directory for the images has not been set the required permissions. The main problem is that the server we are running the site on does not allow us access to the php.ini. The error (the one ive been trying to solve for days ) is this.. # Upload to server if(imagejpeg($thumb,'/home/httpd/vhosts/clearblueseas.com/httpdocs/clearblueseas_admin/inc/img/temp/'.$_FILES['upload_pic']['name'] ,80)): return TRUE; else: return FALSE; endif; Warning: imagejpeg(): Unable to open '/home/httpd/vhosts/clearblueseas.com/httpdocs/clearblueseas_admin/inc/img/temp/dogs.jpg' for writing in /home/httpd/vhosts/clearblueseas.com/httpdocs/clearblueseas_admin/inc/functions.php on line 46 To check weather this directory is writable i used the is_writable() function which always returns false. my question is... 1. Can anyone give any advice on this partucilar issue ?? ??? 2. I have been reading about the ini_ set() and other similar functions that allow changes to be made to the php.ini. Can anyone suggest which setting i need to change ?? ??? many thanks Truegilly
  8. thanks for that but there docent seem to be a $_SERVER['REQUEST_URL'] available, tried it and it said .... Notice: Undefined index: REQUEST_URL in C:\p3t\public_php\emudom\register.php on line 198
  9. Hi, im trying to retrieve the entire URL using php and so far not had much luck, i have tried using <?php echo $_SERVER['REQUEST_URI'];?> which will return everything after http://localhost:6789. here is the entire URL... http://localhost:6789/p03272434/emudom/register.php?UName=seen using <?php echo $_SERVER['REQUEST_URI'];?> returns..... p03272434/emudom/register.php?UName=seen can anyone help ?? ??? thanks Truegilly
  10. thanks for your suggesstion, ill have a go when i get back from work Truegilly
  11. ok heres some of my code.... <form action="<?php $_SERVER['PHP_SELF']; echo $emailGet;?>" method="GET" if(!check_email_address($email)) { echo "invalid e-mail address"; $emailGet = "&emailValidation=fail"; } else { $emailGet = "&emailValidation=ok"; } basically once the emailValidation var is in the URL im going to pick this up later in the code to alert the user that their email address was not valid. i have also tried this.... $getstring = '?'; foreach ($_GET as $key=>$get) { $getstring .= $key . '=' . $get . '&'; } then trying to add it on the end of the $_GET array. thanks truegilly
  12. Hi everybody, ive recently stated a web development job and the PC i have been assigned has windows Vista installed. At home i use win XP 64 which in my opinion is good, its fast and reliable. there are two other guys i work with who live and breath Linux, well Gentoo anyway to the point of where they have refused to use any machine with windows installed. They work from their own laptops with Gentoo installed. The machine i use is a standard dell, not the fastest of computers but certainly not slow. Anyway after 2 month of using windows Vista i must admit that i f***ing hate it, its so slow and caters far to much for the noobie user. Everything about it is annoying, its slow, its graphics and effects are poor and in nearly all aspect not required, and the start menu has been made less usable adding more frustration. The part that makes me laugh the most is when you open an .exe, the whole screen goes dark just as if your attempting a fatality on Mortal Kombat and then a box appears asking you permission to run the file. Microsoft are soon going to stop supplying updates to XP and i certainly dont want to upgrade to Vista, so i thinking of going down the Linux route, I.e Ubuntu. The guys @ work think its an excellent idea but i need to know more about it and what are the pros and cons in comparison to windows XP. They have tried to convince me to install Gentoo, but what puts me off was the fact that they said it would take about 2 months just to get to grips with it. can someone please reply with some suggestions and a list of pros and cons ?? thanks Truegilly
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.