Search found 7 matches

by Jonnycake
Sun Mar 30, 2014 5:16 am
Forum: PHP - Code
Topic: cannot see where to locate the php Header function
Replies: 5
Views: 1896

Re: cannot see where to locate the php Header function

write_log says: connected ok write_log says: here is the query i will use SELECT * FROM table_of_users WHERE user_name='dh' AND the_password='dh'-------------3 ---------------query returned TRUE.Result set has 1 rows. You have to send the header before ANY output, that includes your log messages no...
by Jonnycake
Sun Mar 30, 2014 5:07 am
Forum: PHP - Code
Topic: unexpected T_IF why is it not working?
Replies: 6
Views: 874

Re: unexpected T_IF why is it not working?

The first wouldn't work because you can't add two if statements, they're not like functions. If you want to just return a specific value given a certain condition you can use ternary operators, however. Their syntax is as follows: $a=(($x==1)? true:false ); The problem with this is that given a situ...
by Jonnycake
Mon Mar 24, 2014 7:25 am
Forum: General Discussion
Topic: Fellow Hackers? CanYouHack.It
Replies: 0
Views: 2035

Fellow Hackers? CanYouHack.It

Hey, name's Jon; I don't normally sign up for programming/language-specific forums, but this seems like a decent community. Anyways, my main interest with web development lies in security and I was wondering if there was anyone else here with similar interests? Secondly, and I apologize if this is a...
by Jonnycake
Mon Mar 24, 2014 7:11 am
Forum: Javascript
Topic: javascript
Replies: 1
Views: 4051

Re: javascript

In firefox with web developer tools you can use scratchpad to test single/multi-line JavaScript, since other browsers also seem to have the web developer toolbar now I'd assume they also have a similar function.
by Jonnycake
Mon Mar 24, 2014 5:53 am
Forum: PHP - Code
Topic: Do Procedure On Function Call
Replies: 4
Views: 826

Re: Do Procedure On Function Call

@Christopher Thanks for the suggestion, I'll check it out :)
by Jonnycake
Sun Mar 23, 2014 7:54 am
Forum: PHP - Code
Topic: Do Procedure On Function Call
Replies: 4
Views: 826

Re: Do Procedure On Function Call

Alright, I figured that because I couldn't find anything on google about it, but thank you anyways, looks like I'll be doing that when I start learning about creating extensions. Thanks for the quick reply :).
by Jonnycake
Sun Mar 23, 2014 7:05 am
Forum: PHP - Code
Topic: Do Procedure On Function Call
Replies: 4
Views: 826

Do Procedure On Function Call

Okay, so I'm in the midst of creating a PHP framework, a project which started out as a simple template system I've now been working on for a year and a half to two years due to a couple computer crashes and ideas for new features and implementations for those features by that annoying kid in my hea...