Jump to content

spikeon

Members
  • Posts

    123
  • Joined

  • Last visited

    Never

About spikeon

  • Birthday 06/03/1988

Contact Methods

  • Website URL
    http://www.spikeoninc.com

Profile Information

  • Gender
    Male
  • Location
    Anchorage, Alaska

spikeon's Achievements

Member

Member (2/5)

0

Reputation

  1. I am writing a code that will read a public database to gather information i have hit a snag where there can be more than one result for a specific type The Result could be: <tr><td class="TextResultsRowHeader">Set/Rarity:</td><td class="TextResultsRowValue">Morningtide Common</td></tr> Or: <tr><td class="TextResultsRowHeader">Set/Rarity:</td><td class="TextResultsRowValue">Morningtide Common, Ninth Edition Common, Onslaught Common</td></tr> Or many other variations, with up to 7 different sets and raritys. i want to seperate all of the sets from this list here is my regex: ereg(".*<tr><td class..TextResultsRowHeader.>Set/Rarity:</td><td class..TextResultsRowValue.>([a-zA-Z ]{1,30}) [a-zA-Z]{1,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}</td></tr>.*",$str, $matches); however, it dosen't seem to work. Help Please!!!
  2. I am writing a code that will read a public database to gather information i have hit a snag where there can be more than one result for a specific type The Result could be: <tr><td class="TextResultsRowHeader">Set/Rarity:</td><td class="TextResultsRowValue">Morningtide Common</td></tr> Or: <tr><td class="TextResultsRowHeader">Set/Rarity:</td><td class="TextResultsRowValue">Morningtide Common, Ninth Edition Common, Onslaught Common</td></tr> Or many other variations, with up to 7 different sets and raritys. i want to seperate all of the sets from this list here is my regex: ereg(".*<tr><td class..TextResultsRowHeader.>Set/Rarity:</td><td class..TextResultsRowValue.>([a-zA-Z ]{1,30}) [a-zA-Z]{1,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}[,]{0,1}([a-zA-Z ]{0,30}) [a-zA-Z]{0,10}</td></tr>.*",$str, $matches); however, it dosen't seem to work. Help Please!!!
  3. well, now that i know that html still exists, and wasn't REPLACED by xhtml, i changed the site to fix, and at least the front page validates the rest of them don't because i use coded-in GET commands, and since it has a & in it, it thinks its gotta be a that it can't recognise....
  4. ok, well, that should be fixed, at least for edit site. do you know of a way to turn off register_globals? because i had variable $id, and $_SESSION[id] and when i set variable $id it changed $_SESSION[id]
  5. please try to USE the form to edit a site before telling me that you can do something. sure you can see the form, but will it SUBMIT?
  6. how are you doing so? just leaving the password feild blank won't work, theres nothing in my mysql like a duplicate username, where did you get my password?
  7. well, the thing is that i'd post a site here, and then people would validate it, and get 500 errors because it presumes its XHTML
  8. i fixed it so that the cookie also check passwords
  9. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> noone informed me of that...ever...
  10. look, link me to a HTML validator, and i'll use it, i haven't found one XHTML validators plain old piss me off, because i code,. HTML
  11. no... your signed in as me... i'm not entirely sure how that happened...
  12. i fixed the login / register errors i use phpthumb for resizing only, so full path disclosure is fine by me upload.php took forever for test.com to load, try a site that you know better, like phpfreaks, or something.
  13. lol, cuz the last guy registered with one.
×
×
  • 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.