TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 500
Search took 0.09 seconds.
Search: Posts Made By: Tanax
Forum: General 02-05-2012, 11:41 AM
Replies: 1
Views: 809
Posted By Tanax
Facebook API

Does anyone have any knowledge about the Facebook API?
I'm wondering how I can get information about how long I have been friends with someone in my friendslist.

I know how to get my friendslist, I...
Forum: Javascript, AJAX, E4X 09-03-2011, 10:32 PM
Replies: 3
Views: 547
Posted By Tanax
None :P I didn't need to get it. The javascript...

None :P I didn't need to get it. The javascript that fetched the string to insert into the DIV was already on the page, i.e. they didn't load it from a database or some PHP-script. They simply had it...
Forum: Javascript, AJAX, E4X 09-02-2011, 06:56 PM
Replies: 3
Views: 547
Posted By Tanax
Nevermind, I solved it!

Nevermind, I solved it!
Forum: Javascript, AJAX, E4X 09-02-2011, 04:39 PM
Replies: 3
Views: 547
Posted By Tanax
Get content of site

How do I get the content of a specific div-tag on a website that was populated with javascript/AJAX?

(very short first post -- haha)
Forum: General 09-02-2011, 11:24 AM
Replies: 11
Views: 1,073
Posted By Tanax
I actually solved this by using the mobile site...

I actually solved this by using the mobile site instead. It uses no(or less) javascript so it's easier to get the friends from there. Script is fully functional and I've loaded all my friends into a...
Forum: General 07-28-2011, 08:31 PM
Replies: 11
Views: 1,073
Posted By Tanax
Unfortunately it doesn't change at all. I'm...

Unfortunately it doesn't change at all. I'm suspecting they are either using POST to change the page or JS/AJAX to load another page.

Tried searching for how cURL handles javascript but no luck.
Forum: General 07-28-2011, 03:03 PM
Replies: 11
Views: 1,073
Posted By Tanax
Okay, I made some changes and it works GREAT now...

Okay, I made some changes and it works GREAT now to fetch the names and only the names of your friends. Prints them out in an easy way. Still have to make the database and that.. but for now it seems...
Forum: Feedback 07-28-2011, 03:00 PM
Replies: 9
Views: 818
Posted By Tanax
I hear you. I recently got back to the site...

I hear you.
I recently got back to the site myself and I was surprised to see so .. little. I've been gone for a while so I expected quite a lot of activity, unread posts and things like that.

I...
Forum: General 07-28-2011, 12:26 AM
Replies: 11
Views: 1,073
Posted By Tanax
Okay, so I've managed to come a bit on the...

Okay, so I've managed to come a bit on the way.

First snag I hit was that when using cURL from localhost it didn't recognize that I was logged in and returned a loginpage. I've managed to get it...
Forum: General 07-27-2011, 10:26 PM
Replies: 11
Views: 1,073
Posted By Tanax
Or rather, the cURL part wouldn't be that hard. I...

Or rather, the cURL part wouldn't be that hard. I just googled it and while I'll still have to read up on it, it looks fairly straight-forward.

However, how would I do the actual stripping-part to...
Forum: General 07-27-2011, 10:23 PM
Replies: 11
Views: 1,073
Posted By Tanax
Hey Codefreek and thanks for the reply! Yes thank...

Hey Codefreek and thanks for the reply!
Yes thank you, I already have a system to store and manage the actual comparing of the friendslist. Regarding the id, I don't have to generate one, they...
Forum: General 07-27-2011, 05:03 PM
Replies: 11
Views: 1,073
Posted By Tanax
Fetching facebook-friends

Whoa, long time I was here!
And long time I've actually done any PHP coding.

In any case, I've seen these apps on Facebook that lets you see who defriended you. Unfortunately these apps were...
Forum: Advanced PHP Programming 10-25-2010, 08:11 PM
Replies: 3
Views: 1,973
Posted By Tanax
Try changing if(($param + $this->adjacents) <...

Try changing

if(($param + $this->adjacents) < $numOfPages)


to


if(($param + $this->adjacents) <= $numOfPages)
Forum: General 06-21-2010, 03:21 PM
Replies: 8
Views: 609
Posted By Tanax
Wait, what? You want to include that file into a...

Wait, what?
You want to include that file into a variable? AFAIK it's not possible. But why would you want to do that?
Forum: Advanced PHP Programming 06-17-2010, 08:13 PM
Replies: 6
Views: 1,156
Posted By Tanax
Haha, it's solved for the moment but not the way...

Haha, it's solved for the moment but not the way I wanted.
I have an HMVC framework with modules, I wanted so when I load a view, it will first check if the view exists in the current module - IF the...
Forum: Advanced PHP Programming 06-16-2010, 02:44 PM
Replies: 6
Views: 1,156
Posted By Tanax
Didn't work quite as I wanted/expected, but...

Didn't work quite as I wanted/expected, but thanks for the help!
Forum: Advanced PHP Programming 06-14-2010, 03:44 PM
Replies: 6
Views: 1,156
Posted By Tanax
Getting classname where function was called from

How would I get the classname of a class where I called another class's function?

one.php

class One
{

public static function test()
{
Forum: Advanced PHP Programming 06-11-2010, 11:40 PM
Replies: 4
Views: 809
Posted By Tanax
Realized that :=)

Realized that :=)
Forum: Advanced PHP Programming 06-10-2010, 08:28 PM
Replies: 4
Views: 809
Posted By Tanax
Thanks a lot! This helped me greatly. It was the...

Thanks a lot! This helped me greatly.
It was the return value of getMethod and not hasMethod that had the methods getNumberOfParameters and getNumberOfRequiredParameters by the way.
Forum: Advanced PHP Programming 06-10-2010, 12:36 AM
Replies: 4
Views: 809
Posted By Tanax
ReflectionClass problem

Heya, as mentioned before on this forum these type of stuff barely got any documentation so I kinda need your help.

I got like this:

$class = new ReflectionClass('WelcomeController');
$controller =...
Forum: Advanced PHP Programming 06-03-2010, 08:20 AM
Replies: 9
Views: 1,746
Posted By Tanax
I wrote this tutorial that got accepted here:...

I wrote this tutorial that got accepted here: http://net.tutsplus.com/tutorials/php/quick-tip-loop-through-folders-with-phps-glob/

That will help you find your answer.
Forum: Advanced PHP Programming 05-22-2010, 12:29 PM
Replies: 3
Views: 1,753
Posted By Tanax
Hmvc

How would I go about to create my framework with support for HMVC?
I have found one tutorial that explained how to create an HMVC framework but it was just.. weird....
Forum: Feedback 05-15-2010, 10:11 AM
Replies: 49
Views: 2,498
Posted By Tanax
Mhm when? :-P

Mhm when? :-P
Forum: Feedback 05-12-2010, 07:50 AM
Replies: 49
Views: 2,498
Posted By Tanax
Fiiiiiix iit! >.<

Fiiiiiix iit! >.<
Forum: The Lounge 04-05-2010, 06:55 PM
Replies: 9
Views: 667
Posted By Tanax
Because WP won't do what I need to create. Joomla...

Because WP won't do what I need to create. Joomla will probably work, but I want to create my site from scratch.. I mean, that's what this whole project is about.

Besides, it's kind of ugly to use...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 02:21 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design