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
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-02-2008, 05:22 AM   #1 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default Warning: mkdir() [function.mkdir]: Result too large

What does this mean?

Result too large, I've never heard of a directory being too large. :P Maybe, it has something to do with the content of the directory,
and I'm getting this because, I have made it where, if a user registers on my membership system, they get a directory of their own, though its easy to fix, what is this problem?

PHP Code:
if (!is_dir($username) && $uid==$useridmkdir($username); 
Basically, it checks if the username doesnt have a directory, which then that means there is something wrong, which it would try and make the directory again, plus it checks if the userid is that of the one coming from the mysql, if all of that is correct, then it makes the directory.


UPDATE:
Nevermind, I think it was just cause as I said there was content in that directory, so I added to check if the session was set, in the if statement above, and it seems to go away.
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 06-02-2008, 11:15 AM   #2 (permalink)
The Contributor
 
Join Date: May 2008
Location: Denmark
Posts: 70
Thanks: 3
SpYkE112 is on a distinguished road
Default

Well, if your server runs Windows it could be because of the fact that Windows apparently can't handle long dir names, i think the limit is 255 chars. I don't know if it is different in w2k3 and w2k8 but it ain't possible on Windows XP..
SpYkE112 is offline  
Reply With Quote
The Following User Says Thank You to SpYkE112 For This Useful Post:
Orc (06-03-2008)
Old 06-02-2008, 09:45 PM   #3 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

I would surmise it's something like that as well. Googling the problem only brings me back to this thread Looks like you stumbled across a very unpopular problem.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
The Following User Says Thank You to Wildhoney For This Useful Post:
Orc (06-03-2008)
Old 06-03-2008, 07:33 AM   #4 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by Wildhoney View Post
I would surmise it's something like that as well. Googling the problem only brings me back to this thread Looks like you stumbled across a very unpopular problem.
Damn.. Well at least I fixed it. xD
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:45 PM.

 
     

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