Search results

  1. Z

    PHP List of site members problem?

    Hey guys, I have a php script which allows the user to view the list of users on the website: <?php $con = mysql_connect("localhost","User","Pass"); if (!$con) { die('Could not connect: ' . mysql_error()); } $query="SELECT * FROM users ORDER BY `Username`"; // query string stored in a...
  2. Z

    PHP File uploading, renaming files with the same name to blahblah(1).ext?

    I have an upload script and right now, if the file exists, the file is rejected and cannot be uploaded. I want the uploading processing script to check and rename the file if it already exists to "filename(1).ext" The uploading script I'm using is this one: <?php if ($_FILES["file"]["size"] <...
  3. Z

    PHP File uploading, restrictions on file type?

    Hey, I want to restrict the file type someone can upload to my website, I want it so they can only upload .tmc files, I have tried many methods but can't seem to make it work, any help would be much appreciated, thanks :)
  4. Z

    Taking information out of the URL with php and adding it to a form?

    Me and my friend own a website called http://two-manga.com If there is a problem that the user detects on the software, they click report problem and it takes you to say http://two-manga.com/report-manga.php?manga=naruto&chapter=34 for example. Now in the form I want to take the manga=naruto...
Back
Top