Jump to content

siddscool19

Members
  • Posts

    133
  • Joined

  • Last visited

    Never

Everything posted by siddscool19

  1. Hey people I need help with this also if (isset($_POST['access_password'])) { $login = isset($_POST['access_login']) ? $_POST['access_login'] : ''; $pass = $_POST['access_password']; if (!USE_USERNAME && !in_array($pass, $LOGIN_INFORMATION) || (USE_USERNAME && ( !array_key_exists($login, $LOGIN_INFORMATION) || $LOGIN_INFORMATION[$login] != $pass ) ) ) { See I understood till $pass but I am not able to understand conditions in if statement...
  2. Thanks friends it helped a lot (Also I learned a new thing) Thanks again.
  3. Can any one tell me whats the use of 0 ? 0 : In the following codings, (TIMEOUT_MINUTES == 0 ? 0 : time() + TIMEOUT_MINUTES * 60) I am not good at time thing
  4. How to get and send captcha (which we will enter after seeing image) to a page? Can anyone tell me how it works? I know there is a way
  5. for example my database name is hi_name Username is hi_user Pass is hipass Then how to access database if my database is on http://hii.com I mean can u explain me by this example?
  6. I own it myself just the thing is that i want to access my database from another site
  7. How to check cookie of vbulletin forum on another site (i own both of them) so that the user can have access to the site where i place this access feature?
  8. How to access database on another server? What codings should i use?
  9. <?php /* This is usefull when you are downloading big files, as it will prevent time out of the script : */ set_time_limit(0); ini_set('display_errors',true);//Just in case we get some errors, let us know.... $filename=$_POST["filename"]; $file=$_POST["file"]; $fp = fopen (dirname(__FILE__) . '/'.$filename.'', 'w+');//This is the file where we save the information $ch = curl_init($file);//Here is the file we are downloading curl_setopt($ch, CURLOPT_TIMEOUT, 50); curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_exec($ch); curl_close($ch); fclose($fp); ?> I am using this coding to download the file... It does downloads the file.. The smaller files are perfectly downloaded but the bigger files like of 100mb it does download but their link doesn't work it shows them as they doesn't exist.......... Any way to fix it?
  10. can u tell me how to use it please? This is the coding which I am using to download file.... <?php /* This is usefull when you are downloading big files, as it will prevent time out of the script : */ set_time_limit(0); ini_set('display_errors',true);//Just in case we get some errors, let us know.... $filename=$_POST["filename"]; $file=$_POST["file"]; $fp = fopen (dirname(__FILE__) . '/'.$filename.'', 'w+');//This is the file where we save the information $ch = curl_init($file);//Here is the file we are downloading curl_setopt($ch, CURLOPT_TIMEOUT, 50); curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_exec($ch); curl_close($ch); fclose($fp); ?>
  11. Well file doesn't exist i get this error (if i had not uploaded the file)
  12. What does that error means? I have downloaded the file to my server from another server using curlopt_FILE and its showing correct size... Few files work (rarely) but most of the time when i try to access file it gives error 404.jsp and takes me to home page ???
  13. I want to know how to create file on server using php.. Sometimes fopen is not able to create so what is the other way? ???
  14. Well i want to download from a url like http://user:pass......... and i don't know about copy() if u can give an example and tell if it works with http://user:pass... And also i would like to know if its possible with curl
  15. I want to download file to server using curl how to do that? Can anyone help me?
  16. I want to get the name of directory say from this url http://www.hii.com/hii/hii/lol.php If I use dirname it will get htdocs all that which i don't want..... So any way to get hii/hii/ ?
  17. see when user clicks link and it deletes the file then won't the download of user stop?
  18. I want the script to delete the file after it has been downloaded automatically.. How to do that?
  19. I have created the full codings for vbulletin poster and only one problem I am facing that is the security token Whenever i try to post it shows security token invalid I am giving the value of security token but it changes with every refresh.. So please help
  20. One more question if i asked this to create someone how much should i pay for such a script? And ya can u please tell in the step wise manner like first connect to database using ......... in this manner it would be really grateful
  21. I want to create a script which can directly post into database (I am talking about my forum so i have access to database) so is it possible ??? Please guide me through the process step wise
  22. <form action method=post> <input type=radio name="auswahl" id="a1"> <input type=radio name="auswahl" id="a2"> <input type=radio name="auswahl" id="a3"> </form> Now i want curl to send information such that it takes action if we had selected <input type=radio name="auswahl" id="a1"> normally Is it possible?
  23. That i don't want to do......... I just want that if field come from male then it accepts otherwise it doesn't accepts how to do that?
  24. <html> <body> <form method=get> <input type=radio name=gender id=male >Male</br> <input type=radio name=gender id=female >Female</br> <input type=submit value=Submit> </form> </body> </html> <?php $gender=$_GET["gender"]; echo $gender ?> Now i want the value of only <input type=radio name=gender id=male > .. What coding is to be used?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.