
siddscool19
Members-
Posts
133 -
Joined
-
Last visited
Never
Everything posted by siddscool19
-
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...
-
Thanks friends it helped a lot (Also I learned a new thing) Thanks again.
-
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
-
Get and send(we enter) captcha to a website using PHP?
siddscool19 posted a topic in PHP Coding Help
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 -
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?
-
I own it myself just the thing is that i want to access my database from another site
-
How to access database on another server? What codings should i use?
-
<?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?
-
File downloaded to server but error 404.jsp?
siddscool19 replied to siddscool19's topic in PHP Coding Help
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); ?> -
Well file doesn't exist i get this error (if i had not uploaded the file)
-
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 ???
-
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? ???
-
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
-
I want to download file to server using curl how to do that? Can anyone help me?
-
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/ ?
-
Can anyone give me the codings?
-
see when user clicks link and it deletes the file then won't the download of user stop?
-
I want the script to delete the file after it has been downloaded automatically.. How to do that?
-
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
-
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
-
<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?
-
How to get value from radio button in php using id?
siddscool19 replied to siddscool19's topic in PHP Coding Help
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? -
<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?