i create a gtalk bot in imified.com.... this is success but...
this bot display not only message I created but also php coding....
Why ?...Plz...

Dani AI

Generated

If the bot is sending PHP source instead of the text you expect, the PHP is not being executed on the URL imified is fetching. That explains the raw code showing up in messages. was right to suspect the upload/copy step; probably has the script stored or referenced in a way that returns the file contents rather than running it.

Checklist to diagnose and fix (quick, verifiable steps):

  1. Open in a browser the exact HTTP(S) URL you gave imified.

    • If you see PHP tags and source, the server is not executing PHP.
    • If you see your plain message, imified may be calling a different URL or caching a previous file.
  2. Create a tiny test file named test.php and upload it to the same location:

    <?php
    echo "Hello from bot";
    ?>

    Request that file in a browser. If you see the text, PHP is working; if you see the code, the host/virtual host is misconfigured or PHP is not enabled.

  3. Common causes and quick fixes:

    • File has wrong extension (e.g., .txt, .html, or .phps): rename to .php.
    • Using short PHP tags <? while short_open_tag is disabled: use <?php.
    • URL given to imified uses a local/file path or returns raw files; provide a public http:// or https:// URL that executes on the server.
    • Server configured to show highlighted source (.phps) or PHP handler missing: contact the host or enable PHP for that site.
  4. If PHP executes in your browser but imified still gets source, double-check the exact URL, query parameters, and any caching on imified's side. Do not post full source or credentials publicly while troubleshooting.

These steps will pinpoint whether the problem is the hosting environment, the file you uploaded, or the URL imified is using.

Recommended Answers

All 2 Replies

you create it? then how come your asking us? you should be able to know the problem if your the real creator... or maybe you just got that code from another source and copy and paste it? am i right?

Thank....you right... this is my error... because i don't have high skill
in english...so... I say that the bot I created is not work as i want.
he display unwanted php coding...so
Help me

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.