Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by section31

  1. I was messing with the php imap functions just for fun today..and i was wondering if there was a way to access the attachments on the emails. I didn't see a function that was capabable of doing this. Does anyone know of one? Also, whats the most efficient way to list all emails in the inbox... imap_headers works fine but not sure if that was the most efficient. You know, w/o downloading the message...just the subject and from headers. Thanks for any help, Dave
  2. hehe...thanks for the clarification guys... I made a TinyURL.com substitute and that copy to clipboard feature would be great. http://imgo.us/
  3. Hi, is there any way to have certain text copy to the clients clipboard if they have mozilla browsers. This command "execCommand("Copy")" only works for IE browsers. I did a google search and didn't come up with anything that could help me. Anyone have any ideas?
  4. well i'm using php's word wrap to put a space every 20 characters. I can't believe IE is so dumb not to do a line break. On mozilla it works fine. Using breaks works fine but doesn't look nice. And as far as parsing the url, I could do that with a regular expression, but I didn't want to. Any other suggestions.
  5. Hi, I have this huge problem I've encountered with IE. Although I don't use IE, I design my sites for both IE and Mozilla browsers. So, here is my problem. I have a table with 3 columns 15%,70%,15%. On the first column, IE isn't wrapping the text correctly. Its expanding the column like 5-10% before breaking the text. I'm looking at it on both Mozilla Firefox and IE and IE is the only one that has the problem. Can anyone figure out how I can fix this....Thanks. http://imgod.us/temp/iecrap.html Notice I have this url in the first column and I have a space inside that url to assure the line breaks.
  6. interesting.... I was too lazy to try that out... I just did now and you are absolutely correct.. That means all my existing id's i'm currently using can be anchors...holy crap Thanks for the tip..
  7. http://www.w3schools.com/tags/tag_a.asp if you scroll down you see this description under the <a "name"> attribute. In future versions of XHTML the name attribute will be replaced by the id attribute!! I use those anchors just like these forums do to point to a particular section of the site. ex. <a name="#thread31"> The above says it will be replaced by the id attribute, how would i got about using the id attribute to do the same...I thought the id attribute was use like classes on CSS.
  8. thanks...I ended up using the max funciton u stated above.... Thanks anyway.
  9. straight from the source... http://www.vincentyodis.com/inc/popBox.js
  10. ok...this is is just an example of what I need...don't ask why i would need such a thing b/c its for some script i'm writing for fun... a very simple mysql table... TABLE urls ->FIELD1 INT "id" this is set to primary and autoincrement ->FIELD2 VARCHAR "urls" what would be the most efficient way to find the next (id) integer in line to be pushed onto the database. Is there an easy way around this w/o doing a major query to the database. Trying to find the next Cardinality of that key. Remember: the ID is set to autoincrement so it would just be a query to find the max id on that table and just increment.. thanks, Dave
  11. thanks...i saw this guy on the kieth olbermann show....great stuff.
  12. You are like the 10th person to compliment me on my avatar... Thanks...hehe
  13. hm...so you email this... what does this script do. /cgi-bin/submission/xxxxxx.cgi not sure why you use \n in your echo if that just a linebreak for php...doesn't really do anything to the html output...You should be using a "<br />". NOt sure what you mean about when you email.... you may need to set the email to html...or you could just strip the breaks...not sure..need to know more.
  14. interesting... I hadn't tried just using [A-Z] rather than [a-z]... You would never guess what happened. I get this error on my apache log file. RewriteRule: cannot compile regular expression '^([a-z]+)' Yet it goes perfectly through ^([A-Z]+) why the hell is it having problems with a lowercase list. Any ideas...
  15. rofl...gotta love these people that pull off these good ebay pranks.
  16. Well..yeah that wouldn't be good...but the problem still remains.
  17. hm...yeah thats possible..but I never do that so i couldn't tell you.. but i always have mutliple forms on my sctipts with no problems...could u private message me the url...or u can get on aim and get it to me...my user is sectiond31.
  18. hm...well i knwo its something nitpicky...how about form names..u are using different ones right? cause if you isolate that form...it works fine.
  19. UPDATE: I got it working with the following... >RewriteEngine on RewriteRule ^([0-9]+) /in.php?link=$1 but every time I change the regular expression it goes all down the crapper...don't know why. I tried these and none work...only the [0-9] (.+) (.*) ([A-Za-z0-9]+) ([a-z0-9]+) HELP???
  20. Hm...you lost me at Hi... for the problem above..make sure you have different submit names. <input type=submit name=submit value="Complete"> change to <input type="submit" name="submitwhatever" value="complete"> and if you of course if u want to manipulate any of those post variable... Check to see if form was submitted like so, if (isset($_POST['submitwhatever'])) or something similar. If that doesn't help...sorry
  21. http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html http://www.engelschall.com/pw/apache/rewriteguide/ After reading through these...I still can't get this darn simple mod rewrite rule to work. Can anyone help. Trying to have this... ex. www.****/123 redirect to www.****/in.php?link=123 This is what I have, Am I even close? >RewriteEngine on RewriteRule ^/(.*) /in.php?link=$1 [R] Thanks for your time, Dave
  22. Interesting..I wrote my own download script for my site a long time ago (1 year ago) but i'm using just the header php function. That is the only one I actually understand. I see you people using the readfile and fopen function...I read up on them on php.net and I don't quite understand how they open files across domains. Says something about a url wrapper and I'm unclear on what that is. Does anyone know what the wrappers do exactly, it seems both fopen and readfile use them. Does this read them through the server and then send them to the client...if that is the case, i'll stick to a header redirection so it won't waste unnecessary resources. Thanks for any help, Dave
  23. I did a quick test and i believe its working better now.
  24. interesting...my first guess was that you logged off iimproperly...so i tested it out myself...and I believe you are right...something is wrong...more than likely probably yahoo...but we'll let bill answer that.
  • Create New...