Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. EvilAsh

    Back Up Prior To Reinstall

    Hi all. I am preparing to install a new test server on my Windows XP machine using XAMPP, to upgrade from the very old PHPTRIAD version I put on years ago. I have copied HTDocs to an external hard drive but was wondering if there is a way I could transfer the 40-50 databases I have in MYSQL...
  2. EvilAsh

    Parse error - unexpected T_STRING

    Fixed it!!! After much hair pulling etc I discovered that the server was parsing the comments and also (seemingly) the whitespace! I believe that the text editor I was using was the culprit as I simply opened the file in Dreamweaver, saved it and reuploaded it to the server. Voila! Works...
  3. EvilAsh

    Parse error - unexpected T_STRING

    Thanks elck I have tried the amended code but with no change to teh outcome :( To amend what I said earlier, the development environment is PHP 4.1.1 and live is 4.4.7 so should they not be (nearly) the same?
  4. EvilAsh

    Parse error - unexpected T_STRING

    Thanks for the reply. Having stayed up all night, testing the class object and the "parent" file, line by line, I uploaded a simple class file: <?php class SimpleClass { test $var = 'a default value'; } ?> To my suprise, when I called the file direct from the server, the same error...
  5. EvilAsh

    Parse error - unexpected T_STRING

    Please help me! I have migrated a shopping cart script from my test environment (PHP 4) to a live server (PHP 5). When I open the site I get the following message: Parse error: syntax error, unexpected T_STRING in /home/xxx/public_html/test/shoppingcart.php on line 1 Now I have been...
  6. EvilAsh

    PHP mail header insertion countermeasures

    Thanks Don. I have put in a function to combat that now.
  7. EvilAsh

    Mail Script - Security Issues?

    Hi All, My hosting company has disabled this mail script following a spamming issue (a third party spamming, not me!!) As it is php I thought it would be reasonably secure, but could anybody guide me on any obvious "holes"? Thanks. <?php $my_email = "(email address) "; $email =...
  8. EvilAsh

    What Is This Font

    I had never heard of that site before. So many of my clients use obscure fonts, I spend hours trawling thru Google trying to match them. You have saved me so much time, I may take the rest of the day off ;) Thanks again.
  9. EvilAsh

    What Is This Font

    Thanks, you are a superstar!!
  10. EvilAsh

    What Is This Font

    Hi all. Does anybody recognise this font? I have looked all over & cannot find it anywhere. Thanks.
  11. EvilAsh

    Adding Commas In an array

    This may be a bit of a no-brainer so my apologies in advance :) I am trying to separate the items in a array with commas. Straight forward enough, except I am trying make it not have a comma on the last item. To clarify, I am trying to do this: item, item, item but am getting item, item...
  12. EvilAsh

    The Great Escape (character)

    It works a treat. Many, many thanks!!
  13. EvilAsh

    The Great Escape (character)

    Thank you, that works fine in dev - I will test it in production tomorrow. You may have saved me a heap of work! One question though, whats is <<< EOS? Is it Perl?
  14. EvilAsh

    The Great Escape (character)

    Thanks for the response I have tried mysql_escape_string, but again it adds slashes to the DB entry which means I have to add a striplashes command when displaying the data. I was kinda hoping there was a simple way around it pre insert to the database. PHPmyadmin seems to have overcome the...
  15. EvilAsh

    The Great Escape (character)

    Please can anyone help me? I have been pulling out what is left of my hair for two days on this! I have built a cms for a website that allows the client to add new journal entries using php/mysql. It worked absolutely fine in my test environment (PHP4.1.1) however, as soon as I put it into...
  16. EvilAsh

    Hit Counter Recommendation

    Hi all. A client wants a bells and whistles hit/stat counter attached to his site. I usually use the statcounter.com freebie but he wants a more sophisticated product (and is willing to pay!!) Any recommendations? Thanks.
  17. EvilAsh

    %20 in Url String - Good, Bad or just Ugly?

    Topic duly moved. It kinda crossed a few disciplines so I picked PHP as a starting point!
  18. EvilAsh

    %20 in Url String - Good, Bad or just Ugly?

    This question may prove to be threefold, so please bear with me! Recently I have recoded my sites to include keywords in the url string as opposed to product id, i.e. product.php?id=1234 becomes product.php?product=shoes The problem (if indeed it is a problem)is where there is more than one...
  19. EvilAsh

    %20 in Url String - Good, Bad or just Ugly?

    This question may prove to be threefold, so please bear with me! Recently I have recoded my sites to include keywords in the url string as opposed to product id, i.e. product.php?id=1234 becomes product.php?product=shoes The problem (if indeed it is a problem)is where there is more than one...
  20. EvilAsh

    Grrrr! Mod_flippin_rewrite!!!

    Ok, it seems so easy in principle! I am trying to use mod_rewrite on my test machine - Windows XP, running Apache 1.3.23, PHP 4.1.1, MYSQL 3.23.27. I have follwed a tutorial I found on the net but instead of getting the desired results I get a 400 Bad Request page. The idea is that I request...

Part and Inventory Search

Back
Top