Search found 322 matches

Actual Results

Post Posted: September 14th, 2006, 9:26 am

It saves some memory (although probably nothing appreciable) and it makes sure that if you return an object you actually return it, rather than a copy of it.

Post Posted: July 7th, 2006, 11:36 am

4. A man lives on the tenth floor of a building. Every morning he takes the elevator down to the lobby and leaves the building. In the evening, he gets into the elevator, and, if there is someone else in the elevator - or if it was raining that day - he goes back to his floor directly. Otherwise, h...

Post Posted: July 7th, 2006, 6:20 am

If someone wanted to return which characters found in that string were not allowed, is there an equally easy method to extract thoose characters using the same segment matching mask (AKA $allowed_chars) ? I don't think there's a php function to do it, no. :( You could modify gisele's function thoug...

Post Posted: July 7th, 2006, 6:04 am

You can use an alias, so you could put something like this in your ~/.bashrc file:

Code: [ Download ] [ Select ]
alias tomcat_start="/usr/share/tomcat/startup.sh"
alias tomcat_stop="/usr/share/tomcate/shutdown.sh"
  1. alias tomcat_start="/usr/share/tomcat/startup.sh"
  2. alias tomcat_stop="/usr/share/tomcate/shutdown.sh"

Post Posted: July 7th, 2006, 5:43 am

A shorter version, using strspn, which returns the number of characters in $text that are in $allowed_chars (until it finds the first non-matching character). All you have to do then is check that the number of matching characters is the same as the number of characters in the initial string: [php] ...

Post Posted: July 7th, 2006, 5:28 am

How about ffmpeg? http://en.wikipedia.org/wiki/FFmpeg

Post Posted: July 7th, 2006, 5:24 am

If you're still looking for a way to do this, you could try extract($_POST, EXTR_SKIP);

EXTR_SKIP ensures that you don't overwrite any existing variables, so it shouldn't create any security problems.

Post Posted: February 13th, 2005, 6:37 am

Presumably one's included by the other one? Just assume that the whole contents of included files get put where the include() statement is, and then all you need to do is put the session_start() before you try using any session variables.

Post Posted: January 16th, 2005, 2:16 am

Ah, you mean like the 'www.phpbb.com' link here?

Post Posted: January 15th, 2005, 7:20 am

Hmm, I can't think of how to do that... I know you can just use wc -l readme.txt, so you don't need to use cat., but I don't know about removing the filename. Why do you need it?

Post Posted: January 15th, 2005, 7:08 am

well.. gentoo is released under thr GPL so vidalinux aren't violating the license agreement in any way, Vidalinux is just a newbie friendly gentoo (well, everybody will agree that it isn't as good as gentoo) The other thing is that probably a lot of people who install vidalinux will eventually inst...

Post Posted: January 15th, 2005, 3:48 am

meman wrote:
Mac's are for people who have road signs on thier walls and say "rad" when they really mean "thats good".
The same people who think buying clothes from The Gap is a fashion statment.
Ooh, aren't stereotypes fun!

Anyway, it would definitely be a Mac for me, instead of Windows. :D

Post Posted: January 14th, 2005, 9:46 am

Try using mysql_error() to show you what the error is... And please, please use addslashes() or mysql_real_escape_string() on the $_GET['page'] before putting it in the database... otherwise someone could come to your site, and put this in the address bar... ...?page=',''); DROP TABLE links; Or basi...

Post Posted: January 14th, 2005, 5:10 am

Where do you want to redirect to and from?

Post Posted: January 13th, 2005, 1:37 pm

Have you seen the KDE Kiosk mode readme? You can find the latest version here: http://webcvs.kde.org/kdelibs/kdecore/README.kiosk?rev=1.55&view=markup You might want to change some of the permissions back again though - I would have thought KDE would write to the filesystem, ...
  • Sort by
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.