Jump to content

anoopsinghal

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

anoopsinghal's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, Well it is again to stop time out of PHP but my PHP script is running fine and get completed the problem is browser time out.
  2. Hi. It is on a shared hosting environment and I don't have rights to change the parameter also my script is executing completely but the problem is my browser timed out. Regards Anoop
  3. Hi Thanks for the response. I have mentioned this as well but still facing same problem. Regards Anoop
  4. Hi, I have created a PHP script that takes around 15-20 Mins in processing. The script runs completely but my browser times out after few mins and the background process is still running and the task is completed. I have sent out put at each and every step of the script that should be output after every 10sec to browser but my script is not printing any thing on the browser. Any kind of hel in this regard would be really helpful. Regards Anoop
  5. Dear All, I am using the following code for doing ftp upload it doesn't show up any error but the file is not uploaded. I will be highy thankful if someone solves the problem <?php $HOST=$_SESSION["host"]; $UN=$_SESSION["username"]; $PW=$_SESSION["password"]; $conn = ftp_connect($HOST); if(!$conn) { echo("Could not connect to server: $HOST\n"); } if(!ftp_login($conn,$UN,$PW)) { echo("Could not log in\n"); } ftp_pasv($conn,true); $filenew=$_POST["filenew"]; $file=$_POST["file"]; $basename= preg_replace( '/(\\\\\\\\)/', '/', $filenew); $file='.'.$file.'/'.basename($basename); echo("file".$file); echo("filenew".basename($basename)); $upload = ftp_put($conn,basename($basename),$file,FTP_BINARY); if (!$upload) { echo "FTP upload has failed!"; } else { echo "Uploaded $source_file to $ftp_server as $destination_file"; } ftp_close($conn); ?>
×
×
  • 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.