Skip to content

PHPedia

The solution for all your PHP problems ... almost.
  • Home
  • Mobile Detector
  • PhpIndex
  • SemRush
  • SimpleGallery
  • About
  • Contact

PHP Warning: Parameter expected to be a reference, value given

April 29, 2011 admin Leave a comment

Message: PHP Warning: Parameter 1 to stats_admin_bar_menu() expected to be a reference, value given Error type: warning Symptoms: A warning…

Continue Reading →

Posted in: PHP warnings Filed under: parameter, reference, value, warning

PHP Warning: fsockopen(): unable to connect (Operation now in progress)

admin Leave a comment

Message: PHP Warning: fsockopen(): unable to connect to domain.com:80 (Operation now in progress) in /home/user/public_html/browser.php on line 724 Error type:…

Continue Reading →

Posted in: PHP warnings Filed under: fsockopen, socket, warning

Database error: MySQL server has gone away

admin Leave a comment

Messages: Database error: MySQL server has gone away Database error: Query execution was interrupted Database error: Lost connection to MySQL…

Continue Reading →

Posted in: PHP errors Filed under: database, mysql, sql

PHP Warning: failed to open stream: File name too long

November 21, 2010 admin Leave a comment

Message: PHP Warning: fopen(cache/____________.cache): failed to open stream: File name too long in test.php on line 12 Error type: warning…

Continue Reading →

Posted in: PHP warnings Filed under: file, filename, long, warning

How to call a custom method from a class

February 18, 2010 admin Leave a comment

There are some cases when you don’t know the name of a function you need to call, or that name…

Continue Reading →

Posted in: PHP tips Filed under: call_user_func, call_user_func_array, class, custom, static, tips

Convert numbers to words

August 4, 2008 admin 8 Comments

Numbers are great, sure, but sometimes you need to spell them out … and if you think the possibility for…

Continue Reading →

Posted in: PHP Scripts Filed under: convert, english, numbers, romanian, spell, words

Top 5 PHP replacements for Apache default directory listing

July 20, 2008 admin 5 Comments

You all know the default Apache directory listing .. and I bet most of you hate it. It does the…

Continue Reading →

Posted in: PHP Scripts Filed under: apache, directory, explorer, file, listing

PHP Warning: Cannot modify header information – headers already sent

June 21, 2008 admin 2 Comments

Message: PHP Warning: Cannot modify header information – headers already sent by (output started at /home/w.php:189) in /home/start.php on line…

Continue Reading →

Posted in: PHP warnings Filed under: echo, header, output, print, redirect, warning

PHP Warning: fsockopen(): unable to connect (Connection timed out)

admin 5 Comments

Message: PHP Warning:fsockopen(): unable to connect to rpc.technorati.com:80 (Connection timed out) in /home/public_html/pinger.php on line 66 Error type: warning Symptoms:…

Continue Reading →

Posted in: PHP warnings Filed under: connect, dns, fsockopen, server, sockets, timeout, warning

PHP Warning: Variable passed to each() is not an array or object

admin 3 Comments

Message: PHP Warning: Variable passed to each() is not an array or object in /home/functions.php on line 23 Error type:…

Continue Reading →

Posted in: PHP warnings Filed under: each, list, loop, warning, while

Post navigation

Page 1 of 2
1 2 Next →
Copyright © 2023 PHPedia — Ascension WordPress theme by GoDaddy