Knowledge Base Contributions
Below is a list of the knowledge base entries that Nathan Wallace has contributed to:
Page: 1 2 3 4 5
- What causes the error "mysqld: Table 'mysql.host' doesn't exist"?
- How can I get information (name, size, type) about an uploaded file?
- How can I build a Yahoo-like link directory using PHP and MySQL?
Where can I get phpHoo?
- How can I create PNG images with GD now that it doesn't support GIF's?
Does PHP have support for PNG image generation?
- What are the steps for compiling pdflib with PHP?
- How can I create an email autoresponder using PHP?
- What does MySQL Connection Failed: Protocol mismatch mean?
- Will parsing all html files as PHP slow down my server?
- What are the steps for adding Oracle support to PHP?
How do i compile libraries of Oracle with PHP
- How can I store a hierarchical structure in a database?
How are folder systems stored in a relational database?
- How can I delete or deallocate an element from an array?
- How can I reset $PHP_AUTH_USER to log out a user?
- Do I have to pass a parameter to --with-mysql when configuring?
- How can I select all check boxes in a form?
- How can I search a file for a particular string?
- Do the OCI functions work with 64 bit Oracle?
- How can I use a Microsoft Access database with PHP?
- How can I set up a slashdot style site using PHP?
- What books are available about PHP?
- Should I run my firewall on my web server?
- How can I flush a file I'm writing?
How can I flush the file write buffer in PHP?
- How can I do a union in MySQL?
- Why can't PHP find my mysql.sock file?
- What does "File Upload Error - No Mime boundary found after start of file" mean?
- How can I run PHP code that is in a string?
- Can you give me quick instructions for installing PHP4 on Red Hat 6?
- How can I sort LDAP entries?
- How can I select all rows that have a date column more than one week old?
- How can I log suppressed error messages to a file?
- How do I append a new item to an array?
How can I add new items to the end of an array?
- How can I execute multiple unix commands with one system call?
- 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 can I work out what version of PHP I'm using?
- How do I set up PHP so the mail() function works with qmail?
Why won't the mail() function work with qmail?
mail()
- Does $PATH_INFO work under Windows?
- What does the OCI error "fetch out of sequence" mean?
- How do you respond to image submit buttons?
What variables are used to store the x and y positions from an image input button?
- Can I return other file formats (like Word, Excel, etc) using PHP?
- How can I get the current day of the year as a number (eg: 358)?
- How can I set the User-Agent string for the web robot I'm writing?
- How unique are values generated by MD5?
- How can I get the number of rows in a database table?
What's the fastest way to return the number of rows in a table?
- How can I replace all <table ...> tags?
- How can I loop over the values in an array?
- Where can I find a PHP project that supports polls?
- How can I subscribe to the main PHP mailing list?
How can I subscribe to the PHP Knowledge Base mailing list?
- What is a BLOB?
- How can I have two submit buttons in the same HTML form?
- How can I split a long string into lines without breaking up words?
- How can I convert an array into a string?
- How can I generate a random number in PHP?
- How can I generate a random alphanumeric password?
- How can I exit or break out of a while loop?
- Where can I use a hyphen (-) inside a [] set in a regular expression?
- Do I need to escape characters inside a [] set in a regular expression?
- How can I get the output of a perl script in my PHP script?
How can I get the results returned from a call to exec()?
On NT with IIS4, exec("c:/curl.exe", $out, $how) returns $how, but no $out. Why?
- Where can I find a PHP web host?
- How I can limit use of PHP to only one directory of a website?
- How do I connect to an ODBC database?
Where can I get an example of an ODBC session?
- How can I generate a unique value in PHP?
- How can I connect to MS-SQL from a Linux box?
How can I connect to ODBC datasources on a Win NT machine from
a Linux box?
- How can I select rows within a certain date range?
- How can I write a script that will read a mail message?
How can I invoke a script when an email is received?
- How can I move a file?
- How can I improve the performance of my very large site?
I have a lot of include()'d code, how can I improve performance?
- How can I get all file names stored in a directory tree?
How can I recursively get the name and size of all files in a directory and it's subdirectories?
- Can I use PHP to do real streaming?
How can I generate .ram files using PHP?
- How can I include an image only if the file exists?
- How can I get the details (tables, indicies, structure) of my Postgres database from PHP?
- How can I setup PHP 3 with my old Netscape Enterprise 3 Server?
- Will PHP return an error if I have a call to an undefined function but that code branch is not run?
- How can I write the resulting HTML from a PHP script to a file?
- How can I get a string of words from a form into an array?
Should I use explode() or split() to separate a string of words?
- How can I translate a date into another language?
- How can I copy a remote file without going through the fopen, fputs stuff?
How can I copy a remote file?
How can I copy a remote binary file?
what if I'm behind a proxy, how do i do the fopen then?
- Can I use imap_mail_move and imap_mail_copy to transfer messages from one mail server to another?
- How can I redirect different browsers to different pages?
How can I show a different page to each different browser?
- How can I make a link automatically open a new window?
- How can I get all words from a sentence into an array?
- How can I build a search engine for my site using PHP?
- How can I turn a string into an array?
- How can I make columns in MySQL case sensitive?
- What does the error "Failed to load resource DLL odbcint.dll" mean?
- Which tags should I use, <?php ?> or <? ?>?
- How can I make two cases in a switch do the same thing?
Does PHP switch work the same as C switch?
- How can I store user information in a database?
- Can I use the shared memory and semaphore functions on Windows?
- Can I register more than one shutdown function?
- How cam I sort the contents of a file using PHP?
- How can I scale an image to a different size in PHP?
How can I adjust the quality (and file size) of an image?
how can i find the height and width of an image?
how can i compare the height and width of an image?
- Can I access Microsoft Exchange server's information store from PHP?
- How can I tell if a class is defined?
- Does PHP support comma separated variable (csv) files?
- How can I get the value of a string or char when treated as an integer?
- Is the order of entries in an associative array guaranteed?
What order are entries in an associative array returned by each()?
- Can I submit a HTML form to an email address?
- Can PHP and ASP both be used in the same file?
- How can I replace a single reg exp match using ereg_replace?
- How can I create a variable in PHP with an ASP style Application scope?
- How can I get the month number from the month name?
- What happens if the user leaves a form field which is part of an array empty?
- What is ldconfig used for?
- Can I check Unix system passwords from PHP?
- Can I use Javascript to submit two forms simultaneously from the same page?
How can I run two cgi scripts with a single form submission?
- Where can I learn more about regular expressions?
What are some good books on regular expressions?
What type of regular expressions are used in PHP?
- Why are utf8_encode & utf8_decode in the XML module?
Why are utf8_encode & utf8_decode NOT in the string module?
- What's the fastest way to include a file directly into a page?
How can I include the raw content of a file into my HTML output?
- What's the easiest way to remove characters from the end of a string?
- What PHP type is used to hold values from a database?
Why are all results from a database query made into strings in PHP?
I can't convert TEXT in MySQL after retrieve to String in php3. String parse error occurs. How?
- How do I use clearstatcache()?
- Does require() use file system paths or web server paths?
- Where can I get a list of all the php3_ settings for Apache?
What configuration settings can I make for PHP in Apache conf or .htaccess files?
- How can I print out rows from a database as HTML?
- Why does sort() return things not sorted?
Why are my numbers from a database sorted in alphabetical order not numerical?
- Can I execute multiple database queries in parallel from the same PHP script?
Can I do simultaneous database requests in PHP in the same script?
- Why is $REMOTE_HOST returning an empty string?
- How can I a concatenate two arrays together?
How can I merge two arrays?
- How can I convert a string to lower case letters only?
Why do uppercase words always sort before lower case words?
- Why is my text insert into MSSQL being truncated?
- How can I replace the contents of a file?
- Can I access Javascript variables in my PHP script?
- Can I call a function with an optional argument referenced by name?
- How does autocommit work in Oracle and PHP?
Are two identical Oracle sessions in a script part of the same transaction?
- What does "call to unsupported or undefined function" mean?
- Is it possible to change the dn for an LDAP record?
- How can I get data from another web page into PHP?
Can I retrieve an external web page using PHP?
- How can I log users out of a page after a certain time period?
- How can I find out which option a user selected in a SELECT form?
- How can I send the output of a PHP script to a different frame?
- How can I clear the contents of an array?
Why does my array in a loop contain data from previous loops?
- What is the maximum length of a URL string?
What is the longest URL that Apache can handle?
Is there a maximum number of GET arguments that can be used?
- How can I force all requests to a certain directory to use SSL?
- Why does my Oracle SQL get committed even if I don't call commit?
- Why doesn't my PHP shell script work?
Why will only print and echo work in my shell script?
- What do the square brackets around function arguments in the manual mean?
- How can I use edit PHP code in Dreamweaver?
What is phpweave?
- How can I check if the user has Javascript enabled in their browser?
Can I find out in PHP if the user has Javascript turned on?
- Why are my images produced by GD so big?
Why does using the image functions increase the size of my image?
- What is required to use the Oracle functions in PHP?
Do I need the Oracle client libraries installed to use the PHP Oracle functions?
Cant get an ODBC connection to an Oracle DataBase on WinNT 4 failure Mess is: TNS:Der Servicename ko
- How can I run a Java program from my PHP script?
- Does PHP support C-syntax if statements without braces?
- Is there an Integrated Development Environment (IDE) available for PHP?
- Can I use a name anchor and get variables in the same URL?
Why won't client side image maps work when I have a name anchor and get variables in the URL?
- Can I escape from PHP code anywhere?
Can I mix code and HTML tags?
- Will calling getimagesize() for every image on a page slow things down?
- How can I run server side includes (SSI) and PHP together?
How can I call server side includes from PHP scripts?
- How can I convert all entries in an associative array into variables?
How can I make variables from the key names in an array?
- Why can't I get the PHP debugger to work?
How do I enable the debugger for PHP?
- Can an OCIExecute stmt
return a failure if you issue a user defined exception in your stored
proc?
- Can I execute Oracle stored procedures in PHP?
Do I have access to Oracle OUT parameters in PHP?
How do I access Oracle stored procedure return values in PHP?
- 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 an ASP style cookie dictionary in PHP?
- Can I use Javascript to encrypt passwords entered in HTML forms?
How can I send a users password from a HTML form back to the server encrypted?
- Are recursive functions supported by PHP?
- How can I use an external mail server from PHP?
- How can I transform a boolean search request into an SQL query?
- Why isn't PATH_INFO working?
When is data available in PATH_INFO?
- How can I limit the number of records returned by PostgreSQL ?
- Could I use PHP to send a news letter?
Can PHP be used to do mass mail outs?
- Why does my content in angle brackets disappear?
How can I escape HTML so it will be displayed to the user by the browser?
- Can I install PHP along with mod_ssl?
- Does PHP have multiple inheritence?
Can a class have two parents?
- How can I write to a file on the PHP server?
How can I write the contents of a variable to a file?
- Do included files have to have PHP tags?
- What's the best way to return a random row from a table?
- How do I prevent a file from being included twice?
Is there an equivalent to C's #IFNDEF?
- How can I run Apache and PHP in a chroot environment?
Can I connect to MySQL when running in a chroot environment?
- What is the OR operator in PHP?
- How can I check the size of a file on the client side?
How can I limit the size of files uploaded to the server by a user?
Why when the uploaded file size exceeded the MAX_FILE_SIZE, the file size is set to 0 (using PHP 4.0
- Why is my httpd binary very big with PHP installed?
- How can I get the users time?
- Are there any resources for Italian developers?
- What type of password does imap_open() expect?
- How can I tell if the user has aborted the download?
How can I force a script to execute completely even if the user aborts?
- How can I work out the days in a month?
When was the 't' option for date() introduced?
- How can I stop text from wrapping in a browser?
- What is the client server sequence for setting a cookie?
How can I check if a browser accepts cookies?
- Can I run a Javascript function automatically when someone leaves the page?
How can I know that a user has left a page?
- Why can't I see the contents of my cookie in a function?
- Can I use variable function names in PHP?
- Can I use PHP to add a new user and password to my Unix system?
How can I add a new user to my FreeBSD system using PHP?
- I have a form with 4 buttons, how can I run a different PHP script for each?
Can I run different PHP scripts from the same form submission?
How can I make change the action URL for a form using Javascript?
- What's the easiest way to move MySQL data between servers?
How can I move my MySQL tables and data up to my web host?
- Can I configure PHP on a per virtual host basis?
Can I configure PHP on a per directory basis using .htaccess?
- How many times can or should I call pconnect?
- How can I get the MX records for a domain from inside PHP?
How can I get DNS records for a domain or IP from inside PHP?
Can I get the IP address for a known host in PHP?
- How much memory do I need to compile PHP?
Why do I get a "virtual memory exhausted" error in bison when compiling?
- How can I read from a file and strip all HTML tags?
What is fgetss() used for?
- Can safe mode be used on a per directory basis?
How can I give my web server users access to only PHP in safe mode?
- Can PHP be run using fast cgi?
- Is there a module version of PHP available for Windows?
- Is there an ISAPI or NSAPI version of PHP?
- What does a "too few parameters" error message mean?
What is a common cause of the "too few parameters" error message?
- Why won't my table display in the browser?
Why do my tables only work in Internet Explorer, and not Netscape?
- Is the memory used by variables freed automatically during script execution?
Do I need to explicitly free the memory used by variables in PHP scripts?
- How can I create a cookie that works with both www.mydomain.com and mydomain.com?
Is a cookie set for www.mydomain.com sent in a query to mydomain.com?
How do I create a cookie thatreconise if a user has already seen the intro of a site,so that when
Could you please give me a few steps on how to create this cookie?
- Can I use PHP to interface with an AS/400 database?
how can i do a remote connect from PHP using the --with-ibm-db2 code which relies on the DB2 CLI lib
- How can I get the error message for a failed database operation?
- How can I use a tab character as the delimiter in split() or explode()?
How can I include a tab character in a string?
- How can I get today's date and time in PHP?
How can I determine the current time in PHP?
- Does MySQL support subselects?
Can I do a subquery in a MySQL query?
- How can I fetch the field name and data for every row of a database query result?
How can I get the column (field) name from a database query result row in MySQL?
- When does Internet Explorer try to retrieve favicon.ico?
Why do I get favicon.ico errors in my logs?
- My query succeeds, so why doesn't $db->f(field) in PHPLIB return anything?
What is $db->next_record() used for in PHPLIB?
- Where can I get PHPLIB?
Does PHPLIB run on Windows NT?
- How can I get the referer string in PHP?
What is the referer?
How can I find out what site a visitor has come from?
- What are .afm files used for?
Does t1lib use font metrics files?
Do t1lib fonts use kerning information?
- How do I compile PHP with support for T1Lib?
Why isn't T1Lib automatically installed with PHP if it is detected on the system?
- How can I turn all URL's in a string into working links?
- Which is better to use fsockopen() or mail()?
When should I use fsockopen() instead of mail()?
- Why is my source code patch file rejected?
What is the patch program?
- Why does my browser say "Data Missing" when I use the back button?
- Which one is faster for looping, for or while?
- How can I change the HTTP header that is sent back to the client?
Can I send a HTTP header code other than 200 from PHP?
- What are some good PHP editors for Linux?
- Can I rely on mysql_insert_id when using persistent database connections?
Are there any problems to be aware of when coding for persistent database connections?
Do I need to treat persistent database connections differently?
- Which one is faster to connect to the database, connect or pconnect?
- How can I send a 204 No Content header back to the client?
What is the 204 No Content header used for?
- How can I send mail notifying the webmaster from a 404 Not Found error page?
What environment variable holds the missing url when Apache redirects to the 404 page?
- How can I generate and update an Apache htpasswd from PHP?
- Is function_exists() case sensitive?
Are function names case sensitive in PHP?
The function MyTest exists, why does function_exists("MyTest") return false?
- Why is odbc_num_rows always returning -1?
How can I work around the problem where odbc_num_rows always returns -1?
- Can I close a persistent connection?
Are persistent connections ever closed?
What causes the error 'MySQL Connection Failed: Too many connections' ?
- Does uniqid still generate a unique id on SMP boxes?
- 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 get the disk space used by all files in a directory tree?
What is the unix command du used for?
- How can I print a table of all the global variables in my PHP script?
- How can I work out the size of an image from within PHP?
- Do I need to put CR and LF after HTTP protocol elements?
Do HEAD and GET HTTP requests require a CR and an LF?
- Can I create an image by pasting together other images?
- Does PHP support COM or DCOM?
Does PHP support JAVA?
Does PHP support CORBA?
- What does the error "input in flex scanner failed" mean?
- Can I make an assignment to $this in a class method?
How can I reset or clear the value of an object?
- Can I reference arrays without quotes?
Does PHP support the use of bare words?
- Why aren't my cookies set when I follow setcookie() with a redirect?
- How can I run all form variables through a function automatically?
- Can I load a different php3.ini file depending on a directive from the httpd.conf file?
- Can I append to a file using FTP through fopen()?
- How can I strip certain HTML tags from a string?
- What is the best way to store credit card information?
Should I email credit card information to myself?
- Do I have to escape square brackets in a regular expression?
- How can I get the ordinal for a number (eg: st for 1st, th for 24th) ?
- How do I pass a variable to the compare() function when calling it from usort?
- How are strings constructed in PHP?
What quotes can I use to make strings in PHP?
Can I include a variable reference in a string?
Can I reference array variables inside a quoted string?
Why won't multi-dimensional array references work in a quoted string?
Why does '$foo' not print the value of the variable $foo?
How do I include the value of a variable or array element in a string?
Will php in near future support complex quote like statements(like in perl), i.e. qq(This is the str
- Can I use PHP and SSI in the same document?
- How can I sort results by a certain column?
- How can I stop users on my web server from using system()?
How can I setup PHP for safe scripting only?
- How can I create a column in Postgres that auto increments?
How can I insert data into Postgres with an automatic unique ID?
- How can I create a column in MySQL that auto increments?
How can I insert data into MySQL with an automatic unique ID?
- I have added a function to file.c and recompiled. Why doesn't it exist in PHP?
- 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 read a line at random from a file?
- Why does mcrypt add NULLs to my string before encrypting it?
- Do I need to use locking when keeping a counter in a file?
Why does my counter keep resetting to zero?
Will I have concurrency problems with my counter?
- How do I stop PHP pages from being stored in the browser's cache?
What is the Cache-control header used for?
- Where can I find the values of nameless arguments in a GET request?
How can I find out if bar exists for a request like http://foo.com?bar?
- How do I escape quotes in strings sent to Microsoft Access?
- Can I run both PHP2/FI and PHP3 on the same machine?
- How can I remember data from the first page through a multi-page form?
- How can I check safely that strpos found the string?
What happens when strpos finds a string at position zero?
- What is leak() used for?
- What does the _xstat error when I run Apache mean?
- What does the _register_frame_info error when I run Apache mean?
- How can I uninstall a RPM?
- 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?
- How can I delete a file from PHP?
What does unlink do?
- How do I specify the default document in a directory?
How do I set the index file name for a directory in Apache?
- Will an MD5 encoded string ever have spaces in it?
What form does an MD5 string take?
- How can I upload multiple files in one PHP script?
Can I create a form that enables the upload of multiple files?
- Why is fgets() always adding slashes to the string it returns?
- How can I remove unwanted characters from a string?
- Does PHP compile or interpret code?
Does PHP allow for the caching of compiled code?
How many times does PHP read a file from disk when interpreting it?
- Why won't exec("rm $filename",$r1,$r2) delete my file?
- How can I change the sender of mail sent from PHP?
Why is the sender of all my mail messages "apache"?
- How can I encrypt and decrypt data in PHP?
- Why are there twice as many persistent connections than httpd processes?
- How can I export the results of a MySQL query into a text file?
- How can I do a case insensitive search query in Postgres?
- How can I get the part of a request after the question mark?
How can I get the query part of a GET request?
- Can I use mod_perl and mod_php in the same Apache installation?
- How do I install Apache, MySQL, PHP3, mod-ssl on the same machine?
- How can I serialize a class in PHP?
- Are RPM's available on the PHP web site?
- Why is Apache trying to authenticate twice?
What happens if the Apache ErrorDocument is in an authorization realm?
- What software would I use to read my IMAP folder with Apache and mod_php?
- How do I install PHP3.06 with IIS4 on NT4.0?
- What does mysql_query return if the select returns no (0) rows?
When does mysql_query return false?
- Can I use Oracle cursors to do an update query?
- Can I use imap_num_recent without having the messages marked as seen?
- How can I store images in a database?
- What is the easiest way to write out an array to a file?
Page: 1 2 3 4 5