Click here to Skip to main content
15,880,796 members
Home / Discussions / Web Development
   

Web Development

 
QuestionQuestion about regular expression (for email addresses) Pin
Vodstok4-Feb-10 4:02
Vodstok4-Feb-10 4:02 
AnswerRe: Question about regular expression (for email addresses) Pin
adkalavadia4-Feb-10 21:32
adkalavadia4-Feb-10 21:32 
QuestionAbout web development using specific technologies Pin
Bhushan19803-Feb-10 20:56
Bhushan19803-Feb-10 20:56 
Question.net UI for saving students marks and datastructure Pin
GauravKP3-Feb-10 9:56
professionalGauravKP3-Feb-10 9:56 
AnswerRe: .net UI for saving students marks and datastructure Pin
David Mujica3-Feb-10 10:11
David Mujica3-Feb-10 10:11 
QuestionADO .Net Data Services & Oracle Pin
jonatan_5562-Feb-10 23:02
jonatan_5562-Feb-10 23:02 
AnswerRe: ADO .Net Data Services & Oracle Pin
R. Giskard Reventlov5-Feb-10 5:29
R. Giskard Reventlov5-Feb-10 5:29 
Questionajax post containing ambersand & issue Pin
Jayapal Chandran1-Feb-10 23:24
Jayapal Chandran1-Feb-10 23:24 
Hi, I am back again with clarification in ajax post.
I am having a WYSIWYG (TinyMCE) editor for a description field.
I am posting it using AJAX.

Assume that the data is "lorum ispum & <p>sample text<p>"
so it will be like

var udescription = "lorum ispum&sampletextandothertext";
xmlhttp.open("POST","ajax.php?description="+udescription",true);

Obviously this will get posted as usual form the client side.
But the server parses it as

Array (

[udescription] = [lorum ispum],
[sampletextandotherext] = ''

)

that is, any letters after an ambersand is consider as a key and it searches for the '=' sign to take the value next to it...

so if i send "ajax.php?name=joe&number=989898&description=sample&one&two"

it will be like

name = joe
number = 989898
description = sample
one =
two =

So what i think is doing a base64encode here and doing a base64decode in the server side.

I have base64encode function for javascript.

Will this solution holds good or am i m i s s i n g something.
Do people have an alternate or a suggestion. Please provide any kind of info so that we forum users will update it.

How does a browser send data to the server. hope it sets the mime type to base64 and the server would check it and decode it.
The post data would be 7 bit, 8bit and base64 and then multipart data seperated by boundaries.

so we have to set a different content type or use additional methods of XMLHTTPRequest???

Today's Beautiful Moments are
Tomorrow's Beautiful Memories

AnswerRe: ajax post containing ambersand & issue Pin
WoutL1-Feb-10 23:50
WoutL1-Feb-10 23:50 
GeneralRe: ajax post containing ambersand & issue Pin
Jayapal Chandran2-Feb-10 7:03
Jayapal Chandran2-Feb-10 7:03 
QuestionSSL Certificate Switch Pin
Jammer1-Feb-10 11:01
Jammer1-Feb-10 11:01 
AnswerRe: SSL Certificate Switch Pin
Jammer2-Feb-10 0:28
Jammer2-Feb-10 0:28 
QuestionAutomation Error Pin
Bad Programmer1-Feb-10 9:26
Bad Programmer1-Feb-10 9:26 
Questionflash slide make professional software Pin
sheemap31-Jan-10 19:55
sheemap31-Jan-10 19:55 
AnswerRe: flash slide make professional software Pin
Richard MacCutchan1-Feb-10 0:24
mveRichard MacCutchan1-Feb-10 0:24 
QuestionPHP Image Protection Pin
hxhl9529-Jan-10 18:18
hxhl9529-Jan-10 18:18 
AnswerRe: PHP Image Protection Pin
Graham Breach29-Jan-10 23:16
Graham Breach29-Jan-10 23:16 
GeneralBoonex Dolphin is SCAM!!! Pin
rooterbot29-Jan-10 5:55
rooterbot29-Jan-10 5:55 
QuestionMessage Removed Pin
28-Jan-10 10:56
hello_amigo28-Jan-10 10:56 
AnswerRepost x 3 Pin
Not Active28-Jan-10 13:38
mentorNot Active28-Jan-10 13:38 
QuestionUpdating Query Problem in PHP Pin
jedongkendrick28-Jan-10 10:28
jedongkendrick28-Jan-10 10:28 
AnswerRe: Updating Query Problem in PHP Pin
Graham Breach29-Jan-10 4:44
Graham Breach29-Jan-10 4:44 
QuestionBackground img in IE disappears Pin
marky77728-Jan-10 1:16
marky77728-Jan-10 1:16 
AnswerRe: Background img in IE disappears Pin
enhzflep28-Jan-10 3:27
enhzflep28-Jan-10 3:27 
QuestionDataGrid + Checkboxes Pin
sriharsha_1227-Jan-10 22:43
sriharsha_1227-Jan-10 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.