[PHP] php header function...

2002-11-08 Thread Brad Apps
Hey,



Got a problem using the header function on a file upload page to redirect
the user back to a web page.  Here's the code:



#!/usr/bin/php -q



http://www.webfusion.net.au...";);



else



print("Error");



Any ideas on how i would get this to work.  The error which shows is
Warning: Cannot add header information - headers already sent



Thanks in advance.






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




[PHP] Looping through formfields...

2002-11-09 Thread Brad Apps
Hey Guys,

Can anyone please point me to any URLs or give me some code which will loop
through form fields and delete the particular file which is passed from the
form.  The user will click a checkbox next to each file needed deleting and
we must perform a unlink() to each file.

Thanks.



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




[PHP] _POST incorrect output...

2002-11-13 Thread Brad Apps
Hey Again,

I am doing the output from a _POST array and it seems to replace all spaces
and '.'s in the file names with '_'.  so a file name brads doc.htm outputs
as brads_doc_htm.  Any suggestions, PLEASE.

Thanks.



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