And in this "comics.php" file it opens a file in this .htaccess folder (PHP bypasses all .htaccess un/pw, so none are needed)
Dunno what he means by this, but it is nonsense. PHP doesn't look for .htaccess files, but if there is one that limits the directory, the webserver will not be able to return the page to the browser.
In other words, if comics.php is looking in an .htaccess protected dir for a page, when the webserver returns the page to the browser, it will prompt the user for a un/pw combo.
What you need to do is prevent users from viewing an image directly or linking them inline inside their page. This is usually handled at a lower level (although I am sure it could be done somewhat reliably using PHP, and I am equally sure the referer could be spoofed easily enough).
Essentially, you need to check the referer. In other words, if your site is www.abc.com and someone tries to link an image into www.bcd.com, your webserver doesn't allow it. This can be done with .htaccess files, but not by using a username and password.
It is preferrable to do this in the webserver config files. Assuming you are using Apache, you would add something like this to your httpd.conf file.
SetEnvIf Referer "http://www.abc.com/" local_referal
SetEnvIf Referer "$" local_referal
<Directory /web/images>
Order Deny,Allow
Deny from all
Allow from env=local_referal
</Directory>
output it through some built it functions that PHP has to send image data based on what "$id" is
Not sure what he means by this either, sounds like some custom functions, not built in PHP functions.