Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. I actually skipped to the end because I already knew about the new features. I have Firefox 2.0 installed on my Linux partition along with Firefox 1.5.0.7. On my WinXP partition I have FireFox 1.5.0.7 and IE6 and on my Vista partition I have Firefox 1.5.0.7 and IE7. I have tried them all and I still don't like IE7. The user interface has changed too much so it is harder to use.
  2. You need to show me the actual error. Paste it here. [quote author=stb74 link=topic=112008.msg454349#msg454349 date=1161264925] I have spoken to the hosting company and they aren't prepared to upgrade, which is understandable. [/quote] It would be downgrading since 4.4.2 is a more recent version than 4.4.2-pl. Instead you should consider upgrading to 4.4.2 or the most recent 4.4.4.
  3. [quote]Firefox 2 offers no radical changes compared with version 1.5[/quote] It doesn't have to, it was already great and Microsoft only release a new version of IE every 5 years or so. What is mostly wrong with Internet Explorer is that Trident (it's layout engine) do not support the web standards properly like the other browsers. Besides, did you read the last paragraph: [quote]Of the two rivals, [b]Firefox remains the better application[/b]. Since IE users will have to adjust to a new layout and interface anyway, this might be a good time to give Firefox a try, then watch IE 8 play catch-up again in five years.[/quote]
  4. Change [code]      path = str_replace('\\','/',$path);[/code] to [code]      $target_path = str_replace('\\','/',$path);[/code]
  5. I have had a lot of those connection problems today, but else there haven't been some for quite a while.
  6. What errors do you get? Maybe we can find alternative solutions.
  7. [code]<?php switch($row_rsHotem['hotelType']) { case 'Hotel': $row_rsPages['Id'] = 15; include "pages/country.php"; break; case default: // default action break; } ?>[/code]
  8. [quote author=obsidian link=topic=112006.msg454322#msg454322 date=1161262831] or, an alternate method: [code] <?php $ext = substr($filename, strrpos('.', $filename)); ?> [/code] [/quote] Doesn't work. [code]<?php $filename = "mysql.db.php"; $ext = substr($filename, strrpos('.', $filename)); echo $ext; ?>[/code] outputs [quote=code output]mysql.db.php[/quote]
  9. I don't quite get what you mean.
  10. So you say that your code that is written in an enviroment using 4.4.2-pl does not work on a server that uses 4.4.2?
  11. [quote author=mrgeorge_22215 link=topic=108557.msg452008#msg452008 date=1160881886] 3) "automatically suggesting things when typing into a box for a search" Now that one is a little tricky, because if you have to communicate with the server for every letter pressed, well, my connection, even using T1 is too slow for that to ever be a real help. However, I do notice my yahoo search bar doing that, and it is obvious there that the bar comes preloaded with some suggestions, which are actually provided browser side, and not by looking the combo of letters up from a server search engine with each new letter typed. Now I can't prove that. But my connection is too slow, and the suggestions too predictible. [/quote] Try [url=http://labs.google.com/suggest]Google Suggest[/url]. It works fine for me and I don't have a pretty fast connection.
  12. [quote author=ober link=topic=111639.msg453873#msg453873 date=1161188224] Actually... I've been using AJAX techniques for quite some time and I have YET to use XML with it. [/quote] Then I guess it techinically wouldn't be AJAX but just the use of XmlHttpRequest as AJAX is short for "Asynchronous JavaScript and XML". If you remove one of the parts then it wouldn't be AJAX. I don't use XML myself either though...
  13. Use the [url=http://php.net/control-structures.switch]switch[/url] control structure.
  14. ext would be a subdirectory called ext in the PHP folder. So if you have PHP installed in C:\PHP then ext would be C:\PHP\ext
  15. Put php_mbstring.dll in the folder you specified in extension_dir in php.ini.
  16. [quote author=SemiApocalyptic link=topic=112007.msg454288#msg454288 date=1161258777] You can also do it with str_pad() [code]<?php echo str_pad ("1234",11,"0",STR_PAD_LEFT); //Displays 00000001234 ?>[/code] [/quote] Great, I must remember that trick. Much easier than my method.
  17. I believe you have been a member for long enough time that you should have read the posting guidelines. It clearly states that titles like yours aren't allowed: [quote=posting guidelines]a) DON'T Describe your question or problem as urgent, super important, must have by tommorrow etc...[/quote]
  18. Yeah, but I can of course not speak on behalf of the admins. If they think it is a good idea then they can just do it, but I don't think that.
  19. Sure there is a difference else they wouldn't have released a new version. [url=http://php.net/ChangeLog-4.php]PHP 4 Changelog[/url] Edit: -pl mean it is some sort of pre-release or non-finished version. It is after RC and just before final.
  20. Running commands through system is the same as running them in the terminal/commandline. You must however note that the commands will be run by the user the webserver (eg Apache) uses and not your user.
  21. You can fix it using this: [code]$path = str_replace('\\','/',$path);[/code]
  22. You can do it like this: [code]$var = explode('.',$filename); $extension = $var[count($var)-1]; echo $extension;[/code]
  23. If your number is always 11 digits long then you can do this: [code]<?php $number = 6848; $length = 11; if(strlen($number) < $length) { for($i=0; $i<11-strlen($number); $i++) { $prepend .= "0"; } $number = $prepend.$number; } echo $number; ?>[/code]
  24. Nope. Imagine a file called. something.something.jpg Using what you said would take something as the extension. There is a function to get the parts of a filename, but I can't remember it. An alternative way of doing it would be: [code]<?php foreach(glob("*.txt") as $filename) { echo "{$filename}\n"; } ?>[/code]
×
×
  • 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.