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 15 of 15
Search took 0.05 seconds.
Search: Posts Made By: Dan
Forum: Absolute Beginners 12-18-2008, 04:46 PM
Replies: 0
Views: 877
Posted By Dan
'Cloaking' for useragents

Hey,

Due to an I.E bug I'm forced to cloak for I.E users, I'm prefer to do this using PHP so it won't look messy.

How would you do this? :'-(
Forum: Advanced PHP Programming 08-23-2008, 04:21 PM
Replies: 0
Views: 1,115
Posted By Dan
[HIRING] PHP Coder with Wordpress experience. $xxxx

Please PM portfolio's along with contact information.

Don't PM me if you're not available to hire right away. ^^
Forum: General 03-04-2008, 02:14 PM
Replies: 5
Views: 3,305
Posted By Dan
There is a mix of letters numbers and -. When...

There is a mix of letters numbers and -.

When going to domain.com/sample/page/ it redirects to: page.com/.domain.com umm
Forum: General 03-04-2008, 02:54 AM
Replies: 5
Views: 3,305
Posted By Dan
RewriteRule ^sample/(.*)/ http://$1.domain.com...

RewriteRule ^sample/(.*)/ http://$1.domain.com [R=301,L]
RewriteRule ^sample/(.*) http://$1.domain.com [R=301,L]I've had to use two lines to get it redirecting with a trialing slash and not.

So...
Forum: General 03-04-2008, 01:22 AM
Replies: 5
Views: 3,305
Posted By Dan
Worked a treat. Cheers Salathe.

Worked a treat. Cheers Salathe.
Forum: General 03-04-2008, 01:07 AM
Replies: 5
Views: 3,305
Posted By Dan
redirecting to subdomain via htaccess

Hello everyone! :-)

Question. I have over 2000 URLs I'm trying to successfully 301 redirect to subdomains using the root htaccess file.

domain.com/same/NAME to NAME.domain.comNote the "same"...
Forum: XHTML, HTML, CSS 02-27-2008, 02:06 AM
Replies: 16
Views: 1,125
Posted By Dan
Why don't you link to a page like deviantART:...

Why don't you link to a page like deviantART: where ART meets application! (http://deviantart.com/random/deviation) - where it redirects to another page? It is the best way of hiding a URL from the...
Forum: The Lounge 02-27-2008, 01:56 AM
Replies: 1
Views: 624
Posted By Dan
Awesome list SOCK. I'll be sure to try those, and...

Awesome list SOCK. I'll be sure to try those, and here's a few more extensions to check out.

Colour Picker (https://addons.mozilla.org/en-US/firefox/addon/271) - Quickly get the colour of any pixel...
Forum: The Lounge 02-27-2008, 01:24 AM
Replies: 6
Views: 668
Posted By Dan
I'm in Essex. Can't say i felt anything. :-(

I'm in Essex. Can't say i felt anything. :-(
Forum: Advanced PHP Programming 02-26-2008, 09:49 PM
Replies: 7
Views: 973
Posted By Dan
Yeah, that's exactly what im after ReSpawn, apart...

Yeah, that's exactly what im after ReSpawn, apart from wordpress and mod-rewrites don't go well together. I've tried it myself and it failed miserably.

I'll pay nicely :-D
Forum: Advanced PHP Programming 02-26-2008, 07:53 PM
Replies: 7
Views: 973
Posted By Dan
Nope it does not. It only allows 1 page (unless...

Nope it does not. It only allows 1 page (unless it's a paginated page).

For example. I'd like to have a page "/authors/username/comments" where all the comments that author has made appear on. -...
Forum: Feedback 02-26-2008, 03:09 PM
Replies: 2
Views: 968
Posted By Dan
Duplicate Pagination

Not sure i've you are aware of this.

Threads that exceed the first page get a duplicate pagination at the...
Forum: Advanced PHP Programming 02-26-2008, 03:06 PM
Replies: 7
Views: 973
Posted By Dan
Arrow [Job] Modding Wordpress

I've been trying to mod wordpress to allow multiple pages for authors.



Wordpress is being a bitch so if anyone wants a job, i'd pay handsomely. :-)

PM for details. ^^
Forum: Absolute Beginners 01-18-2008, 05:08 PM
Replies: 4
Views: 766
Posted By Dan
Still trying to display random posts in...

Still trying to display random posts in wordpress, I have this working with the follwing:
<?php global $wpdb; $numposts = 40;
$rand_posts = $wpdb->get_results("SELECT * FROM $wpdb->posts...
Forum: Absolute Beginners 01-18-2008, 04:10 AM
Replies: 4
Views: 766
Posted By Dan
Wordpress Questions

Hello,

These have been bugging me for a while and I've not been able to find a solution to nether:

1) Display the total number of wordpress posts, minus a category. So all posts within all...
Showing results 1 to 15 of 15

 

All times are GMT. The time now is 12:02 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