171 reputation
5
bio website puggan.se
location Gothenburg, Sweden
age 30
visits member for 1 year
seen Jul 10 at 20:02

I'm a nice guy, that like to share my knowledge.

I work with php and mysql, so theres where i can share most knowledge.

"All input is evil until proven otherwise. That's rule number one."
Bridge@SO, or Michael Howard


Aug
15
comment how to make my website secured
Hide your code is the wrong path, hiding the code just hides the problems, they are still there, and a bit of guesswork and your as vulnerable as before, update you code like @NullPoiиteя suggested, the code I wrote above just solves his/her first point, start there and read about the rest of the points. Hiding code is used for 2½ reasons, by virus-makers, to hide the code from anti-virus software, and proprietary coding to protect it from being copied. the last case is to make the code shorter, to increase transfer speed.
Aug
14
answered Issues with Post 2 Post Plugin
Aug
14
comment Issues with Post 2 Post Plugin
the first one is properly the reason you get a blank page, the other 2 is becouse of the first one, i see if i can see whats happening on row 404
Aug
14
comment Issues with Post 2 Post Plugin
Have you access to the webservers log so you can see the error message? or just activate visible error messages in wordpress, or just add ` error_reporting(E_ALL ^ E_NOTICE); ini_set('display_errors','On'); restore_error_handler();` ontop of your function.php to make error visible
Aug
14
comment Trying to get my gallery to be responsive based on the post
dynamic related to what? related to the "post_parent"? as the "post_parent" is 0 ["post_parent"]=>int(0), that's properly not the id you was looking for, maybe its ["ID"]=> int(147) that you looking for, in that case use $post->ID
Aug
14
comment How to return a different page than the one requested
if you look at the html-source of a page, you see that wordpress added a meta-row canonical, thats mostly is that page permalink, if you try to display a page using another url then the canonical, wordpress redirects you to the canonical-url
Aug
14
comment Is there a html tag filter for the excerpt?
maybe you can do somthing with the esc_html filter
Aug
14
awarded  Commentator
Aug
14
comment how to make my website secured
your forms action-attribute says the reciver is the quatation.php
Aug
14
comment Trying to get my gallery to be responsive based on the post
dose it have a "post_parent"-id? dose it have the id you want but named to somthing else?
Aug
14
awarded  Supporter
Aug
14
comment how to make my website secured
It's a good start, the list of things to do to protect yourself is long, you added a bit more, but it could also include checking the against blacklist, spam filtering like Akismet, time mesurments, and captcha
Aug
14
comment Trying to get my gallery to be responsive based on the post
as i can see "galleryid-0" in the page you linked, my guess is that intval($post->post_parent) isn't working as expected, you can do a var_dump($post) to see what you have in $post
Aug
14
answered how to make my website secured
Aug
14
comment How to get outside login data (session) in WordPress?
check the exemple on the linked page, and change the row to look like $creds['user_login'] = $this->input->post('username');
Aug
14
comment Get Post meta via XML-RPC using wp.getPost
codex.wordpress.org/Function_Reference/add_post_meta says "Adds a custom field (also called meta-data) to a specified post", so for me it looks like meta and custom_fields are the same, whats the difference between them in your point of view?
Aug
14
answered How to get outside login data (session) in WordPress?
Aug
14
answered Get Post meta via XML-RPC using wp.getPost
Aug
14
comment How to get outside login data (session) in WordPress?
So you have codeignider (CI) and wordpress (WP), and you want the CI to generate the form, and WP to check the authentication?
Aug
14
awarded  Teacher