Jump to content

rhodesa

Staff Alumni
  • Posts

    5,253
  • Joined

  • Last visited

About rhodesa

  • Birthday 09/27/1983

Contact Methods

  • Website URL
    http://vectorloft.com

Profile Information

  • Gender
    Male
  • Location
    Boston, MA

rhodesa's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Also be aware, for this to work, the HTML content needs to be 100% valid. The majority of webpages on the internet are NOT valid HTML.
  2. If you have logins, I assume you have a database to track meta data about the user? Aka username, password, etc. Just add a new column for logins, and each time the login, increase the number.
  3. you can't output anything before using header(). what is the rest of the code for page2.php?
  4. personally...i don't like that way of outputting...i think it's messy...i'd rather just close and re-open the php tags
  5. http://us.php.net/manual/en/function.ssh2-connect.php http://us.php.net/manual/en/function.ssh2-auth-password.php http://us.php.net/manual/en/function.ssh2-scp-send.php
  6. no problems...it will keep following the redirects
  7. there is nothing wrong with the script that i can see
  8. Last Name:<input type="text" size="12" name="lname" value="<?php echo substr($_GET['pt'],0,strpos($_GET['pt'],','));?>"/>
  9. what do you mean by "it won't pull when I try from php"? no rows are returned? are you sure you are connected to the right database? try updating this line: $query2 = mysql_query("SELECT * FROM photog, shoot WHERE photog.actual=shoot.photog ORDER BY id Asc") or die(mysql_error());
  10. is there a field in the DB you can sort by? like an auto_increment id? assuming it's called script_id, you would just do: <select name="script" id="script"> <option value="" selected>- Script -</option> <?php //Include connection include("conn.php"); $sql = "SELECT DISTINCT(script) FROM scripts ORDER BY script_id DESC"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) { ?> <option value="<? echo $row["script"]; ?>"><? echo $row["script"]; ?></option> <? } ?> </select>
  11. how about: <select name="script" id="script"> <option value="" selected>- Script -</option> <?php //Include connection include("conn.php"); $sql = "SELECT DISTINCT(script) FROM scripts"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) { ?> <option value="<? echo $row["script"]; ?>"><? echo $row["script"]; ?></option> <? } ?> </select>
  12. So, there is no problem then? This was the easiest problem EVER!
  13. What is the entire code...my guess is you change the value of $d between this line: $d = implode(',', $clean); and this one: <META HTTP-EQUIV="refresh" content="0;URL=http://localhost/td/ref/deny.php?d=$d">
  14. $i = strrpos($file,'-'); $time = substr($file,0,$i+1); or list($time) = explode('-',$file);
×
×
  • 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.