kiela
07-07-2006, 01:08 PM
I really need help for my biggest project ever!!!!
thats why my site is on hiatus..lol!
ok I need 2 things:
1.
I need a code where you need to Login and or register..
(with username and pass!)
Like some sites..hmmm...like forums!
their is apart of the site wer u can register and their is a page where u can login
2.
I also Need a code where you can send a picture to the site and it will
AUTOMATICALY be entered in the site...not like..sending a picture then I see a message from my inbox that a pic was send...it will take me so long to put it in the site..plus im online in weekends ONLY
PLEASE HELP ME>.this is the biggest project for my site!!!!:lolo:
both of those would probably get into using PHP and MYSQL.
much more than just HTML.
perhaps you should ask your question or do a search in the "advanced" forum area. someone may have already asked about those things.
kiela
07-07-2006, 03:12 PM
isnt their any html form that will do this?
freewebs does not support php and or MySQL
please help me..
i dont even have the..
how do u call this..
where u chmod a file to 666 or 777
help me!
at the very least, php or perl or some other serverside language will be required. html is not strong enough to do it at all.
chmod is usually done inside an FTP program. you will have to check with your host to see if they allow you to change the chmod of a file or not.
kiela
07-08-2006, 08:15 AM
One more thing..
just a retype of my topic:
(number 2)
2.
I also Need a code where you can send a picture to the site and it will
AUTOMATICALY be entered in the site...not like..sending a picture then I see a message from my inbox that a pic was send...it will take me so long to put it in the site..plus im online in weekends ONLY
both of those would probably get into using PHP and MYSQL.
much more than just HTML.
perhaps you should ask your question or do a search in the "advanced" forum area. someone may have already asked about those things.
i agree...pretty advanced.......this format....PRetty hard to get
kiela
07-10-2006, 01:10 PM
i found it already bu want i need now is number 2
same answer.
PHP and MySQL required.
you may be able to do a search for a "gallery" or "image upload" script to find some.
mcg1sean
07-10-2006, 03:06 PM
for your picture question, your server/host still needs to support php in order to do this. But basically to make things easy, you would make a page in HTML, this page would include a form to upload a picture to your database and a php file to "power" the form so to speak. So your HTML code could look something like this:
<html>
<body>
/*code below links to your php file to "power" the form*/
<form enctype="multipart/form-data" action="uploader.php" method="POST">
/*defines max file size for upload*/
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
/*allows you to choose which file on your computer to upload*?
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
/*button to submit your file*/
<input type="submit" value="Upload File" />
</form>
</body>
</html>
Next you would need to make the php file to power this form and then store the picture in a directory on your server.
This part is a little more difficult for me to explain, but this site (http://www.tizag.com/phpT/fileupload.php) gives a pretty good explaination of the php portion of this process.
You should try switching over to bravenet. they offer FTP access, so I would assume that you could install php on your site through that. If you wanna do that and want some help, just message me or post again ;)
hope this is helpful!!
Phi Tran
07-11-2006, 06:09 PM
In Web Environment all converation always start by the client side if I understand you right then
- HTML app you need a timer in that you using AJAX to see if there is any picture is availaibe from the server need to be downloaded. Once you see one then just the simple set the src point to the URL (sheme) that you server understand to output the right picture.
- At the server side:
Once an App in start (home page) then you save it IP in your database in order to kepp track what picture it needed. Also keep an eye on the time when it start until the time it post the first AJAX(pull) if it fast enough then you already has a idea that the image(s) of the last session has bee cached.
If a new picture in then set the flag (in the database) ready for the client side to know there is a "new" pictture awaitng.
Hope this help.
Phi