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

    • eh I'll wait for the June 2026 MVS ISO downloads which should be coming out next Tuesday June 16 and possibly contain build 8655 instead of 8653
    • read this recent topic in another forum: https://www.askwoody.com/forums/topic/still-on-win-10-and-happy-to-be-there/ some people are happy sticking with Win10
    • Cooler Master MasterFrame 600 PC case is now 33% off on Amazon by Ivan Jenic The Cooler Master MasterFrame 600 is currently $109.99 on Amazon, down from its original $164.99 list price. That's 33% off and $55 saved on this premium aluminum mid-tower case with a modular design. If you're upgrading your PC case and want something that doesn't force you into a rigid layout, the MasterFrame 600 is worth a look. The case is built around the Cooler Master's FreeForm 2.0 platform, which lets you reconfigure the internal structure according to your hardware. Magnetic side panels allow for straightforward adjustments, and the case supports everything from Mini-ITX to E-ATX motherboards without compromise. There's also generous cooling headroom. Four pre-installed PWM fans handle airflow out of the box. GPU clearance goes up to 410mm, and the case supports radiators up to 420mm with room for three simultaneously. Truth be told, this might not be the prettiest case on the market, but it’s highly functional. The aluminum construction keeps the whole thing lightweight despite its size, and the finish looks noticeably better than the plastic mid-towers competing at this price point. If you want a serious, flexible case that prioritizes function over flashy aesthetics like RGB lighting, the MasterFrame 600 delivers at a reasonable price. Cooler Master MasterFrame 600 - $109.99 | 33% off on Amazon This Amazon deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • DK, I don't use the extended channel, I'm always on the latest release.
  • Recent Achievements

    • Rookie
      restore went up a rank
      Rookie
    • Very Popular
      AndrewSteel earned a badge
      Very Popular
    • Veteran
      Taliseian went up a rank
      Veteran
    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      +Edouard
      162
    3. 3
      PsYcHoKiLLa
      155
    4. 4
      ATLien_0
      82
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!