Jump to content

akitchin

Staff Alumni
  • Posts

    2,515
  • Joined

  • Last visited

    Never

Posts posted by akitchin

  1. on the windows platform, the extensions are often in the:

     

    C:\Path\To\PHP\ext

     

    directory. you'll want to check that the selected extensions' .dll files are in there. another resource that might help you look for where they should be is the phpinfo function, which will tell you what include paths are enabled.

  2. we'll need more information than that. an undefined index in itself will not lead to the failure of your script - notices from PHP are simply errors pointing out poor coding practices, rather than any sort of fatal or halting error.

     

    what happens when you submit the form? how is it "not working?"

  3. agreed - your best bet is to continue down your path (depending on how much time you have left in the degree) so that you have a very transferable qualification. a simple certification is often far less transferable and usually too focused to yield any major long-term competencies.

     

    web programming is something that is notoriously difficult to certify, and often your portfolio and knowledge are most considered when finding work. having a degree to back you up is a serious leg up, and the portfolio and knowledge are both things you can develop concurrently, without having to drop everything and pursue it full-time in a several-year program.

  4. you won't need a paypal IPN button/script for every download product, presuming you want to go the credits route. presumably, purchasing credits is separate from actually using those credits for a download. in this case, you need only one form/button that will communicate with paypal, which is to "Buy Credits." spending those credits doesn't need to be at all linked with paypal, as the exchange of credits for a download is entirely at your site's discretion - the user has already paid for the credits.

     

    perhaps i'm misunderstanding your plan for using credits - if you want to use paypal for every document, why incorporate credits at all, rather than simply selling the documents directly for cash?

     

    as for pre-made solutions, there are open-source shopping carts available out there that interface with a variety of merchant processors. i haven't used any personally (apart from the old version of osCommerce), but a quick google for "php open source shopping carts" might be helpful.

  5. my guess would be that this query:

     

    select * from user where ActivationKey=$queryString

     

    isn't returning what you think it is. you should format it with delimiters around the query string:

     

    select * from user where ActivationKey='$queryString'

     

    and see where that gets you. also, have you checked that $_SERVER['QUERY_STRING'] contains what you think it does? the if-else structure was okay the first time, so uncomment those lines again.

  6. there are several aspects to your question, and it's tough to narrow down which part(s) you're having the most trouble with. do you know PHP, and do you program regularly, or are you looking for a pre-made solution?

     

    if you're using a third-party merchant processor for the credit cards, they often have a method for interfacing with your website to perform an action once the purchase is made. with paypal, it's called IPN - not too sure about other processors.

     

    consider the purchase of credits and the exchange of credits for downloads as separate actions. this ensures that your merchant processor is only implicated in the purchase of credits, and the actual usage of credits is isolated to your own website. dealing with a refund/return policy for documents can be tricky (for example, what if the download "doesn't work?"), but provided it's solely related to the user's credits, it keeps arguments about credits a little bit removed from real money as long as the purchasing of credits is flawless. be sure to remind users that the purchase of credits is non-refundable if this is the route you go.

     

    not sure if this helped, just some general thoughts.

  7. travesty! but seriously, you might consider asking your members what they'd like? it's a bit silly to sit around thinking about features they'd want - if you have to think about it that hard, they are likely neither in high demand, nor very useful.

  8. first, if you're going to post code in these forums (ESPECIALLY if you're going to post that much code) please use code tags. note that i've edited your post to put them in.

     

    second, you may consider removing your database connection credentials from future posts. one thing that might help with this is to actually look at your code and choose smaller chunks to post, rather than just copying/pasting the whole file. it's not very helpful to simply dump your code and say "something's wrong, fix it." what have you tried so far?

     

    you're lucky that rayth has offered a suggestion here - we generally need more information if we're going to help you.

  9. Got CODMW2 for XBOX360 today. Pissed off at getting wasted on the multiplayer games all the time. Some people must play this for hours on end to be that good, or im just really bad.

     

    it does take a little while, but once you start earning some of the weapon and kill/deathstreak upgrades and getting familiar with the weapons, it gets better. by a little bit. i still get my ass kicked regularly.

  10. Thats pretty much the problem right there, there too cheap. Custom software is not cheap. Looking at scriptlance I cant belive that there is people there quoting things like 20 days delivery for $1,000. There out of their minds, or the software they will deliver is going to be  garbage, and  if you live in the western countries $1,000 might not pay your rent, and 20 days is pretty much almost a whole month shot to hell for $1,000. You'll be a programmer in poverty.

     

    have you considered that they aren't working 8 hours a day on that project during those 20 days? i would habitually give a delivery date based on roughly 15hrs/wk on the project simply because i had several concurrent ones. i agree most clients are cheap, but it entirely depends on the client, and therein lies my earlier point: freelancing becomes viable and arguably enjoyable once you find a few good clients. it may take a while, but you can't cast the entire freelancing market in a bad light because there are some retard clients out there.

     

    as for the indecision, it grinds me when a client expects you not only to create a website for them, but generate the content too. it makes me wonder why they wanted a website in the first place if they had no idea what they wanted to say with it.

  11. That is why I turned voice Off, seriously, only place i'd want it on is in WAW with Nazi Zombies. (Can't wait for next mappack!!!)

     

    wait.. by "next" do you mean to imply there already is a map pack available for it?

×
×
  • 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.