????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.226.214.156 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.biminfo.se/ |
Upload File : |
<?php $link = mysql_connect ("localhost", "root", "root123"); mysql_select_db ("biminfo"); if($_GET['action'] == "create"){ $customerid = $_POST['customerid']; $url = $_POST['url']; $sql = "insert into tblLink values(NULL,'$url',$customerid)"; $result = mysql_query($sql); //echo($sql); $sql = "select * from tblLink order by linkid asc"; $result = mysql_query($sql); while ($row = mysql_fetch_assoc($result)){ $linkid = $row['linkid']; } } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>BIM-portal</title> <style type="text/css"> <!-- .style27 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } A {text-decoration:none;} .style33 { font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; } .style36 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; } --> </style> </head> <body topmargin="0" marginheight="0" bottommargin="0" link="#000000" alink="#000000" vlink="#000000"> <p><span class="style33">Create new linkid:<br> <br> </span><span class="style27">Please fill in the form to create a new URL to use in the revit family:</span></p> <form name="form1" method="post" action="?page=linkid&action=create"> <table width="306" border="0" cellspacing="0" cellpadding="0"> <tr class="style27"> <td>Customer</td> <td> <select name="customerid" id="customer"> <?php $sql = "select * from tblCustomer"; $result = mysql_query($sql); while ($row = mysql_fetch_assoc($result)){ $id = $row['customerid']; $customer = $row['customer']; ?> <option value="<?php echo($id);?>"><?php echo($customer);?></option> <?php }?> </select></td> </tr> <tr class="style27"> <td><span class="style27">URL: </span></td> <td><span class="style27"> <input name="url" type="text" id="url" size="30"> </span></td> </tr> <tr class="style27"> <td> </td> <td><span class="style27"> <input type="submit" name="Submit" value="Submit"> </span></td> </tr> </table> <span class="style27"> </span> </form> <p><span class="style33"> </span></p> <p><span class="style33"> <?php if($_GET['action'] == "create"){ echo("New link: http://www.biminfo.se/?productid=$linkid"); } ?><br> <br> </span> </p> </body> </html>