statefull Posted February 27, 2014 Share Posted February 27, 2014 Hello! I would like to print a plain text without HTML tags when a url is called. Here is an example: test.php echo "hello"; I want this: hello and no... <html> <header> </header> <body> hello </body> </html> is this posible? Thank you! Link to comment Share on other sites More sharing options...
vekia Posted February 27, 2014 Share Posted February 27, 2014 let's clarfiy. what is test.php ? is this file somehow integrated with prestashop? or... or what? Link to comment Share on other sites More sharing options...
statefull Posted February 27, 2014 Author Share Posted February 27, 2014 Yes, Test.php is a file in a new module integrated in prestashop I want to request this file, for example. Www.myshop.com/module/test/test.php And this file must return hello but in plain text without html tags Link to comment Share on other sites More sharing options...
vekia Posted February 28, 2014 Share Posted February 28, 2014 just don't run the init function, include only config file (config.inc.php) and main module php file then just use echo "test"; Link to comment Share on other sites More sharing options...
statefull Posted February 28, 2014 Author Share Posted February 28, 2014 yes it working, Thanks!! Link to comment Share on other sites More sharing options...
vekia Posted February 28, 2014 Share Posted February 28, 2014 you're very welcome i marked entire topic as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now