Recommended Posts

OK timdorr...

I'm not sure if anyone else is using this yet or not, but maybe something we could put in here to make things a little bit easier...

Could we put begin and end character strings to signify begin of data and end of data. I'm just trying to recommend a standardized mechanism. It's currently possible to get the data, but it would be really easy if we can look for certain characters or delimiters so to speak.

Hmm...Just something that could/would be consistent.

I am. The character is a newline.

I am. The character is a newline.

Well....yeah. Let me rephrase...

Given The following lines:

<strong>Username:</strong> userA<br />\n

<strong>E-mail:</strong> [email protected]<br />\n

What I was trying to ask was delimiting it so you could parse the labels (Username and Email)

and then parse the data userA and [email protected]

But it's already delimited enough I guess. An XML format would be cool, but this will work well also. You just have to parse through the strings. No big deal. :D

OK Timdorr, can you add a whitespace in between the last character of an item and the <br />?

Like change

<strong>Username:</strong> userA<br />\n

to

<strong>Username:</strong> userA <br />\n

If you can do that, then you can use this Regular Expression to match the Label and Data Elements.

&lt;strong&gt;(?&lt;label&gt;\w*\s*\W*\S*)&lt;/strong&gt;(?&lt;data&gt;\w*\s*\W*\S*)

HAHAHAHAHAHAHA......

Sorry Timdorr. I was looking at what Sietse was displaying....you already have it delimited with carriage returns... I just now got the return from you.

Sorry for the confusion....

:argh:

Actually would I be able to get the complete user group list? Like whenever I login with the link above, it gives my user group as "@ Subscrib". It would just simplify things on my end, because I'm going to have the user group in the profiles at Neomap.

chorpeac, I should add you to my MSN list.

Sorry, bout I think neowin's login form looks a bit ugly. Are we allowed to use our own external forms to process the login.

ie:

&lt;form action="https://www.neowin.net/login/?url=http://www.sitename.com/login.php" method="post"&gt;
&lt;input type="hidden" name="action" value="do_login"&gt;

&lt;table cellspacing="0" cellpadding="5" border="0"&gt;
	&lt;tr&gt;
  &lt;td&gt;Username:&lt;/td&gt;
  &lt;td&gt;&lt;input type="text" name="username" size="30"&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
  &lt;td&gt;Password:&lt;/td&gt;
  &lt;td&gt;&lt;input type="password" name="password" size="30"&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
  &lt;td colspan="2" align="center"&gt;&lt;input type="submit" value="login"&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;/form&gt;

Ah well, you know even if that did work, you wouldn't know if the username and password combination was accepted/correct or not.

Actually I managed to get it working on my webserver.

Ah well, you know even if that did work, you wouldn't know if the username and password combination was accepted/correct or not.

Errr.. I don't mean to be rude or anything but do you know what you're talking about?

Of course it would work. I've tested it and it does work. There's no reason why it shouldn't. I'm just after permission that we CAN use it as it may appear malicious.

Anyways, nice work people.

I've got that itchy feeling that this time next month we'll have a hugely complicated protocol up and running (Y).

Errr.. I don't mean to be rude or anything but do you know what you're talking about?

Of course it would work. I've tested it and it does work. There's no reason why it shouldn't. I'm just after permission that we CAN use it as it may appear malicious.

Well, I have never posted data to another site through a form like that. I'm using the thing right now, and I see how it works. I'm just curious how this method handles an invalid login. What happens? Does it return a false or something? If the login is accepted do you still get to access the returned values?

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft is busy. Lots of changes to be released imminently for Windows server or soon. Also, lots happening for next version as well. Third party virus scanning software is being moved out of Kernel mode to avoid repeat of Crowdstrike incident. Windows Protected Mode and Windows Ready Print no longer require third party print drivers to be installed. New storage stack being developed. New NVME drivers now available for Windows Server 2025 to improve local NVME drive performance by 60+ percent. NVME-Of of fabric being worked on for next release to improve network access to NVME drives. ReFs (next file system) now has ability to boot and will become default file system in next release of Windows Server. ReFs improves on NTFS in several areas including resiliency and reliability and scalability. New update stack is being worked on to unify Windows updates, and updates for drivers and first party/3rd party application software. A stricter and more robust third-party driver certification program (ODI) is being worked on to improve performance, thermals, battery life, and reliability on modern Windows hardware by tightening how OEMs and IHVs (Intel, AMD, Qualcomm, NVIDIA, etc.) build and ship drivers. There is a tone more but too numerous to mention.
    • Now disable that stupid OneDrive backup request when Windows starts please. So unbelievably frustrating to only have “remind me later” instead of “no and never ask me again”
    • Hello, The Media Creation Tool is still at v10.0.26100.7019 from October 2025. Just looks like the backend has been updated. Regards, Aryeh Goretsky
    • Since they open sourced the calculator in Win 10/11 it is much better and can do a lot, I love it.
    • That's just silly imo. The lengths that man goes to just to avoid W11 is just nuts. Very, very few home users would do that. I will say this though, he is committed. Btw, I note on askwoody that Woody Leonhard passed away March, 2025 aged 73. His site was one of my favorites back in the day. Belated yes but RIP Woody.
  • Recent Achievements

    • One Month Later
      Markus94287 earned a badge
      One Month Later
    • Week One Done
      Markus94287 earned a badge
      Week One Done
    • One Year In
      Markus94287 earned a badge
      One Year In
    • Dedicated
      truespursfan earned a badge
      Dedicated
    • Rookie
      restore went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      168
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!