Northern Flame
-
Posts
816 -
Joined
-
Last visited
Never
Posts posted by Northern Flame
-
-
once again :'( :-\
Warning: move_uploaded_file(pending/nf.gif): failed to open stream: No such file or directory in /my_path/download/thanks.php on line 25
Warning: move_uploaded_file(): Unable to move '/tmp/phplnee6o' to 'pending/nf.gif' in /my_path/download/thanks.php on line 25
-
oh, haha,
i only saw two "upload/"
in the script,
i didnt notice the third one
-
alright i told me it was uploaded to a temporary folder,
but once again,
error message:
Warning: move_uploaded_file(upload/nf.gif): failed to open stream: No such file or directory in /my_path/download/thanks.php on line 25
Warning: move_uploaded_file(): Unable to move '/tmp/phpmfDVem' to 'upload/nf.gif' in /my_path/download/thanks.php on line 25
Stored in: pending/nf.gif
and it was never stored in the folder "pending/"
-
alright then,
let me customize it to fit my needs,
test it out,
and report back the results,
thanks
-
it says that the directory does not exist
-
do you mean the entire path starting from the root,
or just the domain leading to the directory where i want it all moved?
-
I want users of my website to be able to submit songs or images to me,
so i created an upload form but the script that processes it gives me an
error message,
heres the error message
Warning: move_uploaded_file(pending/image/a.JPG): failed to open stream: No such file or directory in /my_path/download/thanks.php on line 19 Warning: move_uploaded_file(): Unable to move '/tmp/phphaMD5R' to 'pending/image/a.JPG' in /my_path/download/thanks.php on line 19
Heres the script
<?php $type = $_POST['type']; if($type == 'song'){ $t_path = 'pending/song/'; } elseif($type == 'image'){ $t_path = 'pending/image/'; } else{ $t_path = 'pending/'; } $t_path = $t_path . basename( $_FILES['file']['name']); include('includes/headernf.php'); echo '<div id=body>'; if(move_uploaded_file($_FILES['file']['tmp_name'], $t_path)){ echo " The ".$type." ".basename($_FILES['file']['name'])." has been uploaded! Thank you for contributing to this site!"; } else{ echo " Their was an error when uploading your ".$type.". It is possible that the file was too big. Please try again or <a href='/contact.php'> contact us</a>."; } echo '</div>'; ?>
-
oh i didnt know their was an ASP and ASP.NET
but thanks for the reply!
I just started noticing that a lot of websites I came
across were using .aspx files and i wanted to know
what was so good about asp that php didnt have,
but for me i think ill stick to PHP
-
alright thanks
-
hello,
I am trying to order my data by the id,
but i only want to show the latest 5 that
were entered. I know how to only display
5, but it shows the first 5, not the last 5,
can anyone help?
$limit = 5; $query = "SELECT * FROM table ORDER BY id LIMIT $limit"; $result = mysql_query($query) or die("ERROR " . mysql_error());
-
hello,
i was just wondering what the main differences between asp and php are.
I was looking through some asp tutorials and it seems like PHP has a lot
more features, and asp seems for complicated. Yet I see many websites
using asp, can anyone let me know what the differences between asp
and PHP are? What can you do in asp that cannot be done in PHP?
-
it didnt work but its ok,
it wasnt that big of a deal
-
alright ill give that a try thanks for the help
-
I have a form that uses the method of $_GET,
I only want certain variables to be used as $_GET
and the rest as $_POST, how can i do this? I know that
$_REQUEST works for both, but what I am trying to do
is only display the email address and their action as
a part of the URL when they hit "submit", how can
i get the rest of the variables not to be displayed?
-
so can anyone help me out?
-
i just want to report my websites news to who ever subscribes to my list,
i want to have a form on my website where people can subscribe and then i
just email them from news@mydomain.com
-
Hi I want to create a mailing list for my website but i have never done this before, I searched on google and all i found was free mailing lists but when a user subscribes, it takes them to the website that provides the free mailing list and it has an ad for them when i send out an email, can anyone help me create my own mailing list?
-
no i went straight to looking for the headers
-
yea and it worked out better than i though,
becuase i also wanted my wap site only to be viewable
to a mobile phone and not a computer,
so when i try to access that page with a computer
it doesnt view it, but with a phone it works fine
-
this did the trick
<?php header('Content-type: application/vnd.wap.xhtml+xml'); ?> <?php echo '<?xml version="1.0"?'.'>'; ?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
-
alright well thanks for the advice,
i guess ill go on google and look for
one of these so that I can test my
wap site
-
no i've tried that before,
it still wont work,
all i really want to do is
display some ringtones that are in my
MySQL database and using pagination....
can this be done without PHP?
-
does anyone know?
-
I have a wap website and I want to use PHP on it,
but when I tried that it gave me an error message on
my phone saying "Unsupported Content Type"
is their a way to use PHP on a wap site?
Upload File Error
in PHP Coding Help
Posted
lol alright thanks