Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
I don't like that idea. It ruins the idea about having a site where you can get free help.
-
I believe they are working on it. It is because the database server can't handle the current amount of requests.
-
So you are trying to obfuscate the url? Edit: Look at this link: [url=http://0x4261ab05/]PHP Freaks[/url]
-
Are those files on your computer since you post an IP? If you have those files on your own computer and post a link to them, please make sure that you keep it online...
-
There is already a freelancing forum ;)
-
How to count number of jpg files in a folder
Daniel0 replied to thyscorpion's topic in PHP Coding Help
Odd. It is correct syntax. Try this then: [code]<?php $dh = opendir("the_dir"); while($item = readdir($dh)) { if(is_file($item) && $var[count($var)-1]=='jpg') { $var = explode('.',$item); $count = count($var); $extension = $var[$count-1]; if($extension == 'jpg') echo "{$item}\n"; } } } closedir($dh); ?>[/code] -
Couldn't you just use parse_url? I'm not quite sure what you mean...
-
Use the [url=http://php.net]unlink[/url] function :)
-
Alternating Table Rows: Look great in Firefox, flawed in IE
Daniel0 replied to ridiculous's topic in HTML Help
anatak: He can't use the bgcolor attribute as he is using XHTML 1.0 Strict. -
I'm confused, do you want to know how you can make images to HTML buttons because this is the HTML forum, or do you want to know how you can make buttons in an image editor because then this is the wrong forum.
-
How to count number of jpg files in a folder
Daniel0 replied to thyscorpion's topic in PHP Coding Help
Sorry, fixed code: [code]<?php $dh = opendir("the_dir"); while($item = readdir($dh)) { $var = explode('.',$item); if(is_file($item) && $var[count($var)-1]=='jpg') { echo "{$item}\n"; } } closedir($dh); ?>[/code] -
Is this how it is supposed to look: [url=http://img216.imageshack.us/my.php?image=screenshot15vb7.png][img=http://img216.imageshack.us/img216/8590/screenshot15vb7.th.png][/url] because I don't think it looks very nice.
-
http://www.google.com/search?q=mac+emulator
-
It looks fine, but use text for your logo since it is just colored text and uses labels and tabindexes on your forms. On the server status page you might want to put the status data in a table.
-
It is because Windows uses a carriage return and then a line feed (\r\n) - CRLF. Linux uses a line feed (\n) - LF. Macintosh uses a carriage return (\r) - CR.
-
Do you have +100000 files you maintain and code? Well, if all the data comes from a database, then you could just use full-text searching.
-
[code]<?php $rows = 2; $cols = 5; $data = array( array( '1,1','1,2','1,3','1,4','1,5' ), array( '2,1','2,2','2,3','2,4','2,5' ), ); echo "<table border='1'>\n"; for($row=0; $row<$rows; $row++) { echo "\t<tr>\n"; for($col=0; $col<$cols; $col++) { echo "\t\t<td>{$data[$row][$col]}</td>\n"; } echo "\t</tr>\n"; } echo "</table>"; ?>[/code]
-
How to count number of jpg files in a folder
Daniel0 replied to thyscorpion's topic in PHP Coding Help
[code]<?php $dh = readdir("the_dir"); while($item = readdir($dh)) { $var = explode('.',$item); if(is_file($item) && $var[count($var)-1]=='jpg') { echo "{$item}\n"; } } closedir($dh); ?>[/code] -
[quote author=neylitalo link=topic=111547.msg453833#msg453833 date=1161184360]It seems to work fine for me, under Gentoo Linux - Daniel0, what problems specifically are you having?[/quote] It seems like it renders things too small or perhaps the margins and paddings don't work correct. [quote author=ober link=topic=111912.msg453816#msg453816 date=1161183042]:) Excellent! Another convert. And yeah, I can't speak for Opera on Linux.[/quote] Partial convert ;)
-
Hmm... This is what I'm gonna do: On Windows I will use Opera for "normal" things, and when I need my extensions I will open up Firefox. On Linux I will continue to use Firefox as I think Opera suck on Linux.
-
Man...!!! It was good in Windows, but in Linux many webpages look wierd. It's like things are all too small. Another strange thing is that in the Linux version there is a skin called Windows native ::)
-
The following extensions are the most important: [url=https://addons.mozilla.org/firefox/249/]Html Validator[/url] - Validates pages and accessibility. Shows a little icon in the corner and points out in "view source" where the errors are. [url=https://addons.mozilla.org/firefox/966/]Tamper Data[/url] - It enables you to modify everything you send on each request. [url=https://addons.mozilla.org/firefox/575/]Header Monitor[/url] - Enables you to see all headers on the pages. [url=http://pearlcrescent.com/products/pagesaver/]Pearl Crescent Page Saver[/url] - It saves a screenshot of the visible portion of a webpage or the entire page. More info on the links.
-
It has actually been quite good untill now. I've noticed that there is no delay when going back/forward and I've noticed a speed improvement, but I miss the functionality of the extensions I have installed in Firefox. The mouse gestures are great as well.
-
neylitalo: It's not just when validating. It is also the validator's home page.