Jump to content

ramanjaneyulu

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by ramanjaneyulu

  1. Good...Both, JavaScript and AJAX frameworks as well...
  2. Hi,I’m facing following problem on Jetspeed.Portlet is Not Available: php::php-demoReason: startupI you have the solution to above problem, please help me out.ThankingRam...
  3. Hi,I’m trying to access php-demo portlet in Jetspeed Portal, but it showing the following errorCase-1:Portlet is Not Available: php::php-demoReason: no php4 in java.library.pathCase-2:If we set the path LD_LIBRARY_PATH its showing the following errorPortlet is Not Available: php::php-demoReason: /usr/lib/httpd/modules/libphp4.so: /usr/lib/httpd/modules/libphp4.so: undefined symbol: ap_loaded_modulesSo could you please help me out in this issue. Thanking you,Ram..
  4. Hi,Could you please tell me. How the PHP file will be processed on the server?Thanking you,
  5. Hi,How to access MS Sql Server data from Linux using php?Thanking you,
  6. Hi,How to disable the Back button of a browser?Thanking you,Ram
  7. Hi,use this syntax.CREATE TABLE "tablename" ("column1" "data type", "column2" "data type", "column3" "data type");source:http://www.databasedev.co.uk/sql-basics.html
  8. Hi Your correct,we changed the port number to 25 its working now.Thanks a lot...
  9. HiI receiving following error when I’m downloading the mails in the eventum application when we download the mails. could you please tell me what may be the problem.The error message: 'Failed to connect to smtp.servername.com:110 [sMTP: Invalid response code received from server (code: -1, response: POP3 Ready smtp.servername.com 00021958)]' A more detailed error message follows: '' A backtrace is available: Array( [0] => Array ( [file] => /var/www/html/eventum/include/class.mail_queue.php [line] => 177 [function] => _sendEmail [class] => Mail_Queue [type] => :: [args] => Array))
  10. Hi,I'm trying, using FTP Functions.Is there any other way to do it?
  11. Hi,How to access files form one Server to another Server using PHP.
  12. ramanjaneyulu

    PHP Cache...

    How to handle the Caching in the PHP.We want to save the array values in the cache and then we need to retrieve those values from the cache.
  13. Where to Start?Install an Apache server on a Windows or Linux machine Install PHP on a Windows or Linux machine Install MySQL on a Windows or Linux machine http://www.w3schools.com/php/php_intro.aspALL THE BEST...
  14. Hi Thank you so much, I used the following code according your suggestions its working fine.I have one question. Is it any problem if the file size is big? (10MB)$FileName = $_GET["DwnFileName"];header( "Content-Type: application/octet-stream" ); header( "Content-Disposition: attachment; filename=$FileName" );$Path = "FielPath";$Filename_Path = $Path.$FileName;$FielContents = file_get_contents($Filename_Path);print "$FielContents";
  15. I have the links to the text file like this.<a href="File1.txt" >DownloadFile1</a><br /><a href="File2.txt" >DownloadFile2</a><br /><a href="File3.txt" >DownloadFile3</a><br /><a href="File4.txt" >DownloadFile4</a><br /><a href="File5.txt" >DownloadFile5</a><br />So if I click any of the link, it has to open the file download box.So my questions. According to your suggestion we need to read each file.Is there is any other way to over come this problem.
  16. Logic behind Pagination#START PAGINATION#$RowCount is total no of records$Limit = 25;$Pagination = true;$StartRows = $_GET["StartRows"];$Total_Pages = ceil($RowCount / $Limit); $Modulus = $RowCount % $Limit;$LastRows = ($Total_Pages*$Limit) - 2*($Modulus) -1;if (!isset($StartRows)){ //Default to this: $StartRows = 0 ; $EndRows = $StartRows + $Limit; $Current_Pages_No = $Total_Pages - ceil(($RowCount-$EndRows -1) / $Limit); $Previous = $StartRows; if($EndRows > $RowCount) { $EndRows = $RowCount; $Current_Pages_No = $Total_Pages - ceil(($RowCount-$EndRows -1) / $Limit); $Previous = $EndRows; $Pagination = false; } }else{ $EndRows = $StartRows + $Limit; $Current_Pages_No = $Total_Pages - ceil(($RowCount-$EndRows -1) / $Limit); $Previous = $Current_Pages_No*$Limit - 2*$Limit; if($EndRows > $RowCount) { $EndRows = $RowCount; $Current_Pages_No = $Total_Pages - ceil(($RowCount-$EndRows -1) / $Limit); $Previous = ($Current_Pages_No-2)*$Limit; } }$No_Pages = "<div align= 'right'> ".($StartRows + 1)." - ".$EndRows." of about ". $RowCount." </div>";print "$No_Pages" ;#END PAGINATION
  17. Hi How To Raise a "File Download" Dialog Box for text file in php page.I have the following link in php page.<a href="downloadfile.txt" >downloadfile</a>if I click this link it's opening in the browser itself.but our requirement is, it should open the file download dialog box.Thanking you,
×
×
  • Create New...