Knowledge Base Contributions
Below is a list of the knowledge base entries that Philip Olson has contributed to:
- Receiving -- Call to undefined function: mail() -- on a Suse 9.1 system using PHP 4. Any ideas?
- How can I get libxslt to work under php5?Where does one place the --with-xsl[=DIR] line?
- Warning Message from PhpMyAdmin/MySQL 4.1.10 win32 "mbstring PHP extension was not found ",
- How do I prevent user access to my images but allow my php scripts to display the images?
- Passing a variable from a URL - I can echo variables from within the PHP file, but not from the URL.
- How 2 manipulate HTTP_POST_VARS["my_var"] as array if "my_var" is gonna have a lot values (chkbox)?
- Call to undefined function ldap_sasl_bind(), yet other ldap functions work.
- Why don't I have phpize?
- I am eager to know the difference between the mysql_pconnect and mysql_connect please with example.
- Where can I find some detailed information on the use of such variables as %s ?
- Call to undefined function
- If a query to a database returns records show that page but with no records show another
- How do I redirect a brower to the approtite page pendding on user input from a form?
- How do i connect php5 to mysql4? I get "Class 'mysqli' not found" in the apache error log?
- What are some known PHP 5 bugs that might bite me?
- My Windows binaries are missing a bunch of PHP extension DLL's, why?
- Who are some faqt users that abuse faqts.com?
- How can I add 90 days to a date: like add 90 days to 7/23/2004 which is pulled from a text file?
- $PHP_AUTH_USER is not set from the Authentication box, PHP is running as Apache Modulem Why?
- Know of any logo tutorials?
- What is the difference between include() and @include()?
- Is it possible to get PHP to execute the 'auto_prepend_file' even if the main file does not exist
- How can I activate new sign ups sending them an email with a unique URL that expires in 72 hrs?
- How can I detect in PHP whether a request originated via the browser's address or via a link ?
- Why do my errors show up before the form is even filled in?
- How to connect hosting with domain name ?
- How can I access a JavaScript array with PHP??
- How do I use the simplexml extension?
- How do I use the mysqli extension?
- How do I use the sqlite extension?
- Is it possible to serialize private properties? It don't seem to using __sleep()
- Why do I get 'call to undefined function' when I try to use sybase_set_message_handler() in php4.3.6
- Disallow duplicate questions
- How should I word my PHP related answers for questions at php.faqts.com ?
- How can I redirect from a main domain to my personal web page?
- What exactly is the use of PHPSESSID in a URL???
- My Variables from a form aren't recognized on destination .php page, is this a configuration issue?
- what is the php statement which is similar to respone.redirect or server.transfer of asp?
- How can I download a pdf file using php
- How do I send values to a mySQL database?
- PHP: Install: How to install PHP on Microsoft Internet Information Server (IIS)?
- How can I output the latest 25 rows from a table ?
- How do I set the order of the output from a database to the display?
- How to Fix Err: Variable passed to reset() is not an array or object.
- Can I run php4 and php5 together as Apache modules? What about on IIS?
- How can I tell if a script is running from the command line (cli) or in a browser?
- How do I create alternating-color repeated regions with PHP?
- How do I turn a php script into index.html
- Is it possible to cycle through a series of variables called Xpos1, Xpos2...
Is there a way to reference a variable combined of two variables, as in Perl? e.g.: $name$i?
- "Fatal error: Call to undefined function: mysql_connect() in c:\inetpub\wwwroot\...."
Where did MySQL go? I'm using PHP 5.
- Where can I get more information about PHP5?
What has changed in PHP5? Will my PHP4 scripts still work?
Will I have problems migrating from PHP4 to PHP5?
- Where can I download PHP5?
- Tengo el error "Call to undefined function: imagecreatefromjpeg() " alguien me puede decir porqué?
- I edited php.ini, but does not changed that show in phpinfo?
- Does mysql_query return 1 or 0 on success?
- How do I get at $HTTP_SERVER_VARS['PHP_AUTH_USER'] variable under Apache, PHP on WinXP?
- How do i redirect to other php or web pages?
- How can i connect Oracle 9i with PHP?
- How input in the URL the "id"?
- I need to read a text file & display the contents on the web page from which the php script executed
- PHP will not find the proper libexpat library, instead sticking too an outdated path.
- What is this mean: Warning: Use of undefined constant
- Can I upgrade this version of PHP 2.02 to PHP 4.2.3 without turning my webserver off?
- Line breaks in a PHP script
- How can I pass a Javascript variable to a PHP variable?
- My browser send this error Fatal error: Call to undefined function: mysql_connect() in /var/www/html
- why this <a href="index.php?fuseaction=a_value">Link</a> doesn't work on php 4.2.3?
- I can't use the $REMOTE_ADDR variable: it just shows a 0. But in <?phpinfo();?> it shows up properly
- Does anyone know where I can find a list of supported databases? Please
- How do I run Unix command (i.e. file) within PHP code?
- How can I determine the client path of file uploaded through an html form ?
- How can i join two values to form a single value by using a seprator character?
- How to disable HTML, Javascript, etc in a TEXTAREA ?
- How to get the name of the current PHP file? to print its modification date in a global footer.
- Using ImageCreateFromJpeg($file) : Except from being a jpeg, how should $file be (filesize, ppi...)?
- When I use POST/GET methods to send my HTML input, the input will not appear in the next HTMPHP vars
- Undefined variable PHP_SELF and other submited form variables
- what is URL
- why is $_GET always an empty list ?
- How can I extract just the domain name out of HTTP_REFERER?
- What does COBOL and FORTRAN stand for?
- What is the best code to remove \ from user input when it is saved to file, or used in a variable?
- how can i define variable
- How do I make a php document the default index page on my server?
- How to make that $var get read from the url?ex: $var = name -> sample.php?name=John ->output is John
exapmle: http://foo.com/sample.php?name=John -> It writes out: Hello John
- How to install phpMyInventory on win98?
- Going with an include one directory deeper and one higher?
- How would i make a simple counter with text? (ie visitors: 17319)
- I'm new to CGI, what does CGI mean? It's not Perl right?
- How do I use CURL with PHP?
- how to input data from txt file into table where columns are separated with pipe ?
- Can i use PHP in Zope?
- I need documentation supporting the install of PHP on Netscape web servers.
- I did exactly from the book. It comes up as " Undefined variable." What's going on here?
I still don't understand *why* I get "undefined variable"; I'm posting two variables from a form; th
- What I do wrong to connect to a mysql DB-> Call to unsupported or undefined function mysql_connect()
- How do I include pre-formatted text into a PHP page?
- I want to store the contents of a directory(.jpg files) in an array then echo the values. HELP!
- Where do I find the solution to the following problem: Warning: MySQL Connection Failed: Can't connect to local MySQL server
- Why do I get the error: undefined variable: QUERY_STRING for predefined variable $QUERY_STRING ?
- How can I display random content?
- PHP: Is there an editor (like FrontPage is for HTML) for PHP?
- Using PHP, how do I send a http POST without using a form?
How can I add a file to the $data? As in a form containg an <input type=file>
- how can i input a list from a textarea into an array(one per line)?
- How do I create a string with A-Z in it. Like "ABC....XYZ"? Like $x=[A-Z]; or something?
- What is the syntax for a really long variable, in this case a whole form?
- Is it possible to test my PHP scripts on my own computer and what will I need to do so?
- How do I split() a string at unquoted whitespace?
- What is PEAR?
- I want to add 2 minutes with the current time(). How can I do it?
- Can I read the number of lines in a file without looping?
- 1. how to redirect from php page to another php page? 2. how to refresh a page?
- What is PHTML ? Is it the same thing as PHP ?
- Is there a function that ignores white space in a string?
- how can i pass 2 variables from php and include it in a hyperlink? eg: <a href=($variable1)>$variable2</a>
- How do you generate an url link to a text field in mysql (ie...php?art_id=2&...etc)
- How do I read out data from a text file line by line, and compare each line with a certain variable?
- Where can I find a PHP script for server mangement?
- Is there any variable or function to get the length of all data being received (posted data, header, etc)?
- How can I redirect using header() to http://www.domain.com/?mode=passwd
- Know of any reviews and comparisons regarding PHP and other Scripting Languages?
- Is it possible to have one form send its information to two places, such as a payment processor and an e-mail address?
- test: testing for text wrap
- Warning: Failed opening '../Globals.php4' for inclusion wht shall i do?
- A script straight out of manual doesnt work file() with URL the script shown in http://www.php.net/manual/en/function.file.php gives Bad File # etc.
- How can I tell if a site is running PHP?
How can I tell what version of PHP a website is running?
- How can I quickly have a look at these PEAR files?
- Where can I get info about the PEAR Database Abstraction Layer?
- Warning: No ending delimiter found in functions.php3 on line 1561
- Where can I get more information about XSLT with PHP?
- What are some ways to get PHP support?
- Is there a debugger available for PHP?
How can I debug PHP scripts?
- Warning: Nesting level too deep - recursive dependency? in Unknown on line 0. What does it mean?
- How do you print 2 HTML table columns from 1 select statement?
- Please explain the functions print_r and var_dump.
- How do I setup a central copy for multiple users?
- Intro level - I want to provide a set of four or five random responses to each different answer to a question. How do I do that?
- One variable in a page should be the filename itself. How to do this?
- I know Hinduism (sp?), Janeism (sp?), and Seventh-Day Adventists promote a vegetarian or vegan diet. What other religions do?
- How to a make page with variables, so you could run index.php?type=file.name ; and if the file name is not specified, it will go to a specific page.
How to do something similar to : index.php?home vs. index.php?type=home
Regarding This Statement : include $type . '.php'; , lets say i want to include 2 extensions instead
- I remeber that on www.php.net I saw an undocumented reference to disabling functions in your php.ini, what is this, as I can't find it anymore?
- Know of any tutorials on WML/WAP and PHP?
- When I install / configure PHP, the apxs command is not found, why?
- How do I get frontpage to recognize .php extensions?
- How could one php-script call some other php-script and how could give the first one to the second one the values of the variables?
- mssql "UPDATE [...] WHERE [...]" updates ALL records in my table !
- Know of any basic tutorials on PHP Classes and OOP?
- I'm new to phpMyAdmin, where should I start?
- I'm wanting to migrate to PHP4, where should I start?
- How can I delete an entry in LDAP recursive - (deletes entries and attributes under this entry)
- Fatal error: Call to unsupported or undefined function page_open() ? How do I fix this please...?
- how can I take a list and make each row a value in an array?
- I see a newly posted question similar to another already answered one, what should I do?
- How to make a GoBackButton with a picture?
- Is there a way to capture the URL from the page a visitor has come from?
- Can someone explain me how PHP interacts with Java ?
- how do i include a remote file using php
- How do I edit a questions "sources" ?
- [+] gettype : Get the type of a variable
- [+] print_f : Prints human-readable information about a variable
- I'm posting to an array variable from my HTML but in the script I get a string reading "Array". Why?
- A parse error seems to be specific to the first of 2 "endif" statements in a zip code checking script. Where should I begin to look to debug?
- Can I have PHP3 a PHP4 as apache module together ?
- Yet another test
- I want to restrict file sizes of the text files that I am using to store data. How do I write every 100th entry to a new file?
- How can I populate a pull down with with a few data fields from one table and then upon selection then intire row fills out the apropiate form fields?
- I'm new to sessions and cookies , where should I start?
I'm new to sessions and cookies , where should I start?
- How can I search $a for ##rand## and replace every occurence of ##rand## in $a with $b?
- is it possible to search newsgroups with php
- Hello. Does anyone know of a free hoster (like geocities.com) that supports PHP?
- Getting "Warning: Undefined variable: foo in D:\path\dir\file.php on line n" for all unposted variables. This error occurs even for if($foo) {
- How to do Browser, JavaScript, and CSS detection using PHP?
- Hello, does anyone know where we can find a course on php for beginners that can be taken via the internet. We are just getting into php from scratch.
- How can I get rid of "Warning: undefined variable" after receiving data from a form that doesn't contain data?
- Why "(file_exists("filename.ext")) ? echo "text1" : echo "text2";" doesn't work ? Works with print...
- Why can't I get my php scripts to execute when run from my cgi-bin directory?
- How do I get the Submit Button to submit when the Enter key is struck in Netscape?
- I know this next/previous script (http://px.sklar.com/code-pretty.html?code_id=77) but, isn't there any easyer way/script?
- I need an example for odbc_longreadlen. I cannot query a database field with the type long
- Are <PRE> tags required around the mail() function?
- How do you set and retrieve information from a cookie using php?
- I know in C++ there is something similar to: "$foo?echo 'true':echo 'false';" Is there anything in php like this and what is it's syntax?
- How do you install FrontPage 2000 server extentions for Apache Web server running on the Win2000 platform?
- If we have array(1,2,3,4,5) how can we add the values of the array eg this example =10
- Style Sheet appears in pages
- about "php3?id=xxxxx" OUTPUT RESULT TO HTML ...
In MySQL I have a primary key defined as a BIGINT. From a PHP page I pass the primary key of a recor
- I used "echo($value)" to parse value from a form submission but nothing is displayed. How can I display the "value" input from form submission?
- How can I select 3 different random elements from a single dimension array using rand?
- How can I call a command line executable from within PHP?
- I need some help on using phpMyAdmin to get started using the firepages php/apache/mySQL/phpMyAdmin bundle
- Where can I get more information about PostgreSQL?
- How do I sort a list of URLs on a page alphabetically?
- What does PHP stand for?
- Do you know of any tool like javadoc and doc++ that works for PHP code?
- What are some basic MySQL commands that I should know?
- When i include a txt file the html page ignores the end of lines. And i get one long line with text. I would have multiple lines with hard breaks.
Why is fread adding in the escape codes to a txt file that I am echo'ing
In the following script, how do I get hard line breaks? $GrabURL = "http://www.geocities.com/michael
- environmental variables such as query string are not passed to php code i.e. INCLUDE file="showacct.php"
- Now with PHP4, I can't no more pass variables in a URL http://ddd.ddd/ddd.php?toto=value ******* toto is always undefined ??
- How do I redirect http page, e.g. http://from.com to http://to.com in PHP code
- Can variables be included in a header? Like header("Location: $dir")
- Where can I find some free hosting space by an ISP offering PHP.
Free PHP/MySQL Web hosting without baner ads!
- Does Php have anything similiar to Perl's $string = <<END_OF_DATA ...(some text over multiple lines)... END_OF_DATA?
- How to include functions from a database instead of a file?
- Where can I get documentation for the Zend API?
- How can I add authentication to my site with PHP? I have authentication working only with one page.
- Can PHP be malicious like Javascript? As a surfer do I have any security concerns? I can disable Java, can I disable PHP?
if i add alert() in javascript it runs well else functionality not works properly
- How to display 'June 19, 2021' from the value '2021-06-19' got from a MySQL database using PHP3?
- I use a /cgi-bin/ad.pl for displaying rotating banners at the top of my html files. How can I insert the output of this cgi in an "included" file ?
- why can appear fatal error: cannot redeclare functinon_name in file_name ..
- Do Web search engines (Alta Vista, etc.) index files named *.php or *.php3?
- how do i install phpweblog?
- How can I parse a text file delimited with a string of characters.
- how do airplane wings work?
- how do toilets work?
how does a toilet work?
where does all that poop go?
- What is DNS? What various parts of IP address represent?
- Where can/should I register a domain name?
- What is the cost to register a domain site?
- is there www-client or wddx communication library for PHP ? something like libwww-perl
- How can I install php4 for iis4 on nt4?
- How do I display a "Last Modified ..." date?
- What's the best way to start writing a PHP program?
- How can I control error handling in PHP?
Can I log all PHP errors to a file?
- What is PHP ?
- I'm new to PHP, where should I start.?
- Does PHP work with Lotus Notes?
- How can I randomly shuffle the contents of an array?
- Does empty return true or false if the given value is zero (0)?
Are there any changes to the empty() function from PHP3 to PHP4?
- How do I pass a sting in a url eg. $MyString='Have a nice day'?
- I'm typing a multi-line sql statement, how can I go back to correct errors?
Does MySQL have a command line history?
- I'm new to MySQL, where should I start?
- Does MySQL have a full text search capability?
- What does the $$ mean in variables?
- How can I add/write to an existing file?
- How do you delete a file from a server using php from a web page?
- How do create a function to process each letter of a comma separated string?
- How to send a fax using php language
- How could I echo a variable which include "<? XXX ?>"
- Where can I find information about PHP enabled editors
- Why can't I run php from command line?
- How do you return an array from a function?
- What can I do with this error: "Call to unsupported or undefined function imagecreatefromgif()"
- How can I sort a file so that rows would be in alphabetical order?
- How can you display your PHP source code to the browser?
- Is there a good php mode for emacs?
- How do I set up a cron job on Linux?
- I get the error: Call to unsupported or undefined function imagecreatefromgif() when I try to use this function. But other image functions work normal
- how do I insert a new line using "echo"?
- How do I pass multiple variable in the URL String?
- How do I execute a CGI script from PHP?
- How can I show rows from a database in a table with alternating colors?
How can I use the Modulus Operator in PHP?
In a search result, how do you change the table (with the results) row color every result?
- How can I keep session variables?
Can I see a quick example of sessions in PHP4?
- How can I generate bar codes from PHP?
- How can I get the name of the user logged in using HTTP authentication?
What is the REMOTE_USER apache variable for?
- Is there a way of forcing PHP to require explicit variable declaration, as in PERL with "use strict" ?
- How do global variables and functions work?
Do I declare global variables at the top level or inside functions?
- How can I backup a MySQL database through PHP only?
Can I backup my database using PHPMyAdmin?
Is it possible to create a PHP script to backup a mySQL database?
Is it possible to create a PHP script to backup a mySQL database?
- Is there a limit on the size of GET and POST requests?
What are the differences between GET and POST?
- How can I do permanent sessions or authorization with PHPLIB?
- Do any search engines index .php files?
- Can I hide my PHP code?
- How can I get the URL of the current page that the script is processing?
How can I get the *FULL* URL of the current script, including the URL fraction (.../foo.php#bar)?
- How do I get the first n words of a string?
How do I get the last n words of a string?
- Can I return other file formats (like Word, Excel, etc) using PHP?
- How can I subscribe to the main PHP mailing list?
How can I subscribe to the PHP Knowledge Base mailing list?
- Where can I find a PHP web host?
- How can I setup PHP 3 with my old Netscape Enterprise 3 Server?
- Which tags should I use, <?php ?> or <? ?>?
- Why is $REMOTE_HOST returning an empty string?
- How can I get data from another web page into PHP?
Can I retrieve an external web page using PHP?
- Why doesn't my PHP shell script work?
Why will only print and echo work in my shell script?
- How can I convert all entries in an associative array into variables?
How can I make variables from the key names in an array?
- Can I use Javascript to determine if the user has a certain plugin installed?
How can I work out if a user has the flash plugin installed?
- Can I use variable function names in PHP?
- How can I get today's date and time in PHP?
How can I determine the current time in PHP?
- My query succeeds, so why doesn't $db->f(field) in PHPLIB return anything?
What is $db->next_record() used for in PHPLIB?
- Is there a PHP library for drawing graphs?
Is there a PHP library for drawing charts?
- Where is the php3.ini configuration file on a unix server?
What is the path to my php.ini file?
- How can I write a forum in PHP?
What database schema should I use to implement discussion lists?
Where can I find more information about building a bulletin board?
- How can I get the IP address of a visitor?
How can I get the domain name of a visiting client browser?
What is the REMOTE_ADDR?
- Are RPM's available on the PHP web site?
- If I altered the values (of a form submission) after a POST how do i display them back in the form?
- How can I build a printer friendly page?
- How can I pass variables to a script in the url like /script/var1/var2?
How can I pass variables in a form that won't scare off search engines?
- What is the official PHP logo?
Where can I get a 'powered by PHP' logo for my site?
- I've got MySQL connected, what do I do next?
- Where can I get PHP4?
What is Zend?
where can i get the latest mod-php RPM?
- How do I use cookies in PHP?
- What is a good editor for PHP under Windows (and or Linux, Unix, FreeBSD, Mac)?
- How can I ensure that data entered by the user is numbers only?
- Can I access Environment Variables from inside PHP scripts?
What Environment Variables are available to my PHP script?
What HTTP_ variables are available in PHP?
- Why does $HTTP_REFERER return an empty string?
- How can I check if a variable is defined?
Does isset() return true for empty variables?
What is the difference between isset() and empty()?
- AddSlashes keeps being run automatically. What's happening?
Why are the apostrophes and quotes in my form data always doubled up?
How do I stop my multi page form elements from looking like this: foobar\\\\\\\\'s?
- Can I use references to variables in PHP3?
- How do I run PHP from the command line or as a shell script?
How to pass an argument to php run as cgi?
How to change include_path for php run as cgi? (no access to php.ini)
How to encrypt my php code?
How do you install PHP in CGI Mode??? There is no doco on the subject!!!
- Where can I get a PHP Binary distribution for Windows?
- What is the difference between require() and include()?