Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
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.
-
How would you run both IE6 and IE7 to test it in both? ???
-
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.
-
[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]
-
I am having a hard time believing that they allow the usage bots to get fake hits.
-
how to change php.ini PATH
Daniel0 replied to richard smooth's topic in PHP Installation and Configuration
Make sure you restart the webserver after editing php.ini -
Make sure that FER-MAIL.ferroli.local is the address to your smtp server.
-
& is the reference operator, it makes it refer to the object instead of copying it.
-
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]
-
Put this in your .htaccess file: [code]AddType application/x-httpd-php .htm AddType application/x-httpd-php .html[/code]
-
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]
-
[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...
-
Submitting a form without clicking submit button.
Daniel0 replied to jeboy's topic in PHP Coding Help
I think he wants the user to send a POST request without using a form. I don't know if you can do that -
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.
-
They may have put some restrictions on the filesystem commands as well then. I guess you would have to contact your host.
-
Remove the alert box!
-
When storing/inserting them, make sure you have double quotes and not single quotes around your string.
-
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.
-
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.
-
Just connect to the proxy instead. I don't know how proxies work, so I cannot specify it more detailed.
-
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.
-
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)
-
I think you have to install service pack 2.
-
[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...