Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. Google does: http://www.google.com/search?q=converter+linux+mp3+wmv
  2. I would strongly suggest you to keep it in the same database, or you will have to run mysql_select_db() a lot of times.
  3. Or you could change it to: [code]if(count($_POST) > 0)[/code] That will work with whatever you call your submit button.
  4. You could just change it to: [code]function get_file($url,$read='r') { $a = fread(fopen($url, $read)); return $a;[/code] The filesize thing just gets the total filesize, but fread will by default read everything, so you do not need that.
  5. On Linux you would use cron jobs and on Windows you would use scheduled tasks.
  6. But the dropdown list does show correctly, right?
  7. And when reporting topics you can add a message telling what is wrong with the topic.
  8. My code should work. I tested it before posting? Do you get any errors or what happens?
  9. [code]else if($action == 'view' || $action == 'something_else') { }[/code] The code inside the block will be run if $action is view or something_else. [code]else if($action == 'view') { } else if($action == 'something_else') { }[/code] The code inside block 1 will be run if $action is view and the code inside block 2 will be run if $action is something_else
  10. Could you show us the source code? We can't help you if we do not have it.
  11. Try this: [code]$products_query = mysql_query("SELECT ..."); $type = array(); $type[] = "-20"; $type[] = "-20"; $type[] = "-36";  for($i = 0; $i < count($type)-1; $i++) { while($products = mysql_fetch_array($products_query)) { if(strpos($products['products_model'], $type[$i]) === FALSE) { echo "Add {$type[$i]} to {$products['products_model']}<br />"; }  } }[/code]
  12. The news could come from RSS feeds.
  13. [code]<?php $currencies = array( 'usd' => "US Dollar", 'eur' => "Euro", 'gbp' => "British Pound", ); echo "<select name='curr' style='width:150px'>\n"; foreach($currencies as $short => $long) { $short = strtoupper($short); $selected = $_SESSION['icJag']->DisplayCurrency == $short ? "selected='selected'" : null; echo "\t<option value='{$short}'{$selected}>{$long} ({$short})</option>\n"; } echo "</select>\n"; ?> [/code]
  14. Did you absolutely have to post all of those images? >:( You could at least have posted thumbnails that linked to the full-sized image.
  15. I guess a mod would move it. I clicked the "Report to moderator" link, so I guess that if they find it misplaced they will move it.
  16. I don't know Ruby or Ruby on Rails, so I can't tell if it does the same. I just recently heard of it, so I haven't tested it much, but it seems pretty nice. All of its components are: [quote]    *  Zend     * Zend_Cache     * Zend_Config     * Zend_Controller     * Zend_Controller_RewriteRouter     * Zend_Db     * Zend_Feed     * Zend_Filter     * Zend_Filter_Input     * Zend_Http_Client     * Zend_Json     * Zend_Log     * Zend_Mail     * Zend_Mime     * Zend_Pdf     * Zend_Search     * Zend_Service_Amazon     * Zend_Service_Flickr     * Zend_Service_Yahoo     * Zend_View     * Zend_XmlRpc[/quote]
  17. Depends. You can of course not login without the correct combination of username and password, but a third-party could intercept the data while it is being transfered from the client to the server.
  18. "i am not a meat popsicle"
  19. [quote author=businessman332211 link=topic=108966.msg438965#msg438965 date=1158869912] I would be amazed to see 1400 lines of ajax programming, that must have been quite a project. [/quote] There is no such thing as AJAX programming. The programming/scripting in AJAX is just JavaScript. AJAX is when you use XMLHttpRequest in JavaScript.
  20. [code]echo substr($the_string,0,40);[/code]
  21. You would have to ask your host to set it up for you (it will cost money) and you will need to get a certificate (more money).
  22. No. He just has some sort of place where users can log in, and he want THAT username to be displayed. That is easy to do, but you will need to give us some code so we can show you how to implement it. I guess that you through ActiveX could display the Windows username, but that makes problems for some users: 1. People who do not use Internet Explorer 2. People who do not use Windows
  23. It is truly secure if you are sending it over an encrypted connection (SSL). That is when there is written https instead of http in the url.
  24. Are you asking if there is a framework? Well there is [url=http://framework.zend.com]Zend Framework[/url].
  25. It is because of their [url=http://www.phpfreaks.com/forums/index.php/topic,104265.0.html]Instrusion Prevention System (IPS)[/url].
×
×
  • 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.