Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,201,755 members, 7,979,579 topics. Date: Saturday, 19 October 2024 at 12:04 PM

Joit's Posts

Nairaland Forum / Joit's Profile / Joit's Posts

(1) (2) (of 2 pages)

Webmasters / Re: Code To Upload Files To Server, Help by Joit(m): 8:31am On Jul 24, 2009
yawa-ti-de

The error continues:

Warning: copy(uploads//Brief296.PDF) [function.copy]: failed to open stream: Permission denied in /home/fceobudu/public_html/admin_upload_fns.php on line 62

but 0755 is the permission on 'upload' folder in the public_html
Webmasters / Re: Code To Upload Files To Server, Help by Joit(m): 7:59am On Jul 22, 2009
Hello xhtml

*dhtml:

Looking at the code again, the code is very much alright. . . .

step 1: follow nitation's advice, hopefully that should work, or else

step 2: change the line
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target))
to
if(copy($_FILES['uploadedfile']['tmp_name'], $target))

that is because some servers will not give you right to move a temp file, and will auto delete it followin end of session


The error changed to this when I tried to upload a file name 'Brief296.pdf':

Warning: copy(uploads//Brief296.PDF) [function.copy]: failed to open stream: Permission denied in /home/fceobudu/public_html/admin_upload_fns.php on line 60

Please help
Webmasters / Re: Code To Upload Files To Server, Help by Joit(m): 11:01am On Jun 16, 2009
I'm very sorry for not giving the details. Here are the details:

Assuming I upload a file named 'license.rtf', it brings this error message:

Warning: move_uploaded_file(/home/fceobudu/public_html/uploads/license.rtf) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/fceobudu/public_html/admin_upload_fns.php on line 57

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpdAFrb1' to '/home/fceobudu/public_html/uploads/license.rtf' in /home/fceobudu/public_html/admin_upload_fns.php on line 57


System details
Operating system: Linux
Apache version: 1.3.41 (Unix)
PHP version 5.2.8

Pls I'm waiting your replies.
Webmasters / Code To Upload Files To Server, Help by Joit(m): 11:44am On Jun 13, 2009
Nairalander webmaster I used the php code below which worked well on php 5.0.4 but not on php 5.2.8

<?php

// start it now because it must go before headers
session_start();


//This is the directory where the zipped folder will be saved
$target = 'uploads/';
$target = $target . basename( $_FILES['uploadedfile']['name']);

//create a short variable names for upload
$uploadedfile=($_FILES['uploadedfile']['name']);
$uploadedfile_type=($_FILES['uploadedfile']['type']);


if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target))
{
//successful upload message
echo "<p>The file ". basename( $_FILES['uploadedfile']['name']).
" has been successfully uploaded</span>";

}
else
{
echo "<p>Sorry, the file could not be uploaded.</span>";
}

?>


Pls help me on the upload code to work on all versions
Webmasters / Re: Where Scratch Cards Prints by Joit(m): 6:55am On Jan 04, 2009
Yes, such as the one WAEC, NECO use.

I want to print higher institution fees scratch cards.
Art, Graphics & Video / Scratch Card Prints, Where by Joit(m): 8:50am On Dec 31, 2008
Does anyone know where Scratch Cards could be printed, please state the likely cost per one
Webmasters / Where Scratch Cards Prints by Joit(m): 8:32am On Dec 31, 2008
Nairalanders!

Does anyone knows where scratch cards could be printed and the likely cost attached?
Webmasters / Re: Code On Button To Echo Tag, Help! by Joit(m): 10:15am On Nov 03, 2008
Hello Dual Core,

Thank you for the reply.

I am glad to tell you that the code works out well but each button message replaces the previous message. Can't there be a way by which each click will add to the previous button click message instead of replacing it, outright. E.g If I click Bold button in nairaland compose area, instead of it to replace the former text it will (code)add to it.

I need something like the nairaland compose area button function.

I expect your reply. Thanks
Webmasters / Code On Button To Echo Tag, Help! by Joit(m): 3:40pm On Oct 31, 2008
Nairalanders, does anyone know the code to insert/echo tags in a textarea by just clicking specific buttons. E.g To echo <b></b> in a text area if I click Bold button.
Health / Alternative Treatment Of Cancer (of The Rectal), Help! by Joit(m): 1:21am On Jun 06, 2008
My Grandmother was sick for over 3 months now from what we thought was Emroid but was later diagnosed to be cancer of the anus (Rectal) after admitted in hospital for like 3 weeks.

The doctors said they would not want to perform surgery on her as it will be very difficult to stop bleeding in theatre for a cancerous patient. They later referred her to Oncology unit, UCH Ibadan where they will likely place her on drugs.

I think there could be Alternative method (the use of plants and foods) of treating cancer which will surpass drugs (conventional method) as she had 'swallowed' too much drugs.

Nairalander medical experts please help on this matter, I need your response quick!
Webmasters / Re: Php5 Email Code, Somebody Help! by Joit(m): 12:09am On May 04, 2008
Thank you uspry1 for your concern, I will digest the pages I got from the links.
Webmasters / Php5 Email Code, Somebody Help! by Joit(m): 4:40am On May 03, 2008
Hello Web experts,

I have been cracking my brain on the php5 code that send html email, please help!

It is not that I don't know the code but since my hosting company refreshed to upgrade there server, the code that has formally been sending the email has not been working. I wrote my hosting company admin but they replied that all the functionalities of the server is okay.
I have also searched through the Internet to see if I could get some latest code but they are not working likewise.

Somebody help with the latest code!
Webmasters / Re: Please Urgent Help For Coding In A Site by Joit(m): 1:49am On Apr 17, 2008
Webpro, although PHP and MySQL can do this very well but it will be somehow be tedious for you understand codes that could be display in this thread, why not contact Joit Compubook at www.joitcompubook.com or call 08057186051 for a discussion on how to send the files you have designed to him so that he can incorporate the codes and setup the database?
So being a web designer you can then study the codes he programmed in the files and ask questions on the files.
This will help you a lot.
You will be charged very low for the programming.
Computers / C-media Ac97 Error Code 10, Somebody Help! by Joit(m): 1:52am On Apr 02, 2008
I have been experiencing problem with my PC sound system as the sound could not come up. The Volume tab under the Sounds and Audio Devices Properties window in the Control Panel is not active.

The C-Media AC97 Audio Device in the Hardware tab under the same Sounds and Audio Devices Properties window says 'The device cannot start (Code 10)' in the Device status.

I have tried series of method to Roll Back and Update the C-Media driver in the Driver tab in C-Media AC97 Device Properties window while connecting to the internet but the Code 10 would not go and the sound would not work.

I have also tried downloading related drivers and installing them on the PC but the problem persists.

Somebody help as I have solved related problems but this one is STUBBORN embarassed
Webmasters / Re: I Need Someone To Complete My Website! by Joit(m): 1:35am On Apr 02, 2008
Joit Compubook is a Professional Web Design Company which offers a cost effective solution for companies and individuals seeking the very best in professional web site design, web applications, with customer service.

Visit: http://www.joitcompubook.com/service.php

, to fill in some forms at the Web estimate page to allow the company knows what you really need and how you could be helped.
NYSC / Re: Nysc Online Registration (batch A 2008) by Joit(m): 11:32pm On Mar 23, 2008
Do you think this e-registration is reliable? angry

or You think there will be alternatives?
Webmasters / Re: Php 4 Or 5 Upload Code, Somebody Help! by Joit(m): 4:16am On Mar 20, 2008
grin
Thank you my2cent and kazey. I love you smiley

I just replace the

$target = "uploads/";

with

$target =$_SERVER['DOCUMENT_ROOT'].'/uploads/';

and it now WORKING

LEARN FROM ME grin
Webmasters / Re: Php 4 Or 5 Upload Code, Somebody Help! by Joit(m): 3:15am On Mar 20, 2008
kazey the permission to the folder is 'rwxrwxrwx' and it is not displaying error message for me to track the code line error only that it is echoing the else statement of not uploading the uploadedfile.

kazey, it seems you are affiliate of nairahost nigeria. If you are, thank God. Nairahost is my web host company. Do you have any support on this?
Webmasters / Re: Php 4 Or 5 Upload Code, Somebody Help! by Joit(m): 12:00am On Mar 19, 2008
Thank you my2cents for your concern, kiss
The current web host support PHP 4.X and PHP 5.X (where 'X' could be any digit) while the former web host support PHP 4.X or older version.
I have used series of upload code versions which I tested to be found working on my Local Server (PHP Version 5.0.4) but could not work on my Web Server.
Here attached is the web file that I'm currently using which is expected to process my upload file.

Webmasters / Php 4 Or 5 Upload Code, Somebody Help! by Joit(m): 1:08am On Mar 18, 2008
The PHP upload codes I used on my website was working well on the former server of my web host company but is not working on the new server the host company now transfered to. All my effort in trying series of latest codes proofed abortive- Somebody please help!
Webmasters / Re: Help Us Build the Best Nigerian Website Directory by Joit(m): 12:58am On Mar 09, 2008
Joit Compubook provides creative services which include Professional Web Site Design, Custom Web Programming, E-commerce Web Site Design, Database Driven Web Sites, Affordable Web Design Packages, Custom Web Design Solutions, PHP Programming, PHP & MySQL Database Integration, Content Management Systems with many new or existing businesses wishing to exploit the incredible potential of the internet.

http://www.joitcompubook.com/
Career / Place Your Cv On The Internet by Joit(m): 7:46am On Feb 11, 2008
Are you a fresh graduate; looking for your choice of job or want to change your place of work? You need a CV (Curriculum Vitae)/Resume-me which is usually required to be written with a specified format – preferably in 2pages A4paper.
But as an achiever, you may want to write much about your accomplishments which may flip through several pages.
Wait! What you just need is to write the required CV format into the 2pages file or so and the orderly details of your accomplishments into another file. Create a web page for your details accomplishments; now place a web link on the required CV format to refer to your comprehensive accomplishments on the Internet (This is for the Company Human Resource Recruiters to search you out if they need more information about you).
Print the required CV format and send to your choices of companies.
This will however place you at higher rug as you have taken a step higher than your counterpart by providing more information about yourself which would not have been possible and more so by going worldwide and accessible worldwide.

For the sample of the comprehensive accomplishment CV,

visit: www.joitcompubook.com/cv.html

Joit Compubook helps to design and host web curriculum vitae.

This web design company can be reached at

Website: www.joitcompubook.com
Phone: +234(0)805 718 6051
Email: info@joitcompubook.com

…feeding the World the Right WORD
Education / Place Your Cv On The Internet by Joit(m): 7:39am On Feb 11, 2008
Are you a fresh graduate; looking for your choice of job or want to change your place of work? You need a CV (Curriculum Vitae)/Resume-me which is usually required to be written with a specified format – preferably in 2pages A4paper.

But as an achiever, you may want to write much about your accomplishments which may flip through several pages.
Wait! What you just need is to write the required CV format into the 2pages file or so and the orderly details of your accomplishments into another file. Create a web page for your details accomplishments; now place a web link on the required CV format to refer to your comprehensive accomplishments on the Internet (This is for the Company Human Resource Recruiters to search you out if they need more information about you).
Print the required CV format and send to your choices of companies.
This will however place you at higher rug as you have taken a step higher than your counterpart by providing more information about yourself which would not have been possible and more so by going worldwide and accessible worldwide.

For the sample of the comprehensive accomplishment CV,

visit: www.joitcompubook.com/cv.html

Joit Compubook helps to design and host web curriculum vitae.

This web design company can be reached at

Website: www.joitcompubook.com
Phone: +234(0)805 718 6051
Email: info@joitcompubook.com

…feeding the World the Right WORD

(1) (2) (of 2 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 36
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.