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

    making tokens

    This may be helpful: http://www.php-scripts.com/php_diary/122799.php3 <? srand(time()); $random = (rand()%9); print("random number between 0 and 9 is: $random"); ?>
  2. Stickbread

    Generate JavaScript friendly string using PHP

    After I download the page, I use PHP's addslashes method to every line, and then I just wrap every line in a document.write. Here is the script (script.php): $url = $_GET["url"]; $file = file("$url"); for($i = 0; $i < count($file); $i++) { $line = $file[$i]; $line = substr($line, 0...
  3. Stickbread

    Display HTML code?

    I'm using php to generate a javascript script... (very ugly). In fact, this quest I've downloaded the html source of a webpage with php, and now I would like to display that page using javascript. I've wrapped each line in a document.write(), but I'm having difficulty with quotation marks...

Part and Inventory Search

Back
Top