hitAppoint Online Appointment Scheduling SoftwareOnline Appointment Software

Forum

You are not logged in.

#1 2008-06-09 15:10:32

utdrmac
Member
From: Houston, TX
Registered: 2008-02-15
Posts: 11
Website

using semicolon as argument separator breaks

While viewing this page:

schedule/?mwh=18-112&mwst=lclass:9__page:1;0

You are presented with an error message. This error message appears because the explode() PHP statement cannot find the query string arguments it is looking for.

The reason for this is because hitAppoint uses semi-colons as its own, internal, argument separator.  This is WRONG! Here is why:

The HTML 4.01 specification states that a semicolon may be used a separator instead of an ampersand.

Inside our php.ini file we have this directive:

Code:

arg_separator.input = ";&"

As such, when PHP attempts to parse the URL above, it does not see $page being equal to "1;0" instead it only sees $page equaling "1"

HTML 4.01 was written back in '99. Why can't you guys code using standards found in this century?

I realize that by simply removing the semicolon from our php.ini directive will fix the issue but that's a lame way to do so. Instead, you guys should fix your code as to not break the HTML 4.01 standard.

My $0.02.

Offline

 

#2 2008-06-09 21:01:19

algis
Administrator
Registered: 2006-01-09
Posts: 718
Website

Re: using semicolon as argument separator breaks

hello,
thank you very much. I will try to change this in the next updates.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson