Forum: Site Layout and Usability 1 Day Ago |
| Replies: 2 Views: 117 Have you considered to use a CMS (Content Management System) as Joomla, Drupal o Wordpress? Bye :) |
Forum: PHP Jul 16th, 2008 |
| Replies: 12 Views: 4,600 |
Forum: PHP Sep 13th, 2007 |
| Replies: 5 Views: 971 Yet another function to display random images:
<?php
function randomize() {
$path = $_SERVER['DOCUMENT_ROOT'] . "images/";
$dir = isset($_SERVER['DOCUMENT_ROOT']) ? $path :... |
Forum: PHP Aug 19th, 2007 |
| Replies: 7 Views: 1,180 In order to pass a session from a page to another you need to start, every page, with session_start()
bye :) |
Forum: HTML and CSS Aug 14th, 2007 |
| Replies: 3 Views: 7,174 And it's also the only accessible way to do it. |
Forum: Web Browsers Aug 12th, 2007 |
| Replies: 8 Views: 8,543 Check your hosts file. You can find it in c:\windows\system32\drivers\etc. Open it with notepad, and check if there is any of the websites you can't access.
Bye :) |
Forum: Web Browsers Aug 12th, 2007 |
| Replies: 7 Views: 1,338 Firefox.. but you missed Konqueror, Epiphany, Flock, Dillo.. and Lynx! :D |
Forum: PHP Aug 12th, 2007 |
| Replies: 7 Views: 1,180 You can learn to use sessions:
- http://www.php.net/session
- http://www.php.net/session_start
Bye :) |
Forum: Graphics and Multimedia Aug 12th, 2007 |
| Replies: 6 Views: 1,966 Yes, is very similar to a table. A grid is an organizing principle derived from typographic design. It is used to design page layouts, you can read about grids here:
-... |
Forum: Viruses, Spyware and other Nasties Aug 11th, 2007 |
| Replies: 13 Views: 2,847 Download Process Explorer and try to find out what is going on:
- http://www.microsoft.com/technet/sysinternals/Utilities/ProcessExplorer.mspx
Then go to install a firewall, for our purpose you... |
Forum: Linux Servers and Apache Aug 11th, 2007 |
| Replies: 7 Views: 4,410 Maybe is too late, but read here:
- http://httpd.apache.org/docs/2.2/platform/win_compiling.html#projectcomponents
In order to use htpasswd.exe you have to build apache from source.
Bye :) |
Forum: PHP Aug 11th, 2007 |
| Replies: 5 Views: 883 Read this:
- http://en.wikipedia.org/wiki/PHP
bye |
Forum: PHP Aug 10th, 2007 |
| Replies: 16 Views: 4,087 Here you can create a new variable that contains the reversed array, once you have done simply print it:
<?php
$fruits = array('apple', 'orange', 'bananna');
$aaa = array_reverse($fruits);
... |
Forum: PHP Aug 9th, 2007 |
| Replies: 16 Views: 4,087 Yep, I agree with jamshid and Sabia. To start the best thing you can do, it is trying to modify, or better, improve existing scripts. To do this, I'm sorry for you :P but you need to explore php.net... |
Forum: HTML and CSS Aug 9th, 2007 |
| Replies: 7 Views: 1,586 |
Forum: HTML and CSS Aug 8th, 2007 |
| Replies: 14 Views: 4,784 Your URLs have been blocked by the forum filter. We can't help you without your css code. Please paste the stylesheet or a link to an example online, so we can look it.
P.S. sorry autocrat I... |
Forum: HTML and CSS Aug 8th, 2007 |
| Replies: 7 Views: 1,586 Ok, I saw it. In my opinion you just missed a slash:
...
progid:DXImageTransform.Microsoft.AlphaImageLoader
(src='templates/rt_colormatic/images/style3/fx-tab.png',
...
Add a slash (/)... |
Forum: Graphics and Multimedia Aug 8th, 2007 |
| Replies: 6 Views: 1,966 In my opinion, the best thing you can do is to learn XHTML basics and CSS, so you can take control over your pages. You can do this without using Dreamweaver or any other WYSIWYG software.
Jedit,... |
Forum: PHP Aug 8th, 2007 |
| Replies: 6 Views: 1,216 If your production server is on a shared hosting you can't change anything in your php.ini file. Otherwise just edit the file with a text editor, save the changes and reload the server.
Besides:... |
Forum: HTML and CSS Aug 8th, 2007 |
| Replies: 7 Views: 1,586 Works fine for me. Have you seen this bug in other computers? Bye. |
Forum: PHP Aug 8th, 2007 |
| Replies: 3 Views: 876 As stymiee said, you can do it. For example something like this:
<?php
$d = date('w');
$maxim[] = 'sunday';
$maxim[] = 'monday';
$maxim[] = 'tuesday';
$maxim[] = 'wednesday'; |
Forum: PHP Aug 5th, 2007 |
| Replies: 7 Views: 1,826 I've tried your test. In my case buffer works fine. And you are right, ob_get_clean can't unset a variable. I've made a big mistake, by no echoing my test function:
echo hello("world");
Thanks... |
Forum: Geeks' Lounge Aug 5th, 2007 |
| Replies: 18 Views: 5,822 Hey MidiMagic try to insert 'yahoo' or any other word :P |
Forum: PHP Aug 5th, 2007 |
| Replies: 12 Views: 4,600 :D I hope I've found the reason of the problem! The word references is a reserved word in MySQL, this means that you can't use it as a table or column name.
-... |
Forum: PHP Aug 5th, 2007 |
| Replies: 5 Views: 685 Check the array. While function works fine to me. I have done it like this:
$names[] = 'name1@host.tld';
$names[] = 'name2@host.tld';
$names[] = 'name3@host.tld';
$x = 0;
$y = 2;... |
Forum: PHP Aug 5th, 2007 |
| Replies: 12 Views: 4,600 Ok, then try it like this:
$query = "UPDATE company SET references = 'blahblahblah' where `company_id` = 18"
Sometimes the underscore gives some problems.. like "syntax error". In this example... |
Forum: PHP Aug 5th, 2007 |
| Replies: 12 Views: 4,600 Maybe it depends on double quotes in references row. Try it like this:
mysql_query("UPDATE company SET references = 'blah blah blah' WHERE company_id = 18");
If you are using a... |
Forum: Geeks' Lounge Aug 5th, 2007 |
| Replies: 18 Views: 5,822 de hi ho.. ^_^ in Italian language that means "five"!
Besides, mine is Zuwarah o_o' |
Forum: Shell Scripting Aug 4th, 2007 |
| Replies: 1 Views: 2,492 Prabably this login system uses sessions. If the login form use GET instead of POST you can try to build a link to log into the restricted area, from lynx (links or w3m). You need to look the form... |
Forum: IT Professionals' Lounge Aug 4th, 2007 |
| Replies: 2 Views: 11,024 Try to change "ForwardX11 no" to YES, in your ssh server. |
Forum: Graphics and Multimedia Aug 4th, 2007 |
| Replies: 7 Views: 4,342 Try VidShot Capturer 1.0:
- http://www.softpedia.com/get/Multimedia/Graphic/Graphic-Capture/VidShot-Capturer.shtml
When you finish recording, you can use a converter to change the movie to... |
Forum: PHP Aug 4th, 2007 |
| Replies: 7 Views: 1,826 I was trying your function, it worked for me when I moved ob_get_clean() to the end, after return $mail_sent. I believe that ob_get_clean was empting the variable $MESSAGE before the script could... |
Forum: Site Layout and Usability Aug 4th, 2007 |
| Replies: 27 Views: 8,025 Clipmarks, so the user can save the pages whose is interested in. |
Forum: PHP Aug 4th, 2007 |
| Replies: 1 Views: 889 Here you can find some examples:
- http://us.php.net/manual/en/function.curl-setopt.php#71313
- http://www.phpbuilder.com/columns/ian_gilfillan20050525.php3?page=2
bye :) |
Forum: PHP Aug 3rd, 2007 |
| Replies: 1 Views: 654 You mean a tag cloud box, related to the searched word? |
Forum: PHP Aug 3rd, 2007 |
| Replies: 2 Views: 4,089 Or you can also try this script:
- http://mikecherim.com/experiments/support/P_php_browser_sniffer.phps
Basically it uses eregi function to identify browsers and platforms. Bye :) |
Forum: HTML and CSS Aug 3rd, 2007 |
| Replies: 8 Views: 1,774 For my forms I use definition lists (<dl>) instead of tables or divs. I put labels in <dt> and input, textarea, option and select in <dd>. And then I use stylesheets to improve it.
This way:
<div... |
Forum: HTML and CSS Aug 3rd, 2007 |
| Replies: 1 Views: 959 You can use XSPF, an open source flash music player:
- http://musicplayer.sourceforge.net/
Otherwise you need an audio streaming server, there are a lot of solutions, as RealServer and Icecast:... |
Forum: HTML and CSS Aug 3rd, 2007 |
| Replies: 1 Views: 1,676 You can point out what selectoris are unused. You can do this with a Mozilla Firefox extention. It is called Dust-me Selectors, just google to find it. Bye :) |
Forum: PHP Aug 3rd, 2007 |
| Replies: 16 Views: 3,437 Yes, indeed. Thanks for the reply :) |