Jump to content

hostingon

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Everything posted by hostingon

  1. Yes - eval is not the fastest method - but you have 250 rows you will save php code space in your script. Eval is very usefull way when you have needs to pass many lines.
  2. You can use eval() function to generate loop to 20 pages with include statesment. For example; for($i=0;$i<21;$i++){ eval ("include \"page".$i.".php\";"); sleep(1); // wait 1 second only if you need this... }
  3. One method to not show your data in get parameters is to post this array data only with post methods to another page. <fom method=post ...> Another method is to use Sessions to save data in. and then you can access them from $_SESSION array. <?php session_start(); $_SESSION['favcolor'] = 'green'; $_SESSION['animal'] = 'cat'; ?> and then in other page you can get variables with: $favcolor=$_SESSION['favcolor'] ..... Third method is to use mysql table to store this array thata only temporary - and to use unique id from mysql_insert_id() with wich you can get again this post variables from second page.
  4. The easiest way is to configure firewall in way that only from your IP address you can connect to ftp server.
  5. Please post your all script content to see if there have any loops.
  6. Please sent and your query to check it. Also, try just like this directly: while($row=mysql_fetch_array($rpt1)) { /* directly print the report */ echo "<tr> <td>" . $row[id] . "</td> <td>" . $row[lname] . "</td> <td>" . $row[bldg] . "</td> <td>" . $row[room] . "</td> <td>" . $row[phone] . "</td> <td>" . $row[fax] . "</td> <td>" . $row[affil] . "</td> </tr>" ; }
×
×
  • 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.