Thread: PHP Help!
View Single Post
Old 14-03-2005, 11:42   #9
Strzelecki
Inactive
 
Join Date: Jan 2004
Location: Essex
Age: 43
Services: 80/20Mbps FTTC on Freeola
Posts: 871
Strzelecki has reached the bronze age
Strzelecki has reached the bronze ageStrzelecki has reached the bronze ageStrzelecki has reached the bronze ageStrzelecki has reached the bronze ageStrzelecki has reached the bronze ageStrzelecki has reached the bronze ageStrzelecki has reached the bronze ageStrzelecki has reached the bronze ageStrzelecki has reached the bronze ageStrzelecki has reached the bronze ageStrzelecki has reached the bronze age
Re: PHP Help!

Not really, all it has is config.php, the upload page index.php and the processor uploadfile.php plus a simple table in a MySQL database.
class.php
PHP Code:
<?php

function autom($wapurl, $indexurl){
        
        
$msg = "wapurl: $wapurl\n\n";
        
$msg .="indexurl: $indexurl";
}
?>
plus index.php
PHP Code:
<?php 
include 'config.php';
?>
<!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>SagemHelp.info WAP uploader</title>
</head>

<body>
<table width="100%"  border="0">
  <tr>
    <td width="18%" height="21">&copy;SagemHelp.info</td>
    <td width="82%">&nbsp;</td>
  </tr>
  <tr>
    <td height="201">&nbsp;</td>
    <td><form enctype="multipart/form-data" action="uploadfile.php" method="POST">
<input name="upfile[]" type="file"><br>
<input name="upfile[]" type="file"><br>
<input name="upfile[]" type="file"><br>
<input type="submit" value="Send Files">
<input type="reset" value="reset">
</form>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
Strzelecki is offline   Reply With Quote