Jump to content

drifter

Members
  • Posts

    189
  • Joined

  • Last visited

    Never

Contact Methods

  • AIM
    drifterlrsc
  • Website URL
    http://www.corelevel.com

Profile Information

  • Gender
    Not Telling
  • Location
    Washington

drifter's Achievements

Member

Member (2/5)

0

Reputation

  1. JUST FYI - I went into one of my previous rules and did not use the ? and used XX instead Then I was able to do RewriteRule ^([^?]+)\.phpXX([^/]+)/([^/]+)$ $1.php?$2=$3 [L] This seems to work
  2. I have all of my rules working good except this one... RewriteRule ^([^?]+)/?([^/]+)/([^/]+)$ $1?$2=$3 [L] My goal is to get app.php?t/5 => app.php?t=5 app.php?mode/test => app.php?mode=test this works fine and does it, but it also messes up things that do not have a ? like includes/style.css So is there a way to get it to only work when the is a ? - do i need a conditional for this? If I take this line out, the css files will work so I know it is this line messing it up. Thanks for any help. Scott
  3. I am thinking for username - not related to mysql. like if you look at myspace your page might be at myspace.com/corelevel obviously there is words that they do not want people using such as profanities. They also do not want people using names that will indicate that they have authority over the site like myspace.com/administrator So I was looking for a list of common words like this - I am sure there has to be one, I know I can write one, but I would probably miss a lot of words.
  4. I was making an account creation script, and I was wondering if anyone has come across a list of commonly reserved names. A list that includes things like profanities and common words like admin,webmaster,sales,billing, etc
  5. looping for ($i=1;$i<8000;$i++){ fopen() fwrite() }
  6. you need to search google for a javascript date selector - you will find hundreds
  7. it is possible I believe - would take some work. Also when i do this stuff I usually find it easier to not send attachments, but instead save them on the server and send them a link to it. but that is just what I do for my cases
  8. Is there a way with PHP or the web server to limit the FTP speed? I am using ftp download functions and I download several hundred MB of data a day and when it is in a download, I get extremely high IO wait, and them my server load skyrockets and everything bogs down. I do have these scripts running with a proc_nice(10), This only seems to make it play nice on the processing parts and still overloads on the FTP parts of the scripts. Thanks Scott
  9. I have an open source app that I run that does a lot of data processing. The problem is that I need to run this thing a total of 8 times with different variables. I was just going to write a program and say include(); whenever I needed it. THe problem is looking at it, it uses lots of defined constants... since these are global scope and can not be changed, I will not be able to run it a second time and change the variables. So is there any way to isolate this extra script in a class or something that will limit the scope of the define. I could put eight cron jobs in, but I would rather them run sequentially since I have no idea how long they will take to run at any given time. Is there a way I can right a shell or something that will run one php script and when that is done run the next? Thanks Scott
  10. does anyone know where I can find a list of domains of anonymous email providers? gmail.com yahoo.com hotmail.com etc. I want to prevent them from registering for a site
  11. OK  have someone spamming my site through a form. I do not have any header injection going on, so this is only annoying inhouse... I am not sure what they are doing. I was trying to track IPs, but this morning they submitted 7 spam requests in 20 seconds from 7 different IPs - So I am guessing that they did not just write a simple program to just send requests from a single IP All the hidden inputs and stuff were in place so I can not use something like that to flag them as spam. I would really not like to go captcha, so I was just wondering if I could find out how they are spamming me, maybe I can flag some as spam.
  12. is there a way to delete a line from a file without rewriting it? I have a 300K file with about 20000 lines - each line takes about 1.5 seconds to process. (images and such) the problem is, this runs for hours - then it fails and It starts over. I would like to remove a line on sucess so that the next time it runs it does not rerun the same lines. rewriting the file that large, that many times seems like it would be really hard on the server. Thanks Scott
  13. I know how to make a color selector in javascript  - I am looking to make one where people can upload an image and I use an input type image to get an X,Y and then I want to get the color of that point. I did find imagecolorat() just now. My other question that I can not find an awnser to is if I can take an image and return the top 3 most used colors in the image???
  14. I want to create a color selector from an image. Basically I want people upload a logo. I want to put something that I can select colors off of that. I know I can use HTML custom cursors to make an eye dropper. I know I can use the input type image to get x and y coords. but how is there a way using GD or something to get the color of an spot of an image and return the RGB? Also, does anyone know where a script like this might be so I can avoid reinventing the wheel if possible? Thanks Scott
  15. I would probably have it log a DB entry every time someone connects to the server and then read the count from the DB. Not sure if there is another way
×
×
  • 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.