Search found 789 matches

by EcazS
Fri Oct 14, 2011 12:00 pm
Forum: CSS / Styling
Topic: image has border
Replies: 20
Views: 6413

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.
by EcazS
Fri Oct 14, 2011 7:05 am
Forum: General Chat
Topic: About the October Contest
Replies: 28
Views: 3873

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?
by EcazS
Thu Oct 13, 2011 9:45 pm
Forum: General Chat
Topic: How to become successful programmer ?
Replies: 6
Views: 1001

Re: How to become successful programmer ?

Alg0r1thm wrote:How should we collect info ?

http://www.php.net search for the function if you need to know how to use it.
Or Google something you're trying to do. It all depends on the project.
by EcazS
Thu Oct 13, 2011 8:44 pm
Forum: General Chat
Topic: How to become successful programmer ?
Replies: 6
Views: 1001

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...
by EcazS
Thu Oct 13, 2011 7:52 pm
Forum: General Chat
Topic: How to become successful programmer ?
Replies: 6
Views: 1001

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.
by EcazS
Thu Oct 13, 2011 5:09 pm
Forum: Feedback
Topic: Download
Replies: 2
Views: 1958

Re: Download

Because you wont learn anything if you don't watch and type yourself.
by EcazS
Thu Oct 13, 2011 4:41 pm
Forum: PHP
Topic: filter_var URL validation always returning same result.
Replies: 8
Views: 969

Re: filter_var URL validation always returning same result.

[syntax=php]
if(filter_var($url, FILTER_VALIDATE_URL)){
echo "Success";}
else{
echo "Failure";}
[/syntax]

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.
by EcazS
Thu Oct 13, 2011 3:45 pm
Forum: PHP
Topic: filter_var URL validation always returning same result.
Replies: 8
Views: 969

Re: filter_var URL validation always returning same result.

Do you get "Success" if you enter an invalid url?
by EcazS
Thu Oct 13, 2011 3:43 pm
Forum: General Chat
Topic: About the October Contest
Replies: 28
Views: 3873

Re: About the October Contest

jacek wrote:You can ask things, but the code you submit must be your own.

So if someone corrects something in my code I can't use it? :O
by EcazS
Thu Oct 13, 2011 2:20 pm
Forum: General Chat
Topic: Needing Specific Ubuntu's Applications
Replies: 4
Views: 683

Re: Needing Specific Ubuntu's Applications

Best solution: get Windows.
by EcazS
Wed Oct 12, 2011 9:55 pm
Forum: General Chat
Topic: About the October Contest
Replies: 28
Views: 3873

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? :lol:
by EcazS
Wed Oct 12, 2011 9:54 pm
Forum: PHP
Topic: Check array values and change where needed.
Replies: 9
Views: 984

Re: Check array values and change where needed.

Oooooh! That is looking sexy!
by EcazS
Wed Oct 12, 2011 9:36 pm
Forum: Introductions
Topic: Hello everybody
Replies: 3
Views: 1017

Re: Hello everybody

Welcome!

I'm stuck in Sweden... but not for too long! (hopefully *crosses fingers* :))
by EcazS
Wed Oct 12, 2011 9:34 pm
Forum: PHP
Topic: Check array values and change where needed.
Replies: 9
Views: 984

Re: Check array values and change where needed.

Well, if you print_r and view the page source it looks like this. [syntax=text] Array( [0] => "zero" [1] => "one" [x] => "and so on" ) [/syntax] but if you just view the page it's, [syntax=text] Array( [0] => "zero" [1] => "one" [x] => "and so o...
by EcazS
Wed Oct 12, 2011 8:20 pm
Forum: Tutorials
Topic: Use profile script isn't working
Replies: 9
Views: 1993

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 [...
by EcazS
Wed Oct 12, 2011 8:02 pm
Forum: PHP
Topic: Check array values and change where needed.
Replies: 9
Views: 984

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 I still got one little problem though, [syntax=php] foreach ($checks[1] as &$check){ if(str...
by EcazS
Wed Oct 12, 2011 7:45 pm
Forum: PHP
Topic: Check array values and change where needed.
Replies: 9
Views: 984

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
by EcazS
Wed Oct 12, 2011 7:11 pm
Forum: PHP
Topic: Check array values and change where needed.
Replies: 9
Views: 984

Check array values and change where needed.

Let's say I have an array like this, [syntax=text] [0] => cg/template [1] => search [2] => start [3] => ending [/syntax] 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, [syntax=php] foreach(array_values($...
by EcazS
Wed Oct 12, 2011 2:55 pm
Forum: General Chat
Topic: About the October Contest
Replies: 28
Views: 3873

Re: About the October Contest

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.

So it all comes down to IF we wanna be nice to you? :lol:
by EcazS
Tue Oct 11, 2011 9:16 pm
Forum: General Chat
Topic: About the October Contest
Replies: 28
Views: 3873

Re: About the October Contest

Do I get extra points if I make the output in a neat way? Instead of printing arrays? :lol:
by EcazS
Tue Oct 11, 2011 8:29 pm
Forum: General Chat
Topic: About the October Contest
Replies: 28
Views: 3873

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...