Jump to content

darkcarnival

Members
  • Posts

    162
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

darkcarnival's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. I too would like my account deleted. I haven't been on here since 2004 or so. I either figure out the issue on my own or use stack overflow. Thanks
  2. sweet! thanks a bunch Barand, this will save me a lot of time
  3. hi, for a script of mine i have language values in an array. the issue is I found that some things are the same as the other array values. now i have alot of of values in these arrays so going through every one is very tedious. so question is, is there a way to create a loop to check the array values? much thanks in advance.
  4. ok well i decided to test a few things out and what i found is odd. i made a similar download script that would check the file only and downloaded everything correctly. but if i grab all my data from a mysql table i got errors in the files that download :? now i did somewhat fix this by adding a header with a location command but if an image is in there, it'll load the image instead of downloading it. any idea why it wont download correctly if the data is from a mysql table?
  5. nope still get the random characters. now i did do a direct link to make sure it wasnt an error during the upload and that downloads just fine. I am going to try another file type and see if thats whats causing this.
  6. hi, im really stuck on this. im working on a download script for a program of mine and i can get the file to download correctly but when i try to open it i get a bunch of random characters. now if you need to know what type of file i was opening, it was a openoffice file(.odt) but i had the MIME type and such all ther so im still not sure why its doing this. here is the code im using, i hope #check if the file exists, if it doesn't, fire an error message and kill the script $dl_path = "uploads/".$attach_r['Filename']; if(!file_exists($dl_path)){ $error = $attach['nofile']; echo error($error, "error"); } #do some header work. header("Pragma: public"); // required header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private",false); // some browsers require this #declares the type of file header("Content-Type: $attach_r[File_Type]"); #declares the file as an attachment header("Content-Disposition: attachment; filename=\"".basename($dl_path)."\";" ); #the encoding of the transfer. header("Content-Transfer-Encoding: binary"); #the size of the file header("Content-Length: $attach_r[File_Size]"); #to prevent script from timing out. @set_time_limit(0); #download file. readfile("$dl_path"); the only items i didnt add in were the sql query and id check(if you wish to see that let me know). much thanks
  7. hello, this may be a javascript issue, but i thought i'd ask it here first to make sure. my problem is I want to have a pop-up open that a user can upload a file and then once the file is uploaded the pop-up closes and reloads the form to show the file that was upload. much to say i wish to attempt what vbulletin does when you attach a file. if anyone can help on this, it'd really help me out on this problem thanks.
  8. well after im done with dev 2, i plan to install a demo board. and as for the 3 second delay, no real reason, i can speed it up if you'd like, i just noticed a lot of site have like a 5 second delay i should have dev 2 ready soon, just need to add in a couple of features and fix a few bugs i noticed. I'm also working on a all css template, but i may use that theme for the final as i have some work ahead of me for that
  9. well the thing is, i wish to have the file size limit be determined by what the php.ini settings already have setup, is that a poor idea to do that?
  10. hi, i have a quick question with file uploading. i'm testing around with it and decided to see how php will handle the 2M limit set by my php.ini file for some reason whenever the file size is way over the 2M limit i get a notice error, but if its just a few megs off i get the normal error i set. i tried several file types and sizes to make sure it wasnt a code-related issue but if you still want some code i'm willing to post it o request. basically my question is, how can i make it it display the error message i have set instead of a notice error? thanks
  11. i didnt update the zip file, too many people have already downloaded it for me to change it now. the change will occur for dev 2, which i think I'll have ready by may or june or late april if i get going on it quickly. I may add a demo board later this week, i have a slow week coming ahead for me so i'll probably even start work dev 2 so you guys can test that out as well
  12. just curious: would adding a demo board make testing this easier? i know a few others have asked about that and im undecided on that, if you think i should, I will install a demo board for further testing so far i have fixed the undefined errors and i am working on optimizing the sql queries as well. if anyone have feature ideas I am open to it. so far the next build will contain: -attachment feature -user health feature -support for mysql 5 -expanded support for the group feature -minor tweaks to current code an idea in the past was to add a db driver feature to support multiple dbs but i dropped that since I'd need some additional help to make that worth pursuiting after.
  13. I noticed a few small errors that i posted on your demo site but otherwise it looks very good and looks promising i wish you luck on it
  14. i agree it needs alot more work. validating is a absolute must. remember users are in nature dumb and will do whatever they want. just because you wouldnt do something doesnt mean someone else wouldnt. phpbb and Microsoft patch up code because they didnt think a user would exploit something that could be exploited the color is off setting but thats just personal opinion.
  15. ok i will work on the undefined variable item. as to using *, i tried the method you spoke of, it can get very lagging if i use on something like the settings table as theres way too many things there to define, but your method also conflicts with a function i use, but i'll look into it. and I'll note the install item for the next release.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.