Jump to content

bradcis

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bradcis's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Is this something that can even be done? If not, I will definitely look for an alternative solution. Thank you for your help =)
  2. I have been looking around for this but haven't found a solution. This is what I want to do. I want to setup a directory so that it will check if it matches my IP, if it does match my IP (the one inside .htaccess), then it will let me see the directory contents. However, if it doesn't match my IP, then (and only then) I want it to display the HTTP Authentication popup box. The purpose of this is for me to be able to skip the login step if it someone is visiting from an authorized IP, otherwise, they will need to login to see the directory. I know this can probably be done with PHP and such fairly easily, but I was really hoping to do this all through .htaccess. I plan on having wordpress, media wiki, a bug tracker, etc. in this directory (or sub directories of), so doing this with anything other than server configuration files would be painful. Do you have any suggestions on how to go about doing this? Thank you much in advance. Brad
  3. Thank you much, Xtopolis, for your help. That worked perfectly.
  4. Here is what I am trying to accomplish. I have one table that has a bunch of peoples names and numbers. Each person has multiple numbers. I am trying to make display the top 10 users based on their highest numbers. Therefore, each person may only come up once. I am trying to do SELECT DISTINCT(`name`), `number` FROM `users` ORDER BY `number` DESC. However, this will only pull the first row inserted for each user, rather than pull the highest row for each user. I know I can't use DISTINCT() for this very reason, but I am not sure how to go about getting these values. I can't imagine this being that difficult, but I don't have any experience working with MySQL than the most basic queries. Any assistance would be greatly appreciated!
  5. I offer business web hosting plans. $69.95/mo for 12,000mb webspace, 250,000mb bandwidth, 99.99% uptime, 24/7 support, My website is currently under reconstruction but you are more than welcome to contact me for my other plans. The server currently only hosts ~30 domains, and 45 websites or so. I do have experience hosting large community sites. Feel free to email me, as PMing is disabled on these forums: bradcis@charter.net.
  6. The parser needs to rip the jpg file from the email and store it on the server somewhere. I am wondering how to get access to the file, so that I can move it to another directory.
  7. If you storing the images in a directory, on image upload, you could get the file size and put that into the MySQL entry
  8. Are the images themselves stored in the database table?
  9. I am making a PHP parser which emails are piped to when sent to a certain email address. I need the parser to rip a jpg file which is attached to the email. What is the best way to do this? Any help is greatly appreciated.
  10. try changing [code] $err ,= "Please fill in your $label" <br>";[/code] to [code] $err .= "Please fill in your $label" <br>";[/code]
  11. When I want a little image/logo to be displayed next to the address bar on my websites, I just create an image and save it as "favicon.ico" (without quotes). Then I upload it to my root-account folder (w/ cpanel it would be public_html/). Perhaps try this? =)
  12. Are you sure you actually have file '15.jpg' in the photo directory (/home/fsuk/public_html/bla/photo/15.jpg)? This could be causing the error.
×
×
  • 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.