Jump to content

sKunKbad

Members
  • Posts

    1,832
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by sKunKbad

  1. I agree that since shipping is mostly based on weight and distance, we can probably forget about the dimensions. After sitting and trying to figure out a solution, the best I could come up with was to base it on a cubic dimension equivalent, and make an educated guess... Putting this aside, something a little more important to figure out is if somebody orders enough items to go over the weight limit for UPS, which I think is 80 pounds. Oh the joys of building an ecommerce application!
  2. I tried searching around for "shipping", "package", and "dimensions" but couldn't find the thread/post you are referring to.
  3. I'm making my own ecommerce application, and have integrated a function to get shipping rates from UPS. This function has a few parameters, of which include a package height, width, and length. It would be moderately easy to calculate size if all products were the same size, but that is almost never the case. So, I'm wondering how other sites handle this. My initial though was to include a field in the product database for cubic size, but this wouldn't work because some products/packages which are quite long would have an extra fee. Actually, the price of shipping is more based on weight for average sized packages, so I may be able to set the parameters to match a "standard" size package. Any advice?
  4. I don't get it. Crons are supposed to be run by the server. There shouldn't be a user associated with the cron running.
  5. I'm kind of dealing with the same thing right now. I'm actually being sub-contracted, and there aren't very many restrictions. I made the decision to use CodeIgniter, create my own cart, and create my own checkout. Often times these open source carts have way too many features that people don't need. You can either spend time ripping them out, or just create what you need from scratch. Another bonus is that you won't be effected by the latest exploit, since you're not using something that is part of a big target.
  6. If you need a background image, why don't you just use CSS? With Firefox and the developer toolbar, you can easily see which div to apply the background image to. You could apply the background image in an external stylesheet, internal, in-line, or even use javascript.
  7. Instead of banning everyone but yourself (or a group of IPs), you should try to ban the individual IP or IP block. If this was a one time event, then it might not happen again. For now, just look through your server logs and you are sure to find out who did what.
  8. The cookie holds data on the client, and that data is included in the header of each request. If the script that the client requests can use the data in the cookie it will. Session cookies work differently. The data of a session cookie is actually held on the server, and the client receives a special cookie that has a unique value, sort of like a key, that allows the data on the server to be used. I don't believe there is a performance impact for simple cookie usage.
  9. I learned PHP OOP from Larry Ullman's PHP5 Advanced book, but didn't really understand using it until working with it on a regular basis. I too was disgusted with the pet examples. PHP OOP is amazingly easy to work with when you finally understand. You ought to look at one or two of the popular php frameworks and see how they are handling the tasks of building, validating, and populating forms.
  10. How about: echo '<input type="hidden" value="' . $_GET['title'] . '" name="title" />';
  11. It looks like all it is doing is changing the value of the salt key
  12. what version of php are you running? You have a lot of errors you should fix. That's probably why the table isn't formatted the way you want: line 3 - Error: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>" line 73 column 4 - Error: end tag for "DIV" omitted, but its declaration does not permit this line 68 column 16 - Info: start tag was here line 73 column 10 - Error: end tag for element "DIV" which is not open line 74 column 13 - Error: an attribute specification must start with a name or name token line 79 column 4 - Error: end tag for "DIV" omitted, but its declaration does not permit this line 74 column 15 - Info: start tag was here line 83 column 9 - Error: end tag for "SPAN" omitted, but its declaration does not permit this line 81 - Info: start tag was here line 84 column 6 - Error: end tag for element "SPAN" which is not open line 89 column 9 - Error: end tag for "SPAN" omitted, but its declaration does not permit this line 87 - Info: start tag was here line 90 column 6 - Error: end tag for element "SPAN" which is not open line 93 column 3 - Error: document type does not allow element "BR" here line 97 column 20 - Error: document type does not allow element "SPAN" here line 97 column 40 - Error: document type does not allow element "DIV" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag line 98 column 5 - Error: document type does not allow element "TR" here line 101 column 99 - Error: document type does not allow element "TR" here line 104 column 48 - Error: document type does not allow element "TR" here line 107 column 93 - Error: document type does not allow element "TR" here line 110 column 48 - Error: document type does not allow element "TR" here line 113 column 100 - Error: document type does not allow element "TR" here line 116 column 48 - Error: document type does not allow element "TR" here line 119 column 52 - Error: document type does not allow element "TR" here line 122 column 107 - Error: document type does not allow element "TR" here line 125 column 48 - Error: document type does not allow element "TR" here line 128 column 105 - Warning: cannot generate system identifier for general entity "VD" line 128 column 105 - Error: general entity "VD" not defined and no default entity line 128 column 107 - Error: reference to entity "VD" for which no system identifier could be generated line 128 column 104 - Info: entity was defined here line 128 column 148 - Error: document type does not allow element "TR" here line 131 column 48 - Error: document type does not allow element "TR" here line 134 column 95 - Error: document type does not allow element "TR" here line 137 column 48 - Error: document type does not allow element "TR" here line 140 column 52 - Error: document type does not allow element "TR" here line 143 column 48 - Error: document type does not allow element "TR" here line 146 column 105 - Error: document type does not allow element "TR" here line 149 column 52 - Error: document type does not allow element "TR" here line 152 column 48 - Error: document type does not allow element "TR" here line 155 column 96 - Error: document type does not allow element "TR" here line 158 column 52 - Error: document type does not allow element "TR" here line 161 column 48 - Error: document type does not allow element "TR" here line 164 column 105 - Error: document type does not allow element "TR" here line 167 column 52 - Error: document type does not allow element "TR" here line 170 column 49 - Error: document type does not allow element "TR" here line 173 column 101 - Error: document type does not allow element "TR" here line 176 column 52 - Error: document type does not allow element "TR" here line 179 column 99 - Error: document type does not allow element "TR" here line 182 column 52 - Error: document type does not allow element "TR" here line 185 column 105 - Error: document type does not allow element "TR" here line 188 column 52 - Error: document type does not allow element "TR" here line 191 column 94 - Error: document type does not allow element "TR" here line 194 column 52 - Error: document type does not allow element "TR" here line 197 column 50 - Error: document type does not allow element "TR" here line 200 column 52 - Error: document type does not allow element "TR" here line 203 column 50 - Error: document type does not allow element "TR" here line 206 column 52 - Error: document type does not allow element "TR" here line 209 column 50 - Error: document type does not allow element "TR" here line 212 column 101 - Error: document type does not allow element "TR" here line 215 column 50 - Error: document type does not allow element "TR" here line 218 column 52 - Error: document type does not allow element "TR" here line 221 column 48 - Error: document type does not allow element "TR" here line 224 column 52 - Error: document type does not allow element "TR" here line 227 column 50 - Error: document type does not allow element "TR" here line 230 column 52 - Error: document type does not allow element "TR" here line 233 column 50 - Error: document type does not allow element "TR" here line 236 column 52 - Error: document type does not allow element "TR" here line 239 column 48 - Error: document type does not allow element "TR" here line 242 column 52 - Error: document type does not allow element "TR" here line 245 column 48 - Error: document type does not allow element "TR" here line 248 column 52 - Error: document type does not allow element "TR" here line 251 column 48 - Error: document type does not allow element "TR" here line 254 column 96 - Error: document type does not allow element "TR" here line 257 column 48 - Error: document type does not allow element "TR" here line 260 column 52 - Error: document type does not allow element "TR" here line 263 column 48 - Error: document type does not allow element "TR" here line 266 column 52 - Error: document type does not allow element "TR" here line 269 column 48 - Error: document type does not allow element "TR" here line 272 column 52 - Error: document type does not allow element "TR" here line 275 column 59 - Error: document type does not allow element "TR" here line 278 column 52 - Error: document type does not allow element "TR" here line 281 column 59 - Error: document type does not allow element "TR" here line 284 column 52 - Error: document type does not allow element "TR" here line 287 column 59 - Error: document type does not allow element "TR" here line 290 column 100 - Error: document type does not allow element "TR" here line 293 column 59 - Error: document type does not allow element "TR" here line 296 column 52 - Error: document type does not allow element "TR" here line 299 column 59 - Error: document type does not allow element "TR" here line 302 column 91 - Error: document type does not allow element "TR" here line 305 column 59 - Error: document type does not allow element "TR" here line 308 column 99 - Error: document type does not allow element "TR" here line 311 column 59 - Error: document type does not allow element "TR" here line 314 column 97 - Error: document type does not allow element "TR" here line 317 column 59 - Error: document type does not allow element "TR" here line 320 column 101 - Error: document type does not allow element "TR" here line 323 column 59 - Error: document type does not allow element "TR" here line 326 column 52 - Error: document type does not allow element "TR" here line 329 column 59 - Error: document type does not allow element "TR" here line 332 column 91 - Error: document type does not allow element "TR" here line 335 column 59 - Error: document type does not allow element "TR" here line 338 column 105 - Error: document type does not allow element "TR" here line 341 column 59 - Error: document type does not allow element "TR" here line 344 column 92 - Error: document type does not allow element "TR" here line 347 column 59 - Error: document type does not allow element "TR" here line 350 column 104 - Error: document type does not allow element "TR" here line 354 column 7 - Error: end tag for "DIV" omitted, but its declaration does not permit this line 97 column 21 - Info: start tag was here line 354 column 7 - Error: end tag for "SPAN" omitted, but its declaration does not permit this line 97 - Info: start tag was here line 355 column 3 - Error: end tag for element "P" which is not open line 356 column 5 - Error: end tag for element "DIV" which is not open line 362 column 143 - Error: required attribute "ALT" not specified line 362 column 255 - Error: required attribute "ALT" not specified line 368 column 166 - Error: required attribute "ALT" not specified line 369 column 165 - Error: required attribute "ALT" not specified line 370 column 167 - Error: required attribute "ALT" not specified line 371 column 143 - Error: required attribute "ALT" not specified line 372 column 165 - Error: required attribute "ALT" not specified line 373 column 7 - Error: end tag for element "DIV" which is not open
  13. if you are using php5, you can use simpleXML, and "extracting" the text should be fairly simple.
  14. Zend has a bad reputation for being slow. Sorry to hear you have done so much work already. I'd guess that you have more experience than most people who come here, so the chances of a miracle/answer are very low at best.
  15. I like the colors, and if it is just for a client, I wouldn't worry about it. It's better designed than most websites out there.
  16. I think your project needs to better explain how to use it. The form is not very intuitive.
  17. Sounds like you should look into jQuery or Prototype. Showing/Hiding divs is super basic with these javascript frameworks.
  18. Do you actually have a column/field in your table named e_mail?
  19. I use statcounter.com, and insert their little javascript in files I want to track site visitors on. I like it better than Google's analytics, and it sounds like you might too.
  20. Check and try changing the default character set in your php.ini default_charset = "UTF-8"
  21. The site is OK, but has sort of plain/generic feel. Because I don't use Twitter, my opinion is based purely on design, and I'd probably browse around css design template sites to get some inspiration, and make the design more inviting. Also, it doesn't seem like you have enough content for that width, and realistically all of your menu pages could fit on a single page.
  22. PHP Freaks is good for me. I like high traffic forums because my questions are more likely to be answered, and the likelihood that I can help others is greater. I also like Sitepoint and CodeIgniter forums. Your forum is pretty plain looking. I'd like to see where it is going in 6 to 12 months.
  23. Much better for me
  24. They can go anywhere they want. The 404 page has all of the normal menus of the site. It also has a link for them if they don't want to wait for the redirect.
×
×
  • 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.