Search found 789 matches
- Fri Oct 14, 2011 12:00 pm
- Forum: CSS / Styling
- Topic: image has border
- Replies: 20
- Views: 9688
Re: image has border
Did you even bother to read all posts? Doing border: 0px/none; would be the same thing as doing what you did.
- Fri Oct 14, 2011 7:05 am
- Forum: General Chat
- Topic: About the October Contest
- Replies: 28
- Views: 6997
Re: About the October Contest
When you say only 5 people did the right thing... Do you mean that the other 2 sent in some random stuff o_O?
- Thu Oct 13, 2011 9:45 pm
- Forum: General Chat
- Topic: How to become successful programmer ?
- Replies: 6
- Views: 1256
Re: How to become successful programmer ?
http://www.php.net search for the function if you need to know how to use it.Alg0r1thm wrote: How should we collect info ?
Or Google something you're trying to do. It all depends on the project.
- Thu Oct 13, 2011 8:44 pm
- Forum: General Chat
- Topic: How to become successful programmer ?
- Replies: 6
- Views: 1256
Re: How to become successful programmer ?
It's not about watching tutorials. It's about trying new things that you've never done before. Instead of creating the same thing in 50 different ways, make it once and then hop onto something else. This is were I love the PHP competitions, you'll (mostly) get to create something you haven't done be...
- Thu Oct 13, 2011 7:52 pm
- Forum: General Chat
- Topic: How to become successful programmer ?
- Replies: 6
- Views: 1256
Re: How to become successful programmer ?
You practice to be a good programmer. There is nothing more to it.
It's all about how you practice though.
It's all about how you practice though.
Re: Download
Because you wont learn anything if you don't watch and type yourself.
- Thu Oct 13, 2011 4:41 pm
- Forum: PHP
- Topic: filter_var URL validation always returning same result.
- Replies: 8
- Views: 1261
Re: filter_var URL validation always returning same result.
if(filter_var($url, FILTER_VALIDATE_URL)){ echo "Success";} else{ echo "Failure";}Should work though. I've heard that filter_var is false by default but I think it's true by default. At least that's how mine worked.
- Thu Oct 13, 2011 3:45 pm
- Forum: PHP
- Topic: filter_var URL validation always returning same result.
- Replies: 8
- Views: 1261
Re: filter_var URL validation always returning same result.
Do you get "Success" if you enter an invalid url?
- Thu Oct 13, 2011 3:43 pm
- Forum: General Chat
- Topic: About the October Contest
- Replies: 28
- Views: 6997
Re: About the October Contest
So if someone corrects something in my code I can't use it? :Ojacek wrote: You can ask things, but the code you submit must be your own.
- Thu Oct 13, 2011 2:20 pm
- Forum: General Chat
- Topic: Needing Specific Ubuntu's Applications
- Replies: 4
- Views: 1140
Re: Needing Specific Ubuntu's Applications
Best solution: get Windows.
- Wed Oct 12, 2011 9:55 pm
- Forum: General Chat
- Topic: About the October Contest
- Replies: 28
- Views: 6997
Re: About the October Contest
Are you allowed to ask for help on the forums if you run into a problem while trying to do this? 

- Wed Oct 12, 2011 9:54 pm
- Forum: PHP
- Topic: Check array values and change where needed.
- Replies: 9
- Views: 1360
Re: Check array values and change where needed.
Oooooh! That is looking sexy!
- Wed Oct 12, 2011 9:36 pm
- Forum: Introductions
- Topic: Hello everybody
- Replies: 3
- Views: 2011
Re: Hello everybody
Welcome!
I'm stuck in Sweden... but not for too long! (hopefully *crosses fingers*
)
I'm stuck in Sweden... but not for too long! (hopefully *crosses fingers*

- Wed Oct 12, 2011 9:34 pm
- Forum: PHP
- Topic: Check array values and change where needed.
- Replies: 9
- Views: 1360
Re: Check array values and change where needed.
Well, if you print_r and view the page source it looks like this. Array( [0] => "zero" [1] => "one" [x] => "and so on" ) but if you just view the page it's, Array( [0] => "zero" [1] => "one" [x] => "and so on" ) But is there a way to actual...
- Wed Oct 12, 2011 8:20 pm
- Forum: Tutorials
- Topic: Use profile script isn't working
- Replies: 9
- Views: 3169
Re: Use profile script isn't working
The first two errors are because you're specifying the wrong paths to the files you wanna include, so check your paths and quadruple-check your code. The third error would be a side effect of you having the wrong paths. So if you fix the path issues the third issue should be resolved. It should be S...
- Wed Oct 12, 2011 8:02 pm
- Forum: PHP
- Topic: Check array values and change where needed.
- Replies: 9
- Views: 1360
Re: Check array values and change where needed.
But...o_O waaat... How would I then use the stristr on it, just doing it like the old example isn't working and I don't really know anything about the &-thing :S //Edit Never mind! I just did it wrong :lol: I still got one little problem though, foreach ($checks[1] as &$check){ if(stristr($c...
- Wed Oct 12, 2011 7:45 pm
- Forum: PHP
- Topic: Check array values and change where needed.
- Replies: 9
- Views: 1360
Re: Check array values and change where needed.
But then using the stristr it's going to generate, PHP Warning: stristr() expects parameter 1 to be string, array given in blablabla :S
- Wed Oct 12, 2011 7:11 pm
- Forum: PHP
- Topic: Check array values and change where needed.
- Replies: 9
- Views: 1360
Check array values and change where needed.
Let's say I have an array like this, [0] => cg/template [1] => search [2] => start [3] => ending now, what if I wanted to check each of these values and see if the value string started with "cg/" I tried doing something like this, foreach(array_values($checks[1]) as $checks) { if(stristr($...
- Wed Oct 12, 2011 2:55 pm
- Forum: General Chat
- Topic: About the October Contest
- Replies: 28
- Views: 6997
Re: About the October Contest
So it all comes down to IF we wanna be nice to you?jacek wrote:It might make it easier for me though since print_r tends to use up a lot more lines than it needs to.

- Tue Oct 11, 2011 9:16 pm
- Forum: General Chat
- Topic: About the October Contest
- Replies: 28
- Views: 6997
Re: About the October Contest
Do I get extra points if I make the output in a neat way? Instead of printing arrays? 

- Tue Oct 11, 2011 8:29 pm
- Forum: General Chat
- Topic: About the October Contest
- Replies: 28
- Views: 6997
About the October Contest
A web crawler basically gets the links of a website right? That's what I got out of looking on Wikipedia... But, how simple does it have to be? Just scan one page or scan one page and then scan a sub-page? So, if I scanned the betterphp index it would get the navigation links and then scan those pag...