Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Mon Nov 23, 2009 5:33 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ]  Bookmark and Share
Author Message
 Post subject: xhtml project
PostPosted: Thu Dec 04, 2008 6:52 pm 
Offline

Joined: Thu Dec 04, 2008 6:48 pm
Posts: 0
Hello,

I am coming back after a long time without doing xhtml, but i have a question, I want one page to pretty much be a page where the user browses for the jpg file or bmp file and uploads it with the text box information they have below, i have 3 text boxes which will have their name, last name and description, after they click submit, i want it to be able get the image, with the text box information and post it on another web page, stupid question but, can this be done in xhtml? if so, i got the page already done with the 3 text boxes and the browse button to find jpg and bmp, but the rest such as getting that info and posting it on another webpage is a different story, how would I accomplish that?

Also, on the browse feature, how do i tell it to find only jpg and bmp and not other file extensions?


thanks again


Top
 Profile  
 
 Post subject: Re: xhtml project
PostPosted: Fri Dec 05, 2008 2:26 am 
Offline
500+ Club
User avatar

Joined: Wed Feb 27, 2008 6:14 am
Posts: 929
Location: Cebu City Philippines
This couldn't be done by XHTML alone.

You need server-side scripting to process the data being uploaded on the server.

Useful links:
http://www.tizag.com/phpT/fileupload.php
http://us.php.net/features.file-upload

You can restrict the uploaded file only when they are .jpg/.bmp two ways:
1. Client-side (Look for the extension, if it's not .jpg/.bmp then don't let it submit)
2. Server-side (For PHP, you can get the file type. YOu can write an if statement telling to accept only file with "jpeg/jpg or image/bmp" extensions).

Hope that helps.

_________________
~ Get me some work, I do freelancing ~


Top
 Profile  
 
 Post subject: Re: xhtml project
PostPosted: Tue Jan 27, 2009 6:35 pm 
Offline

Joined: Tue Jan 27, 2009 6:25 pm
Posts: 2
Location: HongKong
javascrip need upload to your service.

_________________
Raster to Vector Conversion Service
PSD TO XHTML


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley