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 20 of 20
Search took 0.00 seconds.
Search: Posts Made By: Schroder
Forum: General 11-27-2010, 06:57 PM
Replies: 1
Views: 649
Posted By Schroder
PHP Cron Running Slow

Hello,

I'm running into a peculiar problem with my PHP script. It runs fine when executed from the linux shell, taking up to 30 seconds, however when the cron job system runs the script it times out...
Forum: MySQL & Databases 11-24-2010, 10:50 PM
Replies: 5
Views: 841
Posted By Schroder
I think you need to add an "OR imageid IS NULL"...

I think you need to add an "OR imageid IS NULL" so if there's no associated record in the second table, the user record will still be returned.
Forum: General 06-12-2009, 01:15 PM
Replies: 16
Views: 661
Posted By Schroder
If it's always going to be the very last line of...

If it's always going to be the very last line of your pasted text you can put this line inside your function:

mysplitresult[mysplitresult.length-1]

Hope that helps.
Forum: General 06-11-2009, 08:30 PM
Replies: 1
Views: 697
Posted By Schroder
That particular error can occur when a...

That particular error can occur when a non-numeric number is being used with the operator. (I was able to recreate this error with your code, but haven't been able to replicate it yet.) When using a...
Forum: Advanced PHP Programming 06-10-2009, 12:23 PM
Replies: 2
Views: 576
Posted By Schroder
If I'm understanding the problem correctly, I...

If I'm understanding the problem correctly, I think the issue is in this section of code:


// if file $format equal 1
if ($format = "1") {
// add it to portrait list
$portrait .= "<a...
Forum: Absolute Beginners 11-07-2008, 03:03 PM
Replies: 9
Views: 874
Posted By Schroder
Hmmm... wouldn't it return an error if it was...

Hmmm... wouldn't it return an error if it was trying to use the data type instead of the field name?

Would it be possible to get a SQL dump of what you currently have,or the structure + something...
Forum: Absolute Beginners 11-03-2008, 01:25 PM
Replies: 9
Views: 874
Posted By Schroder
Hmm... are you wanting to show the highest number...

Hmm... are you wanting to show the highest number that's in the point field or something else? If it's something else can you give some more information?

Thanks! =D
Forum: Absolute Beginners 11-03-2008, 01:17 PM
Replies: 9
Views: 874
Posted By Schroder
Does it still give you the blank page, or is it...

Does it still give you the blank page, or is it giving you the wrong number?

I also wanted to confirm, is 'point' a field in your 'points' table?
Forum: Absolute Beginners 11-03-2008, 12:40 PM
Replies: 9
Views: 874
Posted By Schroder
I think the problem is that the variables are...

I think the problem is that the variables are case sensitive. So changing the first instance to uppercase should fix the problem.


$val = mysql_query("SELECT MAX(point) FROM `points`")or...
Forum: General 07-20-2008, 05:23 PM
Replies: 7
Views: 2,444
Posted By Schroder
The problem I can see with the .htaccess rule...

The problem I can see with the .htaccess rule below is that the system is trying to accessing "/tag/redirect" instead of passing it through the wordpress system.

RewriteRule ^([^/]+)$...
Forum: General 07-20-2008, 04:04 PM
Replies: 7
Views: 2,444
Posted By Schroder
Sounds like your suspicions are right. I would...

Sounds like your suspicions are right. I would need to play around with the wordpress .htaccess to get a better idea what exactly is causing the issue.

What error is displaying in the log when you...
Forum: General 07-20-2008, 03:32 PM
Replies: 7
Views: 2,444
Posted By Schroder
Alright. So if someone types in...

Alright. So if someone types in wordpress.annoyed.me the address stays as wordpress.annoyed.me, but internally it is annoyed.me/?tag=wordpress?

What problems were you running into with:
RewriteRule...
Forum: General 07-20-2008, 03:01 PM
Replies: 7
Views: 2,444
Posted By Schroder
If I understand what you want to do correctly I...

If I understand what you want to do correctly I think you want to replace
RewriteRule ^([^/]+)$ /index.php?tag=%1 [L]

with something like this:

RewriteRule ^([^/]+)$ http://annoyed.me/?tag=%1...
Forum: Libraries & Extensions 05-19-2008, 03:06 PM
Replies: 1
Views: 1,226
Posted By Schroder
Nevermind. I found some documentation on it. I...

Nevermind. I found some documentation on it.

I found some good tutorials on akrabat.com. I hope that helps anyone looking for the same info.
Forum: Libraries & Extensions 05-18-2008, 11:35 PM
Replies: 1
Views: 1,226
Posted By Schroder
Zend Framework

I'm trying to get familiar with the Zend Framework (1.5) by creating a form. I think I may have not installed it right.

Do I have to place the Zend folder in one of the paths specified in...
Forum: Libraries & Extensions 04-18-2008, 03:04 AM
Replies: 5
Views: 1,280
Posted By Schroder
I'm going to try out the Zend framework sometime...

I'm going to try out the Zend framework sometime soon. I'm glad to hear you've had a good experience with it.

From what I've experienced so far with Symfony I can add in custom code, but it's all...
Forum: Libraries & Extensions 04-18-2008, 02:16 AM
Replies: 5
Views: 1,280
Posted By Schroder
Opps =( Symfony. http://www.symfony-project.org/

Opps =( Symfony.

http://www.symfony-project.org/
Forum: Libraries & Extensions 04-18-2008, 12:56 AM
Replies: 5
Views: 1,280
Posted By Schroder
Symphony

I created the "First Project" tutorial, and I liked how quickly modules could be created, and the built in functions seemed to be pretty nifty.

I wanted to see what others have run into with this...
Forum: Member Introductions 03-23-2008, 02:49 AM
Replies: 4
Views: 816
Posted By Schroder
I'm still dealing with ASP a bit, but yes, I'm...

I'm still dealing with ASP a bit, but yes, I'm very glad to be working with PHP again. Thank you!
Forum: Member Introductions 03-22-2008, 11:59 PM
Replies: 4
Views: 816
Posted By Schroder
Hello~

I wanted to give a hello to the community, and introduce myself a bit. :-)

I've been working with PHP for around five years now. I took a break last year while I was dealing with an ASP project. I'm...
Showing results 1 to 20 of 20

 

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