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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by GregArtemides

  1. GregArtemides

    help with passing text from window to window

    JohnBear, your solution would work. I have actually found a different approach that works too. Here it is: Page1: <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;> <html> <head> <title>Untitled</title> <script language=&quot;JavaScript&quot...
  2. GregArtemides

    help with passing text from window to window

    I have a page, Page1.htm containing a form with a textfield, and a link which pops up another page, Page2.htm. Page2.htm contains an iframe. When I press the link on Page1 to popup Page2, I would like to pass the text in the textfield on Page1 to the iframe on Page2. Finally I would like to...
  3. GregArtemides

    How do I distribute a PHP solution without giving away the source code

    I have tested the following: www.phpcodelock.com has a program to encrypt both PHP, HTML and Javascript for $50. It works by including a .php file in the home directory. You can distribute as many encrypted php files as you like. You don't need to make any modifications to PHP.ini. You...
  4. GregArtemides

    How do I distribute a PHP solution without giving away the source code

    Thanks danielhozac and skiflyer. I'll try the turcksoft as the Zend is a bit too much to pay at this point
  5. GregArtemides

    How do I distribute a PHP solution without giving away the source code

    I am looking for a way to distribute a CMS system that I developed using PHP without giving away the source code. Is it possible to distribute a DLL or binary, like you would do with an application written in C for example? Or is there some other way I can do it. I know PHP is a scripting...
  6. GregArtemides

    Help with download window please

    sleipnir214 I just found out that your first option works as well! Thanks again
  7. GregArtemides

    Help with download window please

    sleipnir214 Thanks a bunch. Your second option worked just fine!
  8. GregArtemides

    Help with download window please

    I want to force a download of a .txt file without IE opening it in the browser. I just need the download window to appear. How do I do it? currently I am using (which opens the text file in the browser): header(&quot;Content-type: text/plain&quot;); header(&quot;Content-Disposition: inline...
  9. GregArtemides

    Help with regular expression

    Thanks skiflyer, your solutions works! So I was forgetting the ^ and $, but when I put them it worked just fine. And thanks danilhozac for trying.
  10. GregArtemides

    Help with regular expression

    if (!ereg(&quot;([0-9]{9})\(xml)|(txt))&quot;,&quot;123457890.txt&quot;)) echo &quot;error!&quot;; What's wrong with this regular expression? I need one that will check a filename has 9 numeric digits and a .txt or .xml extension. The one above should echo the error since it's 10 digits long...
  11. GregArtemides

    Simultaneous file upload and post variables?

    I'm looking for a way to do http file upload and post file information to the database at the same time. Basically I have a form that has a browse button to allow the user to choose a file, and then some textfields where the user will be entering information about the file, for example a short...
  12. GregArtemides

    Help with PHP and frames

    I want to add backround music to a site I am developing, in such a way that it continues when the visitor moves to a new page. Currently the music stops and restarts when the visitor goes to a new page. The site is programmed in PHP and music comes out of an embeded Flash file. You can visit it...

Part and Inventory Search

Back
Top