• 0

Dynamic Signatures


Question

How would I make a signature that allows users to put a piece of text into my signature? I know you can use PHP, but I don't have the slightest clue about PHP

(Apart from Cutenews stuff)

Could someone make me a saple signature, very plain, and show me how to allow users to imput text into it thru my website?

Edited by TimRogers
Link to comment
https://www.neowin.net/forum/topic/301987-dynamic-signatures/
Share on other sites

Recommended Posts

  • 0

Hmm, so which one is the best - the Cache version or the normal one?

Lol, here we go again though - start afresh :)

Okay, it's all good so far :D

BUT, it seems that its behind one. Take a look at:

http://www.wizzyworld.com/externals/sig/

Choose a message, but then when it shows you the message that is current, its the old one.

Although going to: sig.png and you can see it actually does change it. Any idea's? this isnt a major bad thing as i could make the "New Message Entered Successfully" page just a simple "Thanks - refresh original page to display the current one" OR even totally redesign it, lol.

Edited by TheTrainMan
  • 0

Thanks again, Sphinx Myth!!

Ok, here is a new dynamic sig idea!

SigAtlas

I can't take much credit for it, since it's just a butchered version of IP-Atlas.

It will build up a picture of where people are from as they view the sig using their IP and lon/lat info from NetGeo to place a red dot on a map of the earth.

sigatlas.php

  • 0
Hmm, so which one is the best - the Cache version or the normal one?

Lol, here we go again though - start afresh :)

585797309[/snapback]

The "Cache" version seems to be the best for you because you don't write any dynamic data as date, IP, weather on your Sig.

Messages aren't dynamic because the sig is created/rendered and saved each time an user posts one of them.

[HeadKaze]: INCREDIBLE! :D

Edited by Sphinx Myth
  • 0

lol, okay, I am leaving it - its working okay.

http://www.wizzyworld.com/externals/sig/

Question though - how do I remove that white box around the selection thing? Or just make it invisible?

That is the only thing i need to know how to do. I have a feeling it's the "fieldset".

Thanks for ALL the help i have recieved on this :D

Pete

  • 0
Question though - how do I remove that white box around the selection thing? Or just make it invisible?

That is the only thing i need to know how to do. I have a feeling it's the "fieldset".

585797828[/snapback]

Yes, it's "FIELDSET" and "LEGEND".

Edited by Sphinx Myth
  • 0
After you've changed it, how come on the next page it shows the old image still and not the one that it's been changed to?

585798052[/snapback]

Your sig was well updated, but your browser doesn't display the good picture.

As HeadKaze said, refresh your browser. But it doesn't work sometimes because of your browser cache (your browser thinks it's the same picture, so it displays the one it has in its cache).

To override this behaviour, try this little trick (sig_form.php):

<img src="<?=DSIG_SAVED_SIG.'?'.rand( );?>" />

A random parameter suffix is added to the picture URL, but it does nothing (because a picture isn't a script :shifty: ). Browsers will think it's a new picture, will refresh their caches and will display the new picture.

Edited by Sphinx Myth
  • 0

Removed my sig thanks to some kid who kept writing f**k over and over again. I guess totally dynamic sigs are a bad idea. I'm thinking the "select a quote" option to be a better idea now.

But how to I do it? OCR? hehe no, I don't think so. IP Ban? Maybe, but anyway, I'm bored with the idea of dynamic sigs now anyway. Think I might just have something simple, or a random quote if I'm feeling special.

I could go on about "oh why is the world full of idiots", but really, it's not going to achieve anything except get the idiot more excited about his actions. I really don't care, and I don't know why I'm bothering to write this. I guess it's just a warning to all the other guys using one. It *will* be abused, this place is full of kids. Sad but true. Actually it's not really sad at all, it's a lesson to never expect people to do the right thing. Always write secure code with ways to prevent abuse.

  • 0
Removed my sig thanks to some kid who kept writing f**k over and over again. I guess totally dynamic sigs are a bad idea. I'm thinking the "select a quote" option to be a better idea now.

But how to I do it? OCR? hehe no, I don't think so. IP Ban? Maybe, but anyway, I'm bored with the idea of dynamic sigs now anyway. Think I might just have something simple, or a random quote if I'm feeling special.

I could go on about "oh why is the world full of idiots", but really, it's not going to achieve anything except get the idiot more excited about his actions. I really don't care, and I don't know why I'm bothering to write this. I guess it's just a warning to all the other guys using one. It *will* be abused, this place is full of kids. Sad but true. Actually it's not really sad at all, it's a lesson to never expect people to do the right thing. Always write secure code with ways to prevent abuse.

585804636[/snapback]

It's sad...but so true...

  • 0
Removed my sig thanks to some kid who kept writing f**k over and over again. I guess totally dynamic sigs are a bad idea. I'm thinking the "select a quote" option to be a better idea now.

But how to I do it? OCR? hehe no, I don't think so. IP Ban? Maybe, but anyway, I'm bored with the idea of dynamic sigs now anyway. Think I might just have something simple, or a random quote if I'm feeling special.

I could go on about "oh why is the world full of idiots", but really, it's not going to achieve anything except get the idiot more excited about his actions. I really don't care, and I don't know why I'm bothering to write this. I guess it's just a warning to all the other guys using one. It *will* be abused, this place is full of kids. Sad but true. Actually it's not really sad at all, it's a lesson to never expect people to do the right thing. Always write secure code with ways to prevent abuse.

585804636[/snapback]

Just use sessions to make sure only one page can change the image. Worked for me.

  • 0
Just use sessions to make sure only one page can change the image.? Worked for me.

585809069[/snapback]

Any chance you could elaborate on what exactly using a sessions is, and how they work to prevent abuse? Perhaps provide a code example.

Edit: ok, I think I get what you mean, but how does restricting the changing of a sig by one web page prevent the user from writing rude and insulting comments whether that be a text based sig (by using very easy methods to avoid a swearing filter) or by a drawing sig such as SigScribble where identifying such words is practically impossible, even using the most advanced OCR technology.

I doubt it would even be very common for people to POST to the sig from another page. What is the point of that, and how different is it to POSTing from the official page?

I think the only valid method worth bothering with is IP banning.

Edited by headkaze
  • 0
Any chance you could elaborate on what exactly using a sessions is, and how they work to prevent abuse? Perhaps provide a code example.

Edit: ok, I think I get what you mean, but how does restricting the changing of a sig by one web page prevent the user from writing rude and insulting comments whether that be a text based sig (by using very easy methods to avoid a swearing filter) or by a drawing sig such as SigScribble where identifying such words is practically impossible, even using the most advanced OCR technology.

I doubt it would even be very common for people to POST to the sig from another page. What is the point of that, and how different is it to POSTing from the official page?

I think the only valid method worth bothering with is IP banning.

585809189[/snapback]

That is exactly what it prevents users from doing.

Put this in the page that has the form on it (which in this case would be a drop down list)

<?php
session_start();
$_SESSION['Key'] = "Some Big Unknown Key....blablablalba";
?>

and put this on the page that updates your data file

<?php
session_start();
if ($_SESSION['Key'] == "Same as they key you defined in the first file") {
//Your Code Here
$_SESSION['Key'] = "NONE";
}
else
Echo ("Thanks for trying to hack my sig.  Go get a life.");
?>

The user will see the Thanks for trying to hack my sig message if they try to POST the data form another page.

Hope that helps ;)

  • 0

I had problems with people use rude/insulting words on my sig so I have added a word filter to it, any words that maybe seen as insulting/rude are filtered with * and new words can be added to list via an admin area. But on top of this I also added in ip ban so if i find someone continusly trying to do this on my sig i just simply type in the ip and ban it :)

  • 0

Hello,

I was wondering if there was a way to use a background image that I already have.

I made a basic image in Photoshop and I want to use it as the background for my dynamic signature.

I know that this is possible, but I do not know how to do it.

I know PHP, but I am not very familiar with the GD image tools. :ermm:

Clunt

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

    • No registered users viewing this page.
  • Posts

    • Researchers claim Microsoft's quantum breakthrough is flawed by basic Python errors by Karthik Mudaliar Microsoft's aggressive roadmap to deliver a commercial quantum supercomputer by 2029 has now hit a bit of a snag, and it's not because of a complex sub-zero dilution refrigerator, but rather because of a few lines of basic Python code. A new critique published in the scientific journal Nature argues that simple software errors effectively manufactured the breakthrough that Microsoft's foundational research claimed back in 2025 into Majorana-based topological qubits. Topological quantum computing, the path that Microsoft chose for its research, relies on creating and controlling "Majorana zero modes." These are exotic quasiparticles that theoretically offer vastly superior error resistance compared to the highly sensitive superconducting qubits currently being championed by rivals like Google and IBM. However, physically proving you have created these particles requires sifting through massive amounts of complex electrical conductance data to isolate a specific "topological gap." Because of the sheer volume of data, physicists rely heavily on custom software pipelines to process the results. This is where the Python scripts come in. Now, according to the critique, Microsoft’s data processing software contained fundamental programming errors that ultimately skewed the published results. By mishandling data arrays or deploying incorrect logic within the Python script, the software supposedly discarded "noisy" or contradictory data. Which is why it only highlighted the specific electrical measurements that supported the topological-gap claim. The researchers behind the critique argued that this makes the findings invalid, suggesting the heralded "quantum leap" was actually a false positive generated by bad code and not a product of groundbreaking physics. However, Microsoft is pushing back hard against these allegations. The Redmond giant has formally rejected the criticism, saying that it's just a minor anomaly rather than a fatal flaw. According to the company, while there may have been a minor oversight in the data parsing scripts, it does not alter the fundamental reality of their physical experiment. Just weeks ago, Microsoft unveiled the Majorana 2 quantum processor, a milestone so significant that the company boldly accelerated its timeline for a commercial quantum supercomputer from 2035 down to 2029. But the new software allegations reopen an old wound. Microsoft's quantum division faced a remarkably similar crisis when a landmark 2018 paper on Majorana particles was famously retracted in 2021 after independent physicists discovered the data had been inappropriately cropped. That historical baggage makes the current Python-related allegations particularly sensitive. If the foundational math and data processing for the 2025 breakthrough are genuinely flawed, the highly anticipated 2029 commercial timeline could easily be delayed or, worse, cancelled.
    • Because of what they have done to VMware I will never buy anything Broadcom again.
    • AMD releases hotfix for driver install issues on Windows 10 PCs by Taras Buria Earlier this week, AMD released an important graphics driver update. Version 26.6.2 brought AMD FSR 4.1 support to the previous-gen Radeon lineup, the RX 7000 series, giving users better upscaling tech that was previously locked to the newest GPUs. However, the driver turned out to be a little buggy, with users reporting installation issues on systems still running Windows 10. AMD quickly acknowledged the bug and today released a hotfix to resolve the problem. The AMD 26.6.3 Hotfix update is now available for download from the official website. Given that it is a hotfix release, it has only one change in its release notes: AMD announced the update on its official X account and added that a WHQL driver update with the necessary fixes would be released next week. Meanwhile, users can apply the hotfix or roll back to the previous driver using the official AMD Cleanup Utility. You can download AMD Software: Adrenalin Edition 26.6.3 Hotfix Preview Driver from the official website here. It is compatible with all currently supported graphics cards and 64-bit Windows 10 and 11. Full release notes are available on the same page.
    • With Microsoft now listening to its core audience and acting upon received feedback, fans can finally expect a much better version of Windows 11 than what was available five years ago. Here is to five more years, Windows 11! I guess we all need a good laugh now and again...
  • Recent Achievements

    • Dedicated
      Scoobystu earned a badge
      Dedicated
    • First Post
      Tom Schmidt earned a badge
      First Post
    • One Month Later
      D0nn13 earned a badge
      One Month Later
    • Rookie
      +ChiefOfNeo went up a rank
      Rookie
    • One Year In
      Tom Schmidt earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      466
    2. 2
      +Edouard
      177
    3. 3
      PsYcHoKiLLa
      123
    4. 4
      Michael Scrip
      82
    5. 5
      Xenon
      76
  • Tell a friend

    Love Neowin? Tell a friend!