Jump to content

logu

Members
  • Posts

    32
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

logu's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi all, I have installed TortoiseSvn Client in my windows machine.its working fine. I want to know which is he good svn client software(which work in command line) for Linux machine, Mine is SUSE Linux. Thanks in Advance. -Logu
  2. Hi All, I am facing a strange issue in my site.I have a form with 2 file fields (One for PDF and another for AVI) in it. When i submit the form its not getting posted to server, instead its redirecting to the same form page. It happens only with Safari in Windows , Safari and Firefox in MAC. When i remove two the file fields, then the form is working perfectly. Please give me some suggestion. Thanks in Advance.
  3. Hi, In my download script i used header('Content-Size: '.$filesize ); even during download the browser says unknown time remaining Is there anything i have to do to get this done. Please give u r suggestions My code is $filesize = filesize($filename); $handle = fopen($filename, "r"); $contents = fread($handle, $filesize ); fclose($handle); $farr = explode("/",$filename); $dowload_file_name = $farr[count($farr)-1]; header('Content-Size: '.$filesize ); header('Content-type: audio/mpeg'); header('Content-Disposition: attachment; filename="'.$dowload_file_name.'"'); echo $contents; Thanks Logu
  4. Hi All, I am going to create a mp3 song download site. planing to write a simple download script similar to header('Content-type: application/pdf'); header('Content-Disposition: attachment; filename="downloaded.pdf"'); readfile('original.pdf'); The doubt i have is , if there are N number of download at a time will it create any issues or do we need any technique to handle multiple downloads at a time. please advice. Thanks in advance. Logu
  5. Hi, I am using zend frame work Zend_Gdata_YouTube class to retirive feed from youtube It works fine locally. When i installed it in server it gives fatal error "PHP Fatal error: Cannot access protected property Zend_Gdata_YouTube::$_registeredPackages in /usr/local/lib/php/Zend/Gdata/App.php on line 120" What can cause this problem. Can any one help with this please
  6. try this if( isset($strMyServer) && $arCurrentPageServer["name"] == $strMyServer) if(isset($strMyServer) && $arCurrentPingServer["name"] == $strMyServer)
  7. You need to add the header as html type to send html entities For reference look at php manual <--- $headers  = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; mail($to, $subject, $message, $headers); ---->
  8. mysql is not able to connect it means you might have given wrong parameter in host or user or password check whether you host is localhost and user is 'nobody' and it has no 'password'
  9. while calling the function as checkConstant(MY_CONSTANT); the value MY_CONSTAN  got substituded and the value passed is the value of it eg in FIRST_NAME the value 'Fusion Pixel' is passed which is not defined so you need to pass it as checkConstant('MY_CONSTANT'); inside the function you need to print it as function checkConstant($theConstant) {    if (defined($theConstant)) { echo constant ($theConstant); } } Try this
  10. the  file "config.inc.php" is trying to include the files config.php fonts.inc.php fontsize.inc.php currency.inc.php and its not available and so its giving this errors make sure all the above are under the same directory as config.inc.php or give to correct path
  11. You can user either echo intval($number); or echo (int) $number; try it
  12. hai   the error is in your qurey "SELECT * FROM users WHERE user='$user' && WHERE pass='$pass' there are 2 where's in the query it should be "SELECT * FROM users WHERE user='$user' &&  pass='$pass'"
  13. Hai, I am having two tables "user" and "loan"   user can have n number of loans .   what i want is to select the user who has more than five records   in loan table. is it possible ? thanks in advance
×
×
  • 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.