Recent content by Creq Du Freak

  1. C

    security hole vulnerability php?

    suppose i am able to run my php code on target server , what are the important info can i get from phpinfo() or how can i access the database and takeout info i wont harm or offend anyone its for learning, i am developing website.
  2. C

    posting and retriving image PHP?

    here form php code <form action="tmp.php" method="post" enctype="multipart/form*data"> <label for="file" >Filename:</label> <input type="file" name="userfile" id="file" /> <br /> <input type="submit" name="upload" value="upload" class='submit' /> </form> what shoul i write in tmp.php to...
  3. C

    php ubuntu 10.10 messed up?

    i was ussing ubuntu 10.04 then i upgraded it to 10.10 i have installed LAMP server on ubuntu scripts are running fine but i am having problem in uploading files here is my input form <html> <body> <form action="tmp.php" method="post" enctype="multipart/form*-data"> <label...
  4. C

    php replace this code plz?

    <?php $blacklist = array(".php", ".phtml", ".php3", ".php4"); foreach($blacklist as $item){ if(preg_match("/$item\$/i", $_FILES["userfile"]["name"])){ echo "we do not accept php files" ; exit...
  5. C

    i need help in php,,,?

    what is "$this -> xyz" in php how to use it plz give me simple example or any link
  6. C

    please modify my php code(10 pts)?

    <?php session_start(); include 'connect.php'; $query = 'SELECT * FROM m_user_acc WHERE uid = "' . $_SESSION['id'] . '" LIMIT 1'; $userResult = mysql_query($query); if(mysql_num_rows($userResult) == 1) { $_SESSION['user'] = mysql_fetch_assoc($userResult)...
Back
Top