Jump to content

OM2

Members
  • Posts

    255
  • Joined

  • Last visited

Everything posted by OM2

  1. that didn't quite work - my guess was that it would do i found the solution anyway - there's an option where u can choose to 'not us' regular expressions - i can now search for strings that have $ in thanks for the reply - much appreciated
  2. OK... so this isn't actually a PHP coding answer But... I'm guessing the answer that works for PHP, will work for my purpose Sometimes, I need to search for text containing special characters In this instance, I'm trying to use Wingrep to search for all files that contains '$myVariable' Is there a standard way of escaping the meaning of $? Thanks in advance OM
  3. hey: that's a great article i have a good understanding now and can see the benefits of using it's really annoying creating a damn string and continually concatinating to i've book marked the site as well - its got a lot of useful articles thanks!
  4. interesting comments i've started by going through a few videos teaching OOP - that was good because it also showed some of the tools you should use then i've been though a video going through a basic shopping cart i've also got the oreailly php/javascript/mysql book - i'm planning to read this thoroughly - should take that long as i don't need to learn basics like operators and other simple things would u say, i should start looking into the frameworks as well? thanks
  5. PDT = PHP Development Tools? I haven't seen the term used elsewhere (Then again, I wouldn't call myself a super expert yet) thanks
  6. thanks that's really helpful i was going through some code a freelancer coded for me and they used ob_start() i looked up on php.net, but couldn't get my head round what it was supposed to do and why one might use it?
  7. OK, so there are quite a few packages out there Magento, Prestashop, Opencart, OSCommerce But... I wanted some opinions on which was the 'easiest': - to get your head round and figure how things work! - to adapt and change - from simple things like themes to functionality ALSO: - which is fastest? I love Wordpress, but someone told me it's big fat elephant when running PHP code because of all the extras that come lumbered with it Dumb question: if I'm trying to learn PHP, would it be advisable to try and work out how one of these system works entirely? I mean literally go through every single file! There could be 1000's! But I would have assumed there would only be 20 - 30 files that we relevant to the main core? Or is that just a big bad idea? Just looking for pointers/opinions Thanks OM
  8. eclipse is free? i've heard it mentioned plenty of other places before downloading now i'm on a mission to become a competent php coder - so trying out the different packages is great for me also, PDT stands for what? i didn't want to ask such a dumb question, so i googled and all i got was: Pacific Daylight Time it must mean something else obviously!
  9. netbeans = free komodo = expensive, you have to pay money! netbeans = not as good because it's free! komodo = much much better because it's commercial? is the above correct? if better how much better? (not sure how one can quantify that!) been to the activestate website. i must have spent 5 min looking around for the price. i'm sure it's there somewhere can u tell me how much? i couldn't find myself thanks
  10. thorpe, that's awesome it's not shift, it's ctrl OMG, this is more awesome than i thought! one thing that i always stumble on is functions that are php functions when u ctrl click a php function, it opens up the php file where it was declared! yee ha! thanks!! :)
  11. yes being called by flash file forgetting flash for a second, if an echo is done, will it ALWAYS output to the browser? thanks
  12. sorry for being dumb, i've only just scan read - but i don't see how this helps? thanks great. just googled and tried finding a download does it still exist? i saw the following:
  13. Maybe, I'm doing something wrong Are you saying that if I echo ANYWHERE, as long as that part of code is run, and echo will ALWAYS output to the screen? Are there no circumstances where this won't be true? I have a Flash file that uploads files and then runs a php script In this php script, I have put echo statements next to code that I know 100% it runs - but I get no output Am I doing something wrong? Thanks
  14. If I have a file that is full of functions that do 'things', I assume if I wanted to debug or test that it would necessarily work if I try to echo from inside of a function? In that case, what do I do if I want to test or debug? The only thing I can think of is creating a file and writing to it But is this the only way Could I write to a log file - without going to the bother of opening and closing a file or something? Thanks OM
  15. I'm not sure if this is a dumb question... but I thought I'd ask anyway!! How do I read code? OK, so let's say you have index.php, which requires a.php, b.php and c.php, which in turn require more files x.php, y.php, z.php etc When I read some code and come across a function being called, I wanted to know what that function does and how it's supposed to work If there is a function call in index.php called strangeWeirdFunction() and is passed a multitude of parameters, I'm left scratching my head trying to think what it might be there to do I find myself having to wingrep to find other files that reference the file All of this wastes loads of time Or maybe my approach is wrong? I thought an IDE like Netbeans would help in some way - I thought when I highlighted a function, it might give me links to where it was declared - unfortunately, this doesn't happen! Writing code from scratch + reading small amounts of code - I'm OK doing But, when it comes to a large project, I find it really daunting and always get lost in the spaghetti of code Just looking for general advice Thanks OM
  16. I'm pulling my sleeves up and am on a mission to become a PHP master! Just wanted to know: should I learn to type? Would that help me code faster? YES: I know that the speed isn't everything - and that one's brain is far more important! But... you still need to repetitively type things over and over again - IDE helps, but you still have to do a lot of typing I'm a mean two finger typer! But would typing properly help me code faster? Thanks! OM
  17. I'd like some links to recommended tutorials on developing shopping carts in PHP I've done a search on google - plenty of results come up I wanted a few recommended links from tried and tested sources + Something that was fairly upto date that used Ajax would be great Thanks OM
  18. i was hoping u would tell me there was nothing to worry about! the code i purchased today is not very widely sold - it's not that popular it's just a script for a wordpress plugin - it makes it easy to populate data for another plugin i could have spent a few hours coding myself the same functionality (i'm still just a newbie to php!) i could have hired a freelancer to code for me - maybe would have cost $50 else: i could just spend $30 and buy the code - this is what i did 99.9% of the time, it's always plain php code - everything to read and go through - referring to wordpress plugins (in my experience) no idea why the developer chose to encrypt i researched a little and i read that u could encrypt so that it was 'almost' impossible to decipher i also read a few post replies from people saying it was rubbish that u couldn't decipher - difficult yes, but not exactly impossible if i was a bit more competent at coding php (or other backend code) i could think up of many many ways in which malicious code could be hidden away all very worrying and concerning!
  19. really interesting comments i have no reason to believe that the code is malicious in anyway i think it's reasonable to allow the script to call home just to check on validity etc the problem is how much of my server resources are being used in windows, every program thinks it's hogging just a small piece of resource that won't effect performance - problem is when u get 200 programs with the same idea similarly, allowing scripts to run by themselves freely could have serious implications on my server but what if, what if code was malicious and was using the server to send out spam? use some intelligence and make it only send out small amounts of spam + do this randomly a dangerous situation i would say yes, all valid concerns and good points
  20. I've purchased a plugin for Wordpress (outside of Wordpress, you can't download from the main Wordpress site) A lot of the code is encrypted OK, no problem if the user wants to hide his code - no problem with that BUT, what I don't want is for it to call home - and report back + If encrypted, it could b doing ANYTHING! Like sending spam! How can you control php code from calling home? On a PC you have a Firewall - does something like this exist for servers as well? ALSO, how do I find out what the code was encrypted with? I assume there are several apps that do this? Thanks OM
  21. I'm just about to pull up my sleeves and start learning coding in PHP properly Just wanted some advice on what I should be using to code? Plenty of search results for 'PHP editor' or should I be searching for 'PHP IDE'? I've heard about PHP Designer and PHP Eclipse Should I just stick with Notepad++? Or use Dreamweaver because it gives some shortcuts? (I don't know if it does give shortcuts!) Thanks OM
  22. THANK YOU! i'm not an email expert i'm not a server expert but some of the fact of my case clearly point to JUST one thing
  23. thanks for taking the time to write the replies - really appreciated i've read all ur replies, but things still just don't add up for me - current server - problems - email not being received by google and yahoo + others i would assume (is being received by bt.com email addresses) - old server which hosted the domain 7 days ago - everything fine both the above cases, the script is sending mail from the SAME domain that are sending - i have taken the script to another hosting company - that doesn't host the domain - it can send emails fine - the emails are from the original domain that it does not host this is the bit i don't get and think its something to do with the new server: the moment the move is made, the email problems start
×
×
  • 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.