Vyoma
Mar 8 2006, 02:38 AM
Problem: Upload a file to the AstaHost account (that I have been granted here) throught the webpage I would like to know, how should I proceed on this particular problem. I know this has been done through cPanel, but I want to write a PHP functionality. The cPanel is accessed through the 2082 port, and most of the places I access internet from does not give me access through that port. I can access http://www.kmaheshbhat.astahost.com/ but not http://www.kmaheshbhat.astahost.com/cpanel or http://www.kmaheshbhat.astahost.com:2082/. I need to go to one particular place (a internet-cafe) to do that and upload my files to my account which happens to be quite cumbersome. Hence, I thought, I will write a php page, that lets me upload the files to a particular path in the account. It has to be ofcourse, password protected. (I do not want just anybody to upload files there). That way, I can upload files straight away (by using the http://www.kmaheshbhat.astahost.com/adminupload.php page or something like that). I would need to go to the internet-cafe only to do some obscruse or rare task like setting up the MySQL database or something like that - which wont be much of a problem. But to do that for each and every file I need to upload, is becoming quite a thorn-in-the-hide. From how far I know PHP, I think it can be done, but now that I think about it, I start to scratch my head. Any links or guidelines please?
Comment/Reply (w/o sign-up)
vujsa
Mar 8 2006, 05:13 AM
Well, yes you can write a file upload script in PHP with little difficulty. You could even write an entire file managment system in PHP if you were really serious. Most of the file upload, delete, copy, and move options are easist if you use the PHP ftp functions since using the file system functions can leave your files with the wrong ownership. Basically, using PHP file system functions to upload files sets the server as the file's owner instead of you. Using the ftp functions requires you to provide your password and user name but sets the file's owner as you. The requirements to list, browser, and manipulate the file system structure can be a little complicated since you'll probably be using several PHP file system and FTP functions at once along with environmental variables and authentication to allow you to only enter your username and password once per session and expire after so many minutes. I think you can stat to see that the requirements exceed the novice or beginner level. I would suggest using the ftp option instead of the cPanel anyhow. You can find several topics regarding the use of FTP with yur account throughout the forums. I use CuteFTP but the built in Windows XP FTP client will work as well. Just go to "My Network Places" Click add new Place. Enter your ftp address. (ftp.myaccount.astahost.com) Specify your username. etc... You'll then have a direct connection to your account from your computer. It'll look just like your windows file structure. Then you just need to drag and drop files from local folders to remote folder or copy and paste. It works pretty well actually. For more advanced FTP features, I recommend a third party FTP client. I think you'll find FTP easier to use in most cases than the cPanel File Manager. Good Luck.  vujsa
Comment/Reply (w/o sign-up)
Vyoma
Mar 9 2006, 01:46 AM
vujsa, I am sorry, I forgot to mention that I had tried the FTP option earlier. The network administrator here is a real security-paranoid. When I had tried to ftp to my account on Astahost, I had got the following pop-up window:  Even after that, I could not even see my account-folder, as it gives the following error: QUOTE FTP replies error InterScan HTTP Version 3.81-Build_1022 $Date: 12/19/2003 17:51:0017$
ftp server replies:
530 Authentication failed, sorry Obviously, it would fail, because it never asked me the password for ftp://vyoma@ftp.kmaheshbhat.astahost.com/ [Yes, my username is vyoma, and the site is kmaheshbhat] So, I had talked with the administrator and he did not budge an inch. He did not give me any other proxy either. Hence, I came up with this idea where I can upload my files through a webpage. So, vujsa, if I use the PHP file system funtions, is there no way to configure to which user the files are set the ownership? Because, using a web-access to upload seems like the only option I have.
Comment/Reply (w/o sign-up)
Quatrux
Mar 9 2006, 06:57 PM
I recommend you to get and install filezilla for your ftp usage, it is light software and works very nicely, I am always using it and not the stupid Windows Explorer, using a third party ftp program is much faster too. You can get it from http://filezilla-project.org/And why worry and waste time for writing another php upload script, if you really want to to manage everything, filezilla is for you. Just remember that files uploaded by ftp user belongs to ftp user and php can't really work with them very well.. like rename() touch() delete() chmod() etc. will return access denied, so you will need to change permissions to 777 through the FTP Client or maybe even CPanel File Manager.  But this does not effect Windows Servers as it does not have such permissions. And the CPanel File Manager Upload work just fine, for me.
Comment/Reply (w/o sign-up)
sid.calcutta
Mar 10 2006, 07:32 AM
QUOTE(Quatrux @ Mar 10 2006, 01:27 AM)  I recommend you to get and install filezilla .. You can get it from http://filezilla-project.org/ PHP Script to upload a file :I think this FTP client will just meet up your needs. Download it from : projects.adamsutton.co.ukThis is an FTP Client written using PHP and designed to allow restricted use of FTP via a web based interface. Main Features:QUOTE 1. Provide FTP access through a firewall which blocks FTP 2. Provide a front end to an FTP server which only allows access to the web server, thus reducing the risk of the FTP server being attacked. 3. Multiple File Uploads. It is pretty light and has a 'feel-good' web based interface. Regards, Sid
Comment/Reply (w/o sign-up)
minnieadkins
Mar 10 2006, 03:02 PM
According to his post, he can't use ftp because the cafe blocks it, or allows only the read permission. I would personally recommend using a pre-made script to upload files. You can find them floating around. ex. from hostscripts, it's freeware http://www.hotscripts.com/Detailed/57709.htmlI haven't looked at it, but it's probably self explanatory if you read the info's and readme's. Then I would just put an authorization on the top of the page and wrap everything in an if/else. If you're going to be the only user then I would use $_SERVER['PHP_AUTH..'] variables. Example: Modify the code for the upload script that you download CODE header('WWW-Authenticate: Negotiate');//taken from php.net if($_SERVER['PHP_AUTH_USER']=='EXAMPLE' && $_SERVER['PHP_AUTH_PW']=='EXAMPLE'){/* validate login, someone correct me if these are wrong variables, variables taken from php.net, I think they work for most versions of php */ /************* here is where your code from the downloaded script to upload files will go *************/ }else{//!End of if there's a valid login echo 'bad login';/* or use unauthorized page or w/e u want, redirect them to google! :P*/ }//!End of if there's a bad login
You would login by USING: EXAMPLE/EXAMPLE It's case sensitive of course. Now that would be a simple way of doing it, and probably wouldn't be too secure, and you would have to browse around to find a pre-made script with some functionality and probably modify it under the GPL or whatever agreement it has. Good luck with it.
Comment/Reply (w/o sign-up)
Quatrux
Mar 11 2006, 10:43 AM
QUOTE(minnieadkins @ Mar 10 2006, 05:02 PM)  According to his post, he can't use ftp because the cafe blocks it, or allows only the read permission. I would personally recommend using a pre-made script to upload files. You can find them floating around.
I saw it, but he was using Explorer and using Filezilla might help him as it is a real ftp client and it won't be blocked, but it is only a guess, he even did not use a password. Furthermore, Filezilla has proxy and firewall settings, so you can use a proxy to connect to the server and outcome the ISP or whatever Internet provider blocks.  But first you would need to find an proxy which support ftp protocol and which is fast, I don't think he cares if it is anonymous it sends his header details, I only have one proxy which I need, but it only works in my country as I been testing. So try to use google. But the alternative to use the ftp web based client pre-written is also quite a good idea, if real ftp client does not work, you can go with it.
Comment/Reply (w/o sign-up)
vujsa
Mar 11 2006, 03:50 PM
There aren't too many options to help this situation. If all non HTTP and Mail ports are blocked at the LAN firewall, there isn't any thing that can be done. I don't know for sure how the PHP ftp functions work when it comes to ports. It may be that we can set up a php based ftp system for you that would work if it was hosted on your AstaHost account. It is still a lot of work to write but if you look around at http://php.resourceindex.com/ , yo may be able to find what you need pre written. Since the comands sent to the serve are from the server, your LAN may never be involved with the transaction other than to submit the form and reply to the data. I think this is how the flow of data works for a php based FTP transaction: Your computer -> Your LAN -> AstaHost web server -> AstaHost FTP server -> AstaHost web server -> Your LAN -> Your computerGiven your situation, I think that it would be worth he time to test a few web based ftp scripts. vujsa
Comment/Reply (w/o sign-up)
abhiram
Mar 12 2006, 06:19 AM
I've got a similar problem. My campus net proxy blocks all ports except 3128. For file maintanance, I use Net2Ftp. Of course, it allows only uploads of 2mb and tasks which don't take more than 30sec. To get around this, just download the package from their site and extract it to your site. Then edit .htaccess accordingly (I'm not really sure how) to enable uploads of more than 2mb and edit the preferences also. This works fine for me from everywhere. Hope it helps you. It's easier than writing the script from scratch  .
Comment/Reply (w/o sign-up)
Vyoma
Mar 19 2006, 05:11 AM
Well, I think you guys all gave me a lot to think about. I might still try to use some kind of PHP code to upload my files, because when I checked, the proxy only lets me HTTP access. The admin is like, you know, wont budge an inch. I will surely reply here on my findings after the research so others would be able to use it. (But, I should say, I am quite occupied with something else - my mind can be so mercurical,  ).
Comment/Reply (w/o sign-up)
TavoxPeru
Apr 17 2009, 09:27 AM
QUOTE ((G)Simran @ Apr 16 2009, 09:51 PM)  Is video uploading site is good in PHP or ASP.Net PHP Script To Upload A File
I am thinking to make video uploading site so now I am confused as should I make it in PHP or ASP.Net. So please give your suggestions as which technology would be good.
-reply by Simran I think that PHP and ASP.net will work fine to do this job, only one thing, as far as i know, ASP.net only works with windows machines, it does not work on any other operating system like linux or freebsd, so take in mind this when you choose your hosting. Best regards,
Comment/Reply (w/o sign-up)
iGuest
Apr 17 2009, 02:51 AM
Is video uploading site is good in PHP or ASP.Net
PHP Script To Upload A File
I am thinking to make video uploading site so now I am confused as should I make it in PHP or ASP.Net. So please give your suggestions as which technology would be good.
-reply by Simran
Comment/Reply (w/o sign-up)
KazDoran
Mar 31 2006, 12:02 PM
Yay I got it to work! Here's how it goes, a very simple script, without password verification: 1) CHMOD your /tmp directory to 775 (very important!) 2) Create a form like this: CODE <form enctype="multipart/form-data" action="process.php" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="50000" /> File: <input type="file" name="uploadedfile"><br> <input type="submit" value="Submit"> </form> You MUST have enctype="multipart/form-data" or the file upload won't work! MAX_FILE_SIZE limits the maximum file size, in bytes (in this case, around 50 KB). 3) Now the script inside process.php: CODE <? $upload_dir="upload/"
$upload_path = $upload_dir . basename($_FILES['uploadedfile']['name']);
if(!move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $upload_path)){ echo "Upload failed."; } ?>
Set the $upload_dir variable to whatever directory you wish to upload the file to. The $upload_path variable will be the relative path to the file when it's in place. If by any chance the file fails to upload, you'll be notified. Hope this will help. To create a password protection just create a new form where you type the password and do a basic check to see if it matches.
Comment/Reply (w/o sign-up)
KazDoran
Mar 31 2006, 09:48 AM
Hi! I was actually working on a PHP script to do just that. And unfortunately, it seems it won't work, for some reason. I've been asking around to find out what's wrong (I see the file isn't even uploaded as temporary file) and it may be that the PHP server in Astahost is running as root, and as such we needed root access to do the file upload... Not entirely sure though. EDIT: Actually, it looks like the PHP upload_tmp_dir variable is empty, and that's why I can't put the files there as well...
Comment/Reply (w/o sign-up)
Vyoma
Mar 21 2006, 01:12 PM
nightfox, I cannot use the FTP option and the cpanel (that port is blocked). I have to go out to a net cafe to do it. Hence, I came up with this option that may work out.
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : php, script, upload, file, password, protection
- Php Script Organizer
(3)
Myspacetv Download Php Script Help
(6) I was trying to make a php script that can view myspace videos with jw flv player and wont to know
how to do so if i put in
"http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=38105626" it show the video
"http://cache01-videos02.myspacecdn.com/11/vid_e382054c036835500bacfef1ebb5157e.flv(its the flv
video file from myspacetv), I cant see the similarity with the links please help, thanks for viewing
this topic /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
Php Login Script
(0) login script click the link to get your free php login script installer just follow the
instuctions the exe gives you and it will give you the script just place the code in the sever and
open index.html and follow on from there. what it has: it has reg page, login protection code ect.
it is simple to use and i think quite fun but im BORN TO BE WEIRD,you will need at least one working
mysql data base /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
/> hope you enjoy it. iknow i did from the alexmedia crew....
Make A Script Run Even If No User Is Online
(6) Hey! Is there any way to make a script run, even if no user is online. Because at the moment, my
scripts run, only when a user is online. And another thing: How can i make the following: (this is
just an example) mysql_query"SELECT maxhp FROM users WHERE username = 'allusers'"; How can I
select all users maxhp, in the same query? Thanks //Feelay....
Writing And Testing My Own Login Script [solved]
(20) i have this error QUOTE Warning: session_start() : Cannot send session cache limiter - headers
already sent (output started at /home/eggie/public_html/race.php:2) in
/home/eggie/public_html/race.php on line 5 in every page i have with session start...what's
the problem?? CODE Race include("style.css"); include("config.php"); session_start();
if(!session_is_registered(myusername)){ echo 'Your Session has Expired!'; exit;} //If you
click race... if ($_GET =='race') { $asa=$_POST ; if(!isset($asa)) { echo 'You
didn\'t select an....
Script Request
script request (2) another script request i am looking for a file manger tutorial with edit delete search upload move
copy and a WYSIWYG(What You See Is What You Get) editer like on on freewebs.com and css editor plz
help! i need on badly vmkrightpoint Edit"i keep search google and msn and yahoo i can't find
on!! lol"....
Free Forum Hosting Type Script Help!
Free forum hosting type script help!!! (2) i want to make something like http://invisionfree.com/ that makes an dir with your phpbb 3 forum
in it with an admin CP plz help i really want to make something like it!! i was thinking of coding
my own with file handling but i'm not good at some of it like "when u click submit to register
a forums it will move the phpbb3 file that leads to the users dir then it will rename the dir to
your username so like my.site.com/username it might work" with the admin username and pass and
admin's email it will open the config.php then edit all the data but it will ke....
Login Script
(8) I have another question--- i downloaded script of a game and it worked until my server changed to
newer version of php after which it didn't work... the most probable reason is that globals are
not enabled... now i need someone who can tell me what to put instead of what to make it work...
this is my login.php script CODE if (!$user || !$pass) { include("head.php"); print
"Please fill out all fields."; include("foot.php"); exit; } include("head.php"); $password =
md5($pass); $password2 = md5($password); $password3 = md5($password2); $password4 =....
Password Recovery Script
(7) While trying to make password recovery script for "bhupinunder" i run into a problem... i made this:
CODE $dbh = mysql_connect('localhost','jaskaran_gc','gc') or die
("Cannot Connect: " . mysql_error()); mysql_select_db('jaskaran_gc',$dbh); ?> ";?>
if ($recover=answer) print"$email"; ?> and it doesn't print anything...but if i put it
like this CODE $dbh = mysql_connect('localhost','jaskaran_gc','gc') or
die ("Cannot Connect: " . mysql_error()); mysql_select_db('jaskaran_gc',$dbh....
Warning: Mysql_result(): Supplied Argument Is Not A Valid Mysql Result Resource In ...
This Is for My attack Script. (4) Hey. I am making a "Version 2.0" For my attack script, but I can't make it work. This is the
error I am gettin: Warning: mysql_result(): supplied argument is not a valid MySQL result resource
in And here is the code: CODE $dbQueryHealth = mysql_query("SELECT temphealth FROM
characters WHERE user =". $_POST .""); $currentHealth = mysql_result($dbQueryHealth, 0);
$dbQueryExp = mysql_query("SELECT exp FROM characters WHERE user = ".$_POST ."");
$currentExp = mysql_result($dbQueryExp, 0); I have checked the PHP Manual,....
SQL Doesn't Connect In PHP Script
I made some code updates now the script is broken. (19) i have created a website and it is not working properly... i have had a website on sphosting.com and
everything worked fine till i got some errors(i got the errors because of the crappy host)...now the
fun part starts...they said they solved the problem but i got another one..i said them to repair it
again and they did...now i tried to login but as i entered the info it said the info isn't
correct...i checked the SQL and everything seemed fine..i tried again and again the error came...i
tried than to register,entered ALL info and when this was suppose to come out "Yo....
Php Script Help
help with scripting of php (1) Ok first a little back story of what happened and why I am asking for help. I have been playing text
based rpgs and found that I really like them. Well I have also found that most programers don't
want to listen to their clients in the sugestion box and when u make a content sughesstion they get
rude or make fun of your idea. So I decided I would sart my own and make it where the users had say
so in added content. Not saying all sugestions will get added but I will not make fun or get mad at
them. Any who when I bought the script I was under the impression it was fu....
Run A Script When Expires A Session
(6) For example, when a user logins to a page -with a login form- and after validating and verifying
it's credentials i store some information related to this user in session variables and a table
with his state -connected- is updated, then i use it in other pages, etc. When this user logouts
-by clicking a logout link- i release -unregister, destroy, etc- all the session variables stored
and the same table is updated with his state -disconnected-. All of this funcionality works very
well, the problem comes when the user do not click on the logout link and the session ....
Automated Product Suggestion Script
Compare user lists and suggest related items based on pattern matching (2) I recently got an idea for a project and one of the features I wanted the project to have was an
automated suggestion service. If anyone has been to Amazon, it would work much like their
recommended product feature. What I want to do is take several users lists of whatever but for this
example, I'll use web links like from the browser history. I would want to suggest links to a
user based on common links in many other users lists. User A: Amazon, Ebay, Excite, Google, Yahoo,
MySpace, Walmart User B: Amazon, Ebay, Google, Yahoo, You Tube, MySpace, CVS User C: Amazo....
Extplorer
A PHP -and JavaScript- based File Manager (7) Browsing the ExtJS examples website i found this excellent web-based file manager called
eXtplorer . eXtplorer allows you to browse your webserver folders with an intuitive Layout which
makes working with files very easy, and thanks to the great ExtJS Javascript Library you can drag
& drop folders and files, filter directories and sort the file list using various criteria. You can
use eXtplorer to for example: browse directories & files on the server. edit, copy, move, delete
files. search, upload and download files. create and extract archives. create new fil....
Something Wrong With This Script?
Unexpected T_SRING (9) Here is the code that I have: CODE $con = mysql_connect("localhost","user","password"); if
(!$con) {die(' Could not connect: ' . mysql_error() . ' ');}
mysql_select_db("database", $con); $ip=$_SERVER ; echo "Adding MXP info..."; mysql_query (INSERT
INTO mxp (date, user, victim, turns, side, gold, lost, killed, mxp, points_b, points_a, type, power,
ip) VALUES ('$_POST ','$_POST ','$_POST ','$_POST ','$_POST
','$_POST ','$_POST ','$_POST ','$_POST ','$_POST
','$_POST ....
Php File Upload
About uploading files through php (3) Right i have done a check for a tutorial on this as well as a question about it but php is not
allowed in the search box. So i thought i'd just ask what i want to know. I have a form which
uploads a file, it refreshes the page, uploads the file and then alerts the user to if the file has
uploaded. To be honest im not sure why i keep getting the error. But here is the code: This is the
form that is used for the user to select the file &fid= " method="POST"> Choose a file to
upload: This is the upload code if ($op == "up"....
Automatic/remote Php Script Execution
(9) Hi, I was wondering, is it possible to execute a PHP script when a user isn't on the page with
it? Say for example, have it so that a script checks that if a certain time has passed since a user
was last active, it logs them off? So that if they've closed the window, it doesn't keep
them marked as logged in. Also, is there any way, with PHP to alert a user when something changes,
as soon as it happens? Say that if they recieve a new message, a box pops up telling them? You could
do this with Ajax I suppose, but (correct me if I'm wrong) continually runni....
Please Help (php Join Script)
(5) Ok as you all know by now I have been working on a php based game
to help me learn php. It has been going great and it is almost done. I got some very good help on is
sues here and along with sites like php.net. However I am stuck and can not find a solution to a
problem anywere. My Problem: I want users to join but I don't want some charicters to be in
there name (example I dont want Disallowed Charicters: , ', " I would array like: CODE
$string = array( , ', "); This for some reason does not work for. CODE if(strpos($name,
$string)){ //error s....
Login Script
PHP Help #3 - Need help creating one (5) It turns out that the authentication script that I copied from
http://www.php-mysql-tutorial.com/user-aut...on/database.php doesn't work even when it is left
unchanged. What a crappy piece of code. Now I am trying to build by own login script from scratch.
I already have a little knowledge on how to do this (connecting, echoing, retrieving) but I need
some more examples and/or tips. I know what I need and maybe this could help you out: Note: Green
items are fixed. No duplicate username in MySQL Database Authorized users only. I have to
authorize each....
Authentication Script
PHP Help #2 -- I need help tweaking it - it won't work (1) Okay, my first issue about the MySQL echo problem has been solved, thank you to those who helped.
/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Now I am focusing
on the login portion of my site, and I have this so far: CODE // we must never forget to start
the session session_start(); $errorMessage = ''; if (isset($_POST ) && isset($_POST ))
{ $username = $_POST ; $password = $_POST ; //Connect to database $con =
mysql_connect("localhost","myDatabaseUsername","myDatabasePassword"); if (!$con) { die('Co....
What Would Make A Good Registration Script?
(4) I see newbies all the time looking for either a login script or after a little querying you find
they really would like to have a registration script. The first thing for such a script for a
members area would of course be a form and being kind of old fashioned I still like to format my
forms with a table but I do use inline CSS to make it a little nicer. I never did like forms that
had an asterick * by a field and then a Note: Fields marked with * are required. So what I do
instead is add a background color to those areas and then use a CSS background color statin....
A Simple Checking & Validation PHP Script
(8) Hi, there is sometimes that you need to password protect a directory in your site but you dont have
access to a database or you dont need it because only a few users will access this directory, well
the following script i develop will help in this situation. With only 2 files you can implement a
basic security, the first file is a simple txt file where you store your users information and the
second file is the php script. You can name the files whatever you want and can be used in any site
with php support. The users.txt file: In this file simply put one line at the....
[PHP + MySQL] Encrypting Data
To protect the password of your DB, for example. (13) Hi! This is my 2nd code of PHP + MySQL. This code is VERY simple: it encript the data in the MySQL
DB. Here we go! ------------------------------------------------------------------------ CODE
$password = "abc"; $new_password = md5($password); echo $new_password; ?> The password "abc"
was codfied using md5() This will be: 900150983cd24fb0d6963f7d28e17f72 CODE $normal_pass =
"abc"; $encripted_pass = "900150983cd24fb0d6963f7d28e17f72"; if(md5($normal_pass) ==
$encripted_pass) echo "Login Sucessful!"; else echo "Incorrect password."; ?> This c....
Need Help With A PHP - MySQL Registration Script
Wont INSERT into the database (13) hey well can some one helpme make this code work it won't INSERT INTO THE DATABSE CODE #
register1.php # common include file to MySQL include("DB.PHP"); $Username=$_POST ; $Password=$_POST
; $Name=$_POST ; $Last=$_POST ; $Sex=$_POST ; $Month=$_POST ; $Day=$_POST ; $Year=$_POST ;
$Adresse=$_POST ; $City=$_POST ; $State=$_POST ; $Zipcode=$_POST ; $Country=$_POST ; $Phone=$_POST ;
$Email=$_POST ; $Father_Name=$_POST ; $Mother_Name=$_POST ; $Parent_Phone=$_POST ;
$Parent_Email=$_POST ; $Level=$_POST ; $Academic=$_POST ; $Image_Link=$_POST ; $sql9="INSERT INTO
U....
Online HTML/PHP Editor: Edit File In Browser!
(11) Im wondering how you can load a file into a text area and edit it. Lets say i have a php file called
test.php and id like this file to be loaded into a textarea and the user should be able to edit this
file and store it. Is this posible? Im also wondering how you make it so the html dosnt get
encoded by the browser, lets say i need to explain on my website how you use html. CODE Just
testing something, maybe i can get this from the source. ....
Counter With Img In Flat File
(2) this is a counter with images and stor in flat file becouse i can not upload .zip .rar file iwell
program it on this post at frist you need to 2 files count.php count.txt and you need else make
folder has name gifs and make 10 pictuer 10 file 0.gif to 9.gif now all ok open the count.php and
add this code CODE ### IMAGE FORMAT $format = ".gif"; $file = file("count.txt"); $num =
($file + 1); exec("echo $num > count.txt"); switch($type) { case "text": echo $num; break;
case "gfx": $i = 0; $cntn = strlen($num); while($i $tmpnum = subst....
Php Script To Download File From Another Site
(11) hi i need a php or java script code for downloading files from other sites to my site for example:
http://download.com/file.zip to http://mysite.com/file.zip thanks....
Trainable Anti-spam Filter Script
Any clues howto write one/get one ? (3) Hi all, Does anybody have ideas about writing trainable anti-spam mail filters - that you can
add onto any web-mail script ? Looking for something written in perl/php that'll allow me to
just check the checkboxes beside spam mails and click any button (say, "mark as spam") and the
script studies the mail headers and creates its own list of originating spammer domains/ips & blocks
out mails from 'em ? Thanks /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" />....
Tell-a-friend script
Make a tell-a-friend script with php!! (6) Hi!! I'll show you how to make a simple tell-a-friend script using php. If you put this on
your site, your visitors will be able to recommend your site to a friend. This can be good promotion
for your site. It's quite easy to set up too. Just copy and past the script below. Put this
where you want the form to appear: friendtell.php " method="get"> Tell a friend:
Put this in the file friendtell.php Your friend has been told! $myname = $from;
$myemail = $from; $contactemail = $to; $message = " Hi!! \nI wanted to tell y....
Looking for php, script, upload, file, password, protection
|
See Also,
*SIMILAR VIDEOS*
Searching Video's for php, script, upload, file, password, protection
|
advertisement
|
|