• Hi CF7 experts,
    since last update I have this piece of code that is not working anymore:

    <?php
    	$file = fopen($text_url,"r");	
    	while(! feof($file)){
     	$line= fgets($file);
    	//Do something with $line like search some words
    		
    	}
    	fclose($file);	
    

    Does any body knows why?
    Thanks
    Jacques from France

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jackbluehouse2019

    (@jackbluehouse2019)

    Iforgot to put the beginning and the end of the code, it’s in a function:

    function action_wpcf7_after_flamingo( $result ) { 
    $file = fopen($text_url,"r");	
    	while(! feof($file)){
     	$line= fgets($file);
    	//Do something with $line like search some words
    		
    	}
    	fclose($file);	
    }
    add_action( 'wpcf7_after_flamingo', 'action_wpcf7_after_flamingo', 10, 1 ); 
    
    Thread Starter jackbluehouse2019

    (@jackbluehouse2019)

    I have a CF7 form and since CF7 last update I can’t submit the form anymore.If I go back to old CF7 version it’s working fine…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CF7 update’ is closed to new replies.