help with php script / can someone help me with hosting?

Place requests for meshes, blueprints and the likes here.

help with php script / can someone help me with hosting?

Postby enzolima » Thu Dec 06, 2007 7:53 pm

I hope some of you guys are good with php programming, cause i really gonna need some help. bigtime.

I would like a script that allows me to upload 3d models to STE. so like
a form, where i can select the .rar files and give all teh information
necessary.

this is what i need:
a script that allows me to
- give the name of the ship, and the script will make a new map with that name
- automaticly make a .php file which contains the mesh info
- automaticly add a download link to the download page
- upload a small thumbnail image
- upload at most 7 .rar files, because the 3d model should be available in 7 formats.

to be more precise:

the .php file that has to be made should look like this: (all variables are between 2 $'s. these variables must be controllable by the script.)

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgproperties="fixed" background="../bgmeshes.jpg" text="#FFFFFF" link="#FFCC00" vlink="#FFCC00" topmargin="0" leftmargin="0">
<style>
<!--
a{text-decoration:none}
//-->
</style>
<table border="0" width="100%">
<tr>
<br>
<td align="left" height="160">
<img src="$norway_a.gif$" border="0">
</td><td align="right"><p align="left">
<font size="2" face="arial" color="lightgreen">
<b>Creator</b>: $Unknown$
<br>
<b>Rating</b>: $4/10$
<br>
<b>Comment</b>: $Even for game model this isn't really good.......$<br>
<b>Download</b>:
<a href="meshes/$norway$_3ds.rar">3DS</a>
 -
MAX
 -
LWO
 -
COB
 -
<a href="meshes/$norway$_obj.rar">OBJ</a>
 -
BLEND
 -
<a href="meshes/$norway$_an8.rar">AN8</a>

</font>
</td>
</tr>
</table>
</body>
</html>


the link in the download page must look like this:

Code: Select all
<a class="Navf" target="$curry$" href="fedmeshes/$curry$/index.php" onmouseover="doTooltip(event,$9$)" onmouseout="hideTip()" onclick="window.open('fedmeshes/$curry$/index.php','$curry$','height=200,width=600,toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no'); return false;">$CURRY
Class$</a><br>


As you can see, in the example .php file, there are only 3 .rar files to be downloaded. Is it possible to have no link when i upload only 3 .rar files instead of all 7?

Thanks in advance!

(yes this must be a lot of scripting but i just cant figure it out. i hope someone finds the time and feels like helping me :) )
Image
enzolima
Moderator
 
Posts: 456
Joined: Sat Jul 29, 2006 7:05 pm

Postby enzolima » Sat Dec 08, 2007 10:36 pm

i've been searching for some good free webhosting. it all sucks. does anyone know of a good free webhost? i need to have a backup site since there's not being much done on the hacked status of my current server. i can repair whatever i want, the hackers made it so that teh website returns to damaged again.
Image
enzolima
Moderator
 
Posts: 456
Joined: Sat Jul 29, 2006 7:05 pm


Return to Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron