var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
php code in $_POST
When I put php code into a text box, hit submit, and then use:
to display the code, it prints everything, including the php (which shows up in the source) but it doesn't actually interpret the php
thank you in advance
Executing a user-entered PHP code on the server is
You need to use eval() function to execute the code:
HANDLE WITH CARE!
Closed for winter...
ok, I'll look into eval(), and as for the script, I'll have it run locally on the computer, and not on any server
edit: one more thing, wouldn't I have to eval() every single kind of code that I want to execute?
Last edited by MetalWyrm; 11-14-2009 at
will look into that, thanks for the help
Yes, but that would just be your POST data.
Originally Posted by
By lochie in forum Programming Discussion
Last Post: 08-30-2007, 04:33 AM
By Zach185 in forum Programming Discussion
Last Post: 05-15-2006, 08:03 AM
By pizzaboy_au in forum Employment / Job Offers
Last Post: 06-01-2005, 11:25 AM
By blackworm in forum Programming Discussion
Last Post: 08-14-2004, 01:08 PM
By Varun Shoor in forum Other Offers & Requests
Last Post: 08-02-2002, 07:52 PM