Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. Daniel0

    IE7

    I wish that Microsoft would release a developer version that don't overwrite IE6, or that they would release a stand-alone IE6 for developers.
  2. Daniel0

    IE7

    How would you run both IE6 and IE7 to test it in both? ???
  3. Make your own function like this: [code]<?php function my_fprintf($format,$stream=STDOUT) { $args = func_get_args(); if(count($args) > 2) { unset($args[0]); unset($args[1]); $args = array_map('addslashes',$args); $eval = "\$string = sprintf(\$format,'".join("','",$args)."');"; eval($eval); } else { $string = sprintf($format,$stream); } $fp = @fopen('file.txt','w'); @fwrite($string."\n"); @fclose($fp); fprintf($string,$stream); } my_fprintf("%s %s",STDOUT,"test","te'st2"); ?>[/code] Not tested.
  4. [quote author=ober link=topic=112015.msg454909#msg454909 date=1161348340] You don't read very well, do you? [/quote] Arrg, perhaps I should read the entire post before replying... [quote author=DarkHorizon link=topic=112015.msg454361#msg454361 date=1161265761]i have upgraded to SP2[/quote]
  5. I am having a hard time believing that they allow the usage bots to get fake hits.
  6. Make sure you restart the webserver after editing php.ini
  7. Make sure that FER-MAIL.ferroli.local is the address to your smtp server.
  8. & is the reference operator, it makes it refer to the object instead of copying it.
  9. Daniel0

    Buttons as Text

    Is this what you mean: [code]<style type='text/css'> body, button.link_style, input.link_style { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; } button.link_style, input.link_style { border: 0px; padding: 0px; cursor: pointer; background-color: white; color: blue; text-decoration: underline; } </style> Click <button type='submit' class='link_style'>here</button> to submit the form[/code]
  10. Put this in your .htaccess file: [code]AddType application/x-httpd-php .htm AddType application/x-httpd-php .html[/code]
  11. For the 'pass object to function'-part you may change [code]$result=get_message(1, $dbread);[/code] to [code]$result=get_message(1, &$dbread);[/code]
  12. [quote=http://www.microsoft.com/windows/ie/ie7/about/features/default.mspx]The Internet Explorer 7 frame is reorganized to make it noticeably simpler, more streamlined, and less cluttered with unnecessary items. This maximizes the area of the screen devoted to the webpages that you want to see and makes performing the most common browsing tasks easy.[/quote] I don't quite agree. I find it more difficult to use. [quote=http://www.microsoft.com/windows/ie/ie7/about/features/default.mspx]Improves the implementation of the XMLHTTP Request as a native Javascript object for rich AJAX-style applications. While Internet Explorer 6 handled XMLHTTP requests with an ActiveX control, Internet Explorer 7 exposes XMLHTTP natively. This improves syntactical compatibility across different browsers and allows clients to configure and customize a security policy of their choice without compromising key AJAX scenarios.[/quote] Well, that is good. Then we don't have to check if the XmlHttpRequest object exists, but then there is of course still those who don't upgrade and stick with IE6 >_< [quote=http://www.microsoft.com/windows/ie/ie7/about/features/default.mspx]Addresses many of the major inconsistencies that can cause web developers problems when producing visually rich, interactive webpages. Improved support for CSS 2.1, including selectors and fixed positioning, allow web developers to create more powerful effects without the use of script. [...] Internet Explorer 7 is more compatible with top web features than ever before. Internet Explorer 7 will support many of the new standards on the web to make browsing the web a richer experience and easier to develop for.[/quote] Yeah we'll see...
  13. I think he wants the user to send a POST request without using a form. I don't know if you can do that
  14. Good luck :) Another one to consider might be Zend's certificate: http://www.zend.com/education/zend_php_certification I don't have any PHP certificate myself though.
  15. Daniel0

    COPY()

    They may have put some restrictions on the filesystem commands as well then. I guess you would have to contact your host.
  16. Remove the alert box!
  17. When storing/inserting them, make sure you have double quotes and not single quotes around your string.
  18. Daniel0

    COPY()

    Then try opening it with the w flag. Also try to run this file: [code]<?php header("Content-type: text/plain"); system('ls -l ..',$result); echo $result; ?>[/code] It should give you some rows like this: [code]drwxrwxrwx 49 www-data www-data 4096 Oct 19 15:16 www[/code] Paste it here.
  19. Daniel0

    COPY()

    If it is 777 then user, group and others all have read, write and execute permissions on the file, so it should obviously be writeable. Try to open it with fopen and see if it is possible.
  20. Just connect to the proxy instead. I don't know how proxies work, so I cannot specify it more detailed.
  21. Daniel0

    COPY()

    Is safe-mode on?
  22. vbnullchar: Why not just use this query: [code]DELETE FROM forum_active_users WHERE u_timestamp='{$timeout}';[/code] Then you wont end up with a lot of rows in that table.
  23. Daniel0

    COPY()

    The error says it all: "Permission denied". You do not have sufficient permissions to perform that action. Either you do not have read permissions on file.php or write permissions on newfile.php or the folder. Edit: You need permissions on the folder as well. Try this command in the folder: [code]chmod 777 -R .[/code] (note the dot at the end)
  24. I think you have to install service pack 2.
  25. [quote author=ober link=topic=111912.msg454394#msg454394 date=1161267742]I also won't be holding my breath for MS to comply to CSS standards.[/quote] No, you'd die. No one can hold their breath for years...
×
×
  • 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.