[PHP-DB] Uploading files

2003-12-02 Thread Hugh Dickinson
I'm trying to upload image files to the server using http file upload. The
files seem to make it to the sever okay, but once they're ther and I try to
move them to where I want them, I get the following error:

Warning: move_uploaded_file(./images/exec/Editor.jpg): failed to open
stream: Permission denied in
/home/hudson/misc/dtr8hcj/public_html/changeexec.php on line 24

Is this my fault, or is it due to some sever configuration beyond my own
control. The line of code the error refers to is:

if(move_uploaded_file($_FILES[$imagename]['tmp_name'],$imageurl))

where $_FILES[$imagename]['tmp_name'] is a valid variable, and the path
specified by $imageurl definitely exists.

Any help would be greatly appreciated.

Cheers

Hugh Dickinson

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Current page url

2003-11-19 Thread Hugh Dickinson
is there any way to determine the url of the current page. The idea is to
make a generic 'quickpoll' which posts to the page from which it was
activated

Regards

Hugh Dickinson

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Transferring MySQL data.

2003-08-15 Thread Hugh Dickinson
This is probably a stupid question, but I'm pretty new at this!

Having built test MySQL databases for my website on my home machine, is it possible to 
transfer the data straight to a web hosting company's server or do I need to rebuild 
the databases again from scratch?

Thanks for any input,

Hugh Dickinson

[PHP-DB] Testing code

2003-07-02 Thread Hugh Dickinson
Is it possible to test PHP and MySQL scripts and databases without being registered on 
a web server?