Search found 4 matches

by ChocolateLover
Thu Feb 15, 2007 6:50 am
Forum: PHP - Code
Topic: Browse to files on server
Replies: 1
Views: 382

Browse to files on server

I need the user to be able to browse to and select a file on the webserver. I just need to capture the name of the file. Ideally I would like to limit the selection to jpgs.

Any ideas on how I could acheive this?

Thanks
by ChocolateLover
Sun Jun 11, 2006 7:58 pm
Forum: PHP - Code
Topic: $_FILES submit hanging
Replies: 4
Views: 2219

That's the whole script. I'm not event trying to actually upload or do anything with the file yet. The files I'm choosing vary in size and are all less than the max_file_upload size. I open the page and a browse and submit button show. If I click submit, the page just refreshes. If I select a file a...
by ChocolateLover
Sun Jun 11, 2006 6:38 pm
Forum: PHP - Code
Topic: $_FILES submit hanging
Replies: 4
Views: 2219

$_FILES submit hanging

I'm using OSX Tiger Safari Apache 2 PHP 5.1.2 My code is <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data" name="photo_upload"> <input name="photo_button" type="file" /> <input type="submit&...
by ChocolateLover
Tue Jan 24, 2006 5:20 pm
Forum: PHP - Code
Topic: Page redirect not working with some graphics
Replies: 1
Views: 306

Page redirect not working with some graphics

Jcart | Please use and tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color] Hi I have a file called availability <!-- Web Design --> <?php require('includes/application_top.php'); ?> <html> <head> <title>The...