Title: fopen Not Working in Code window
Last modified: April 9, 2020

---

# fopen Not Working in Code window

 *  [anilchauhan198](https://wordpress.org/support/users/anilchauhan198/)
 * (@anilchauhan198)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/fopen-not-working-in-code-window/)
 * if (($handle = fopen($csvName, “r”)) !== FALSE ) {
    when try to put this line
   of code it publish,preview,and other button are disable in admin and i will forces
   fully try to publish it it will display forbiddan error Like This “Forbidden 
   You don’t have permission to access /blog/wp-admin/post.php on this server.”

The topic ‘fopen Not Working in Code window’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/crayon-syntax-highlighter_b0c4c0.
   svg)
 * [Crayon Syntax Highlighter](https://wordpress.org/plugins/crayon-syntax-highlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/crayon-syntax-highlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/crayon-syntax-highlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crayon-syntax-highlighter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [anilchauhan198](https://wordpress.org/support/users/anilchauhan198/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/fopen-not-working-in-code-window/)
 * Status: not resolved