its confusing yes because i dont know if that code is for 1 page or a few and i and using windows basiclly what i need is a page that you can upload the file thats password protected named admin.php and when i upload it itll be on a paged named scripts.php and on that page only the admin can delete it and the visitors cant upload files i need the file to have the name the size and date uploaded if its confusing please IM nsb823 if you have AIM
128 2004-06-16 01:35
Re: Mac/Apple Programming (25 replies, posted in Programming)
I wanna make progs like FTP progs for mac and i wanna make virus scanners and like spyware remover progs like that maybe a music player like real player i have windows so i will have to buy a mac to make progs right?
129 2004-06-15 17:40
Topic: Mac/Apple Programming (25 replies, posted in Programming)
2 questions
1. do you need a mac/apple to program for those type of computers?
2. is there a good book on programming for macs/apples?
131 2004-06-12 18:23
Re: Comments welcome on 'MyWebMaker' (25 replies, posted in Programming)
i went did you fix it? cause its like it again... whats the problem?
132 2004-06-12 18:20
Re: another php question (19 replies, posted in Programming)
and it will work so the visitors will be able to view it without using the admin functions?
133 2004-06-12 16:26
Re: another php question (19 replies, posted in Programming)
Thanks but what do i called the files can you put spcaes between each page?
134 2004-06-12 02:53
Re: Comments welcome on 'MyWebMaker' (25 replies, posted in Programming)
it looked messed up when i went to the demo page you should hide the admin thing i think someone fucked it up
135 2004-06-12 02:44
Re: need help with php..... (15 replies, posted in Programming)
136 2004-06-10 16:15
Re: question (4 replies, posted in Programming)
its a file for a game its a .jag file which they are the only ones that use that file i dragged it to notpad but i need to edit the file somehow
137 2004-06-10 16:12
Re: need help with php..... (15 replies, posted in Programming)
i posted it in the other thread
138 2004-06-10 16:02
Re: another php question (19 replies, posted in Programming)
heres the admin.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Admin Uploader</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
a.linkcolor:hover {font-family: Geneva, Arial, Helvetica, sans-serif; }
</style>
</head>
<body bgcolor="#000000">
<div align="center">
<table width="699" border="1" bordercolor="#6699FF" bordercolorlight="#000000" bordercolordark="#000000" bgcolor="#6699FF">
<table width='389' border='1' align='center' bordercolor='#6699FF' bordercolorlight='#000000' bordercolordark='#000000' bgcolor='#6699FF'>
<tr align='center' valign='top'>
<td width='379' bgcolor='#6699FF'><div align='center'><strong>[File Uploader]</strong></div></td>
</tr>
<tr align='center' valign='top'>
<td height='71' bgcolor='#6699FF'>
<form action="scripts.php" method="post"
enctype="multipart/form-data">
<input type="file" name="file" size="30">
<br/>
<input type="submit" value="Upload File">
</form>
</td>
</tr></table>
</div>
</body>
</html>
heres were it uploads to scripts.php
<?php
if($file_name !="")
{
copy ("$file", "/home/user/public_html/uploads/$file_name")
or die("Could not copy file");
}
else { die("No file specified"); }
?>
<html>
<body bgcolor="#FFFFFF">
<div align="center">
<table width="699" border="1" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" bgcolor="#777777">
<tr>
<td align="center" valign="top" bgcolor="#777777"><div align="center"><strong>Scripts</strong></div></td>
</tr>
<tr>
<td height="54" align="center" valign="top" bgcolor="#777777"><br> <table width="628" border="1" bordercolor="#FFFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" bgcolor="#777777">
<tr align="center" valign="top">
<td width="48" bgcolor="#777777"><div align="center"><strong>[No]</strong></div></td>
<td width="273" bgcolor="#777777"><strong>[File Name]</strong></td>
<td width="119" bgcolor="#777777"><strong>[Size]</strong></td>
<td width="160" bgcolor="#777777"><strong>[Uploaded On]</strong></td>
</tr>
</table>
<table width="628" border="1" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" bgcolor="#777777">
<td width='48' bgcolor='#777777'></td>
<td width='273' bgcolor='#777777'><a href="<?php echo "$file_name" ?>"><font color='#000000'></font></a><?php echo "$file_name"; ?></td>
<td width='119' bgcolor='#777777'><?php echo "$file_size"; ?> bytes</td>
<td width='160' bgcolor='#777777'><?php echo "Last modified: ".date( "F d Y H:i:s.", getlastmod() ); ?>
</td>
</tr></td>
</tr>
</table><br>
<table width='400'>
<tr>
</td>
</tr>
</table>
</div>
</body>
</html>
139 2004-06-10 04:42
Re: another php question (19 replies, posted in Programming)
not sure what i need can i post the code for the two pages and someone fix it for me?
140 2004-06-08 05:58
Re: need help with php..... (15 replies, posted in Programming)
im not sure its still not working can i post the code and one of u fix my prob
141 2004-06-07 05:50
Topic: question (4 replies, posted in Programming)
ok well i have a bunch of messed up text like this
\ê <1AY&SY?OXÍ jÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿà/?| #Ýðñ¶GOlÛkFÁï³ï¾»×+¼ùÀ=lI (J ?×Þ}JzfÚSMR {æëïcÛw?_Mï\#µU¡ÑRóÞ¸??(úéÕ_c=ìÚ«ï·3l! èP *©ú?4§ê?Iê7©¨ÞS4Ôð¦?i0?£CC?? $õ6 =?SÔÂb@?h
I?3DÄÈÙM?&`??¡Ð@ ?è3 éO0?Ð?LÓ&¦FFÔD??ÔOM0?hf¦??2???"?M?y¦?iO#ôÓÔôõMA&ÓHÔÌ)µ©è?óO@h2hÐ
!4jzjSò)ú?Ó11OÒ@ÉâMLÙ
ªOiOÓOQúDzOÕ6@&Þªy'IíFI²Mú©éê??SjOS!é¦ô???Þ¤ôMª404 2??¦
oS&©íLG ??È??Ñ4ÓFFÈdHÆ?&?M ÐF? 4?@ Ñ 4 Ð
4 jy&¦M
)ø?¡ä?SM=4Ó$ü)§¨? ô2dÉ?¨
14
2?z0 C dýPb1114Ó CF2??$@? d???cS5'µ)êiæTô??OLÈSjz?¡ê=CÓSÀôÔSM
=O$fI z?6SÊ2¨ ê44hb4
what would i need to read it?
142 2004-06-07 03:46
Topic: another php question (19 replies, posted in Programming)
i have <?php echo "$file_size"; ?> to get the size and <?php echo "$file_name"; ?> to get the name but i need one that says when its was uploaded like 6/6/04
143 2004-06-05 23:14
Re: need help with php..... (15 replies, posted in Programming)
i dont know how to upload to a directory on my webscape... i think sleddog has the right idea.....
144 2004-06-05 03:05
Re: need help with php..... (15 replies, posted in Programming)
Ok, what im doing is making a site for a friend and he needs a uploader the code above was the code for the uploader. It works fine, but what i need help with is making a page it uploads the files onto that were uploaded with the uploader.......
145 2004-06-03 20:20
Re: need help with php..... (15 replies, posted in Programming)
can anyone help i need help soon or i lose 3000.00$
146 2004-06-03 02:27
Re: need help with php..... (15 replies, posted in Programming)
i have the page i can upload from but i dont have a page it uploads to how would i do that?
heres the code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Admin Uploader</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
a.linkcolor:hover {font-family: Geneva, Arial, Helvetica, sans-serif; }
</style>
</head>
<body bgcolor="#000000">
<div align="center">
<table width="699" border="1" bordercolor="#6699FF" bordercolorlight="#000000" bordercolordark="#000000" bgcolor="#6699FF">
<table width='389' border='1' align='center' bordercolor='#6699FF' bordercolorlight='#000000' bordercolordark='#000000' bgcolor='#6699FF'>
<tr align='center' valign='top'>
<td width='379' bgcolor='#6699FF'><div align='center'><strong>[File Uploader]</strong></div></td>
</tr>
<tr align='center' valign='top'>
<td height='71' bgcolor='#6699FF'><form enctype='multipart/form-data' method='post' action='download.php?action=upload&dir=/scripts'>
<br>
<input type='file' name='filename' size='30'>
<br>
<input type='submit' name='submit' value='Upload File'>
</form></td>
</tr></table>
</div>
</body>
</html>
147 2004-06-02 19:34
Re: need help with php..... (15 replies, posted in Programming)
SOMEONE HELP ME!!!!!!!!!!!!!!!!!!!!!!!
148 2004-06-02 17:58
Topic: need help with php..... (15 replies, posted in Programming)
hi for a website im making i need a uploader that only the admin can use so i made the uploader and gave it its own page know how would i make the page it uploads the files to?