Search Results

Showing results 1 to 40 of 43
Search took 0.01 seconds.
Search: Posts Made By: cereal
Forum: Site Layout and Usability 1 Day Ago
Replies: 2
Views: 117
Posted By cereal
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
Posted By cereal
Forum: PHP Sep 13th, 2007
Replies: 5
Views: 971
Posted By cereal
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
Posted By cereal
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
Posted By cereal
And it's also the only accessible way to do it.
Forum: Web Browsers Aug 12th, 2007
Replies: 8
Views: 8,543
Posted By cereal
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
Posted By cereal
Firefox.. but you missed Konqueror, Epiphany, Flock, Dillo.. and Lynx! :D
Forum: PHP Aug 12th, 2007
Replies: 7
Views: 1,180
Posted By cereal
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
Posted By cereal
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
Posted By cereal
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
Posted By cereal
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
Posted By cereal
Read this:

- http://en.wikipedia.org/wiki/PHP

bye
Forum: PHP Aug 10th, 2007
Replies: 16
Views: 4,087
Posted By cereal
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
Posted By cereal
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
Solved: Problems on IE6
Views: 1,586
Posted By cereal
Forum: HTML and CSS Aug 8th, 2007
Replies: 14
Views: 4,784
Posted By cereal
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
Solved: Problems on IE6
Views: 1,586
Posted By cereal
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
Posted By cereal
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
Posted By cereal
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
Solved: Problems on IE6
Views: 1,586
Posted By cereal
Works fine for me. Have you seen this bug in other computers? Bye.
Forum: PHP Aug 8th, 2007
Replies: 3
Views: 876
Posted By cereal
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
Posted By cereal
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
Posted By cereal
Hey MidiMagic try to insert 'yahoo' or any other word :P
Forum: PHP Aug 5th, 2007
Replies: 12
Views: 4,600
Posted By cereal
: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
Posted By cereal
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
Posted By cereal
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
Posted By cereal
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
Posted By cereal
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
Posted By cereal
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
Posted By cereal
Try to change "ForwardX11 no" to YES, in your ssh server.
Forum: Graphics and Multimedia Aug 4th, 2007
Replies: 7
Views: 4,342
Posted By cereal
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
Posted By cereal
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
Posted By cereal
Clipmarks, so the user can save the pages whose is interested in.
Forum: PHP Aug 4th, 2007
Replies: 1
Views: 889
Posted By cereal
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
Posted By cereal
You mean a tag cloud box, related to the searched word?
Forum: PHP Aug 3rd, 2007
Replies: 2
Views: 4,089
Posted By cereal
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
Posted By cereal
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
Posted By cereal
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
Posted By cereal
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
Posted By cereal
Yes, indeed. Thanks for the reply :)
Showing results 1 to 40 of 43

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC