TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,026
  • Total Topics: 21,333
  • Online today: 916
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 160
  • Total: 160

Error - hacking attempt....

Started by bullmeat, July 30, 2007, 05:06:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bullmeat

I am currently attempting to add a link in a php created post using a modified version of the "join us' code snippet.

When I put in the following code:

[tr][td]Character Name: [/td][td]<a href=http://armory.worldofwarcraft.com/character-sheet.xml?r=vek\'nilash&n= ' . $_POST['chr_name'] . '>' . $_POST['chr_name'] . '[/td][/tr]


I get an error of Hackinng attempt...

any ideas?

bullmeat

I also tried the following code (which came up with the same error)

][td][url=http://armory.worldofwarcraft.com/character-sheet.xml?r=vek\'nilash&n=' . $_POST['chr_name'] . ']' . $_POST['chr_name'] . '[/url][/td]

IchBin

You can't mix BBC and php in the same block. You need to use HTML and PHP and put them in a phpbox.

bullmeat

Quote from: IchBinâ„¢ on July 30, 2007, 11:28:46 PM
You can't mix BBC and php in the same block. You need to use HTML and PHP and put them in a phpbox.

I am assuming you are refering to the [ ] codes but the code, that works prior to adding the link attempt also contains BBC code.

$postbody = 'Enrollment application has been made by ' . $context['user']['name'] .'[br /]
[table]
][tr][td]Character Name: [/td][td]' . $_POST['chr_name'] . '[/td][/tr]
[tr][td]Race:  [/td][td]' . $_POST['race'] . '[/td][/tr]
[tr][td]Class:  [/td][td]' . $_POST['class'] . '[/td][/tr]
[tr][td]Level: [/td][td]' . $_POST['lvl'] . '[/td][/tr]


as you can see only the second line was included in the first post (my fault) it is only when I attempt to create a forum post with a link embedded that the 'hacking attempt' error appears.

This website is proudly hosted on Crocweb Cloud Website Hosting.