I am making some code , But it is so strange that code just get prints on screen , I am not able to find any reason of it.
Please help me out of this, rest of the code is working fine.
Thanks
I am making some code , But it is so strange that code just get prints on screen , I am not able to find any reason of it.
Please help me out of this, rest of the code is working fine.
Thanks
The server is not correctly configured to run php ;)
Or your file has no .php file extension.
Since you provide no detail at all i can just guess:
Is the file extension correct? Is there a .htaccess or server configuration that makes apache not interpret the file as php?
That is a very annoying problem. There is an error for sure. Check your web server logs but I doubt the it will be helpful. I solved that problem by using die(); in the script and printing some variables on screen using var_dump and/or print_r. Try to break the script in peaces to isolate and find the problem.
Ah figured out , actually i recently switched to Win7 and the buggy file outputting/printing codes was renamed file of some windows desktop config file (did it to save time) and uploaded.
But i think FTP tool should handle the file association thing may be filezilla don't do it.
Thanks for all your time.