Unstoppable Domains

Php question

Spaceship Spaceship
Watch

ihosty

******** RegularEstablished Member
Impact
4
Need a little help with my syntax, any that could help I would appreciate. The action doesnt actually work inside of this string but does outside of it.

Any thoughts?


case 'matt':

$str = '<div id="vempty"><form enctype="multipart/form-data" action="upload.php" method="post"><input type="hidden" name="MAX_FILE_SIZE" value="10000000000" />Choose a file to upload: <input name="uploaded_file" type="file" /><input type="submit" value="Upload" /></form></div>';
$objResponse->addAssign('vmore','innerHTML', $str);
break;
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
is it outputting the HTML?
 
0
•••
nope the problem is its stripping the form tags
 
0
•••
nope the problem is its stripping the form tags

You do the bbcode CODE tags [ CODE ] and [ /CODE ] without the spaces
 
0
•••
i'm not sure what addAssign does, but innerHTML makes me think of it being a function that takes only what's inside of the html tags (similar to javascript). if you were to comment that out and simply output $str, what happens?
 
0
•••
Guys I have a good grip in PHP but never took this language professionally but now thinking to pursue further into professional field as this programming has vast and various jobs. I hope I can continue with this as my career. You suggestions will be appreciated! Thank you!
 
0
•••
I think the addAssign() function has a filtering method that strips out the <form> tags for security reasons.

What's the class of $objResponse ?

You should read the documentation for addAssign, and see if there's a way to bypass the restrictions
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back