Fatal Error Call To Undefined Function Stripos
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Stripos issues in php4 up vote 0 down vote favorite Please i have the following function for a contact form, but it shows the following error "Fatal error: Call to undefined function: stripos() in" how can i fix it function checkEmail($vEmail) { $invalidChars ="/:,;" ; if(strlen($vEmail)<1) return false; //Invalid Characters $atPos = stripos($vEmail,"@",1); //First Position of @ if ($atPos != false) $periodPos = stripos($vEmail,".", $atPos); //If @ is not Found Null . position for ($i=0; $i utilisatrices occasionnels de SPIP (Système de publication pour l’Internet). Avant de poser une question, faites une recherche sur ce site, consultez les liens utiles. Si vous ne trouvez pas de réponse, postez votre message dans la rubrique appropriée, avec un titre explicite. Sujets:23738 Sujets résolus: 39% 72 visiteurs en ce moment Rechercher : FAQ Se connecter S’inscrire Navigation rapide : Installation, mise-à-jour Utilisation de l'espace privé Administration, gestion, configuration du site Création de squelettes Accueil > Forums de discussion > Administration, gestion, configuration du site > Fatal error : Call to undefined function : stripos() in... SPIP 3.0 Fatal error : Call to undefined function : stripos() in... Résolu par rom1 - 24 janvier 2013 http://stackoverflow.com/questions/10981513/stripos-issues-in-php4 22:45 -Réponse(s): 4 Bonjour Ce soir, un peu pressé par le temps et pour des raisons qui me pousseraient à vous expliquer un autre problème, j'ai joué aux apprentis sorcier et j'ai changé le fichier .htaccess d'un site que j'avais réalisé avec spip 3 avec un .htaccess d'un site que j'avais fait sur spip 2.1. (j'ai un bug persistant et je me demandais si ça ne provenait pas de mon htaccess, étant http://forum.spip.net/fr_249739.html donné que l'autre site fonctionne). Mais depuis ce changement, plutôt que d'arranger mon cas, je n'arrive plus à accèder au site:www.revages.fr Il m'affiche le message d'erreur suivant: Fatal error: Call to undefined function: stripos() in /homez.121/lessouli/revages.fr/www/ecrire/req/mysql.php on line 394 Conscient de mon erreur, j'ai essayé de remettre le htaccess de départ mais ça ne veut toujours pas fonctionner... QUelqu'un a t'il une solution? Merci d'avance!! Bonne soirée Répondre à la question #1 > Fatal error : Call to undefined function : stripos() in...ˆ par Gilles - 24 janvier 2013 23:13 C'est simple: tu es retombé en PHP/4.4.9 Il y a une manip' classique à faire sur OVH: La première ligne de ton fichier .htaccess doit contenir SetEnv PHP_VER 5 http://guide.ovh.com/php5chezovh < #2 > Fatal error : Call to undefined function : stripos() in...ˆ par Gilles - 24 janvier 2013 23:14 Hop, pour le coup je prends le risque de marquer comme résolu;) < #3 > Fatal error : Call to undefined function : stripos() in...ˆ par joseph-tux - 5 février 2013 16:11 Bonjour, J'ai le même problème, et (pour moi), celà n'est pas la solution, car je veux que SPIP3 fonctionne. J'ai activé le nouveau .htaccess, neutralisé tous les plugins, effacé tous les fichiers de /tmp/cache/, en vain. Je sais que certains fichiers, "scories undefined function - PHP Development I'm a PHP and MySQL newbie. I have a feeling a lot of you may have seen this before. I'm http://www.justskins.com/forums/fatal-error-call-to-137405.html teaching myself PHP/MySQL and trying to setup a guestbook. I'm running latest versions of Apache, PHP and MySql on WIN 2000. PHP is installed from the zip file. When serving php docs (code snippets below) I get the messages: "Fatal error: Call to undefined function mysql_connect() " "Fatal error: Call to undefined function mysql_pconnect() " I've been reading fatal error and searching and trying all sorts of things to fix this and can't find the solution. I've removed the comment from the ... Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode August 29th,01:43 AM #1 Fatal error: Call to undefined function I'm a PHP fatal error call and MySQL newbie. I have a feeling a lot of you may have seen this before. I'm teaching myself PHP/MySQL and trying to setup a guestbook. I'm running latest versions of Apache, PHP and MySql on WIN 2000. PHP is installed from the zip file. When serving php docs (code snippets below) I get the messages: "Fatal error: Call to undefined function mysql_connect() " "Fatal error: Call to undefined function mysql_pconnect() " I've been reading and searching and trying all sorts of things to fix this and can't find the solution. I've removed the comment from the line "extension=php_mysql.dll" in php.ini. (Below is the MySQL section of php.ini. It's pretty standard, I'm using defaults.) I edited my Apache config file with the needed lines: ### Section 4: PHP 5 Module # ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/" LoadModule php5_module php/php5apache2.dll AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps PHPIniDir "C:/Program Files/Apache Group/Apache2/PHP" When I run phpinfo, MySQL is not listed. Do I need to enable it in the configure command? How do I edit the configure command.