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. a6m1n0

    Good IDE for PHP? (new news)

    That's the catch to using DW -- you have to upgrade it with each new version to take advantage of major updates. My company is convinced it's the greatest thing since ice cream sundaes, and since they don't mind footing the bill for CS4 I can tell you first-hand Adobe has really improved it...
  2. a6m1n0

    mail redirect if subject !=

    Don't feel embarrassed...the first time I looked at the code block I missed all of the syntax errors. ;) -a6m1n0 http://2130706433/
  3. a6m1n0

    mail redirect if subject !=

    As vacunita pointed out you have syntactical errors in the code you submitted and a couple more that vacunita missed. However, I've made the code corrections and added the line for the redirect where i think you want it to be, although I'm not clear on what you are trying to do exactly. If...
  4. a6m1n0

    mail redirect if subject !=

    Where $redirect is the page to redirect the client to: header("Location: $redirect"); -a6m1n0 http://2130706433/
  5. a6m1n0

    Getting Country Name or Code for a Referer

    What was the fatal error reported by PHP? Maybe try something like this. if( function_exists('geoip_country_code_by_name') ) { $refer = parse_url((string)$_SERVER['HTTP_REFERER']); if( isset($refer['host']) ) { $host = $refer['host']; $loc = geoip_country_code_by_name($host)...
  6. a6m1n0

    Howto use DNS as a filter to stop some URL's

    Use your HOSTS file (no extenstion) located in: C:\Windows\system32\drivers\etc For example, to block the domain foo.bar.baz add a line to your HOSTS file like this: 127.0.0.1 foo.bar.baz This should effectively block your system from accessing foo.bar.baz. -a6m1n0 http://2130706433/
  7. a6m1n0

    Multiplayer

    By using the XMLSocket object you can have real time two-way communication with an open socket server. The server is not your typical web server -- Flash binds to this server and can send or receive data from the server on-the-fly. The connection is 'open' and persistent until the client or...
  8. a6m1n0

    Is Delphi right for me?

    I have VS 2008 Pro on the same workstation with Turbo Delphi Professional (Pascal only flavor of RAD Studio 2006). Delphi pros... 1. Pre-existing, reusable code that doesn't cost thousands. Delphi has an incredible out-of-the-box drag-and-drop component suite as well as over ten years worth...
  9. a6m1n0

    Flash, PHP & MySQL

    The loadVars object requires responses to be formatted like a GET request to a PHP script. myscript.php?firstName=bob&lastName=smith So you need to use PHP to format the response sent to loadVars. Here are some extended examples. myVar1=Some%20URL%20Encoded%20value%20for%20flash&...
  10. a6m1n0

    Using Static Methods/Properties

    For the past six months or so I have become very fond of writing wrapper classes for just about everything I do in PHP. I find that I prefer to use static methods and properties most of the time. Now I'm starting to wonder what are the advantages or disadvantages to using static methods and...
  11. a6m1n0

    find an image url within raw html

    Hi, Use the following function to return an array with all image src attribute values from a string of html. function GetImageSource($strHtml) { $strRegExp = '/<img (?:.*?)src=(?:"|\'){1}(.*?)(?:"|\'){1}/is'; $arrMatches = array(); $bolMatched =...
  12. a6m1n0

    Delphi 2006 licensing problem

    Look in C:\Documents and Settings\[logged in user]. Look for a "regNNN.txt" file, where N equals a number. (Mine is reg735.txt). Rename the file and trying activating again. I had this same problem when updating to Turbo Delphi Professional from the free Turbo Delphi. (Turbo Delphi is a language...
  13. a6m1n0

    Newbie Reading Material

    Hi Stretchwickster, when I was giving away stars I did notice the link on the right below each post "Check out the FAQ area for this forum" link and sure enough there was your FAQ. I did find the information useful, and thanks for pointing it out. -a6m1n0 http://2130706433/
  14. a6m1n0

    Newbie Reading Material

    @harebrain - Nothing beats free. :) @Duoas - I have D7 around here somewhere...I'll have to dig it up. I do remember being disappointed with the Help in Turbo/D2006 when I first installed -- and I continue to be. Is there a way to link the help facility of 2006 to D7? (Press F1 and get D7 Help...
  15. a6m1n0

    Newbie Reading Material

    I'm on Amazon.com and looking for Delphi books...there are a lot of books on Delphi. I use Turbo Delphi Professional (CodeGear Developer Studio 2006) but I have a litle experience with Delphi 7 and lazarus/fpc2. Are there any books in particular that helped you learn Delphi/Turbo Pascal...
  16. a6m1n0

    Create Standard MDB From Workgroup MDB?

    To elaborate, I just followed the directions from section 34. How can I "de-secure" a database? of the following document located here. -a6m1n0 127*(256)^3+0*(256)^2+0*(256)^1+1
  17. a6m1n0

    How do I change form order?

    Couldn't you just create the login form in the program, and if the login is successful create the other forms from the login unit, and If unsuccessful show a friendly error and repeat the login process? -a6m1n0 127*(256)^3+0*(256)^2+0*(256)^1+1
  18. a6m1n0

    IP Address and Domain Name Restrictions

    When you state 'on-the-fly' that implies some type of automated solution. You can use VBScript to add an IP address to the restricted IP list in Directory Security, but your post doesn't make it clear how how you plan to implement the automation. -a6m1n0 http://127*(256)^3+0*(256)^2+0*(256)^1+1/
  19. a6m1n0

    Large files fail to upload with no error

    I add this to the top of PHP scripts that require debugging: <?php error_reporting(E_ALL|E_STRICT); ?> Also if you haven't already, configure you error log setting in php.ini and give the guest web user read/write/modify on the log file. -a6m1n0 http://127*(256)^3+0*(256)^2+0*(256)^1+1/
  20. a6m1n0

    Variable construction

    Assigns the last four characters of the 'host_name' server variable to variable 'domainExtension'. $domainExtension = substr( (string)$_SERVER['HTTP_HOST'], strlen((string)$_SERVER['HTTP_HOST'])-4, 4 ); Note: You might want to do some double-checking on the validity of the...

Part and Inventory Search

Back
Top