5 More Discussions You Might Find Interesting
1. What is on Your Mind?
On Saturday May 4th the forums will briefly break when I switch our Apache PHP 5.6 module to PHP 7.0.
Previously, I had two sites set up for testing the migration, but for many reasons, the second site has additional issues unrelated to PHP 7.0 so it is hard to debug on a different site and... (3 Replies)
Discussion started by: Neo
3 Replies
2. Shell Programming and Scripting
so i have a bit of a unique situation.
i have an encrypted index.php file that that can't be run the normal way that a web browser would run it. if it is run the normal way, the php script will show only gibberish on the web browser, instead of the actual php code.
when run from the command... (8 Replies)
Discussion started by: SkySmart
8 Replies
3. Red Hat
Dear All,
My redhat version is:
# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
#
# uname -a
Linux cotapplication3.cot.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
#
I want to update my php from:
# php... (1 Reply)
Discussion started by: monojcool
1 Replies
4. UNIX for Advanced & Expert Users
hi,
while separated they produce the usual mail alert and i can see the output...
if i write into the php script:
<?php
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script1.php');
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script2.php');
system('php -f... (0 Replies)
Discussion started by: 7stars
0 Replies
5. Web Development
Hello guys,
Does anyone can help me?
I've just made my simple index.php without any code, but after insert session code to check if any user is authenticated, my index.php doesn't work anymore.
Any fresh eyes could help me to see what and where the code is wrong?
<?
if... (6 Replies)
Discussion started by: metalfreakbr
6 Replies
MYSQLI(3) 1 MYSQLI(3)
The mysqli class
INTRODUCTION
Represents a connection between PHP and a MySQL database.
CLASS SYNOPSIS
mysqli
mysqli
Properties
o
int$mysqli->affected_rows
o
string$mysqli->client_info
o
int$mysqli->client_version
o
int$mysqli->connect_errno
o
string$mysqli->connect_error
o
int$mysqli->errno
o
array$mysqli->error_list
o
string$mysqli->error
o
int$mysqli->field_count
o
int$mysqli->client_version
o
string$mysqli->host_info
o
string$mysqli->protocol_version
o
string$mysqli->server_info
o
int$mysqli->server_version
o
string$mysqli->info
o
mixed$mysqli->insert_id
o
string$mysqli->sqlstate
o
int$mysqli->thread_id
o
int$mysqli->warning_count
Methods
o
mysqli::__construct ([string $host = ini_get("mysqli.default_host")], [string $username = ini_get("mysqli.default_user")], [string
$passwd = ini_get("mysqli.default_pw")], [string $dbname = ""], [int $port = ini_get("mysqli.default_port")], [string $socket =
ini_get("mysqli.default_socket")])
o
bool mysqli::autocommit (bool $mode)
o
bool mysqli::change_user (string $user, string $password, string $database)
o
string mysqli::character_set_name (void )
o
bool mysqli::close (void )
o
bool mysqli::commit ([int $flags], [string $name])
o
bool mysqli::debug (string $message)
o
bool mysqli::dump_debug_info (void )
o
object mysqli::get_charset (void )
o
string mysqli::get_client_info (void )
o
bool mysqli::get_connection_stats (void )
o
mysqli_warning mysqli::get_warnings (void )
o
mysqli mysqli::init (void )
o
bool mysqli::kill (int $processid)
o
bool mysqli::more_results (void )
o
bool mysqli::multi_query (string $query)
o
bool mysqli::next_result (void )
o
bool mysqli::options (int $option, mixed $value)
o
bool mysqli::ping (void )
o publicstatic int mysqli::poll (array &$read, array &$error, array &$reject, int $sec, [int $usec])
o
mysqli_stmt mysqli::prepare (string $query)
o
mixed mysqli::query (string $query, [int $resultmode = MYSQLI_STORE_RESULT])
o
bool mysqli::real_connect ([string $host], [string $username], [string $passwd], [string $dbname], [int $port], [string $socket],
[int $flags])
o
string mysqli::escape_string (string $escapestr)
o
bool mysqli::real_query (string $query)
o public mysqli_result mysqli::reap_async_query (void )
o public bool mysqli::refresh (int $options)
o
bool mysqli::rollback ([int $flags], [string $name])
o
int mysqli::rpl_query_type (string $query)
o
bool mysqli::select_db (string $dbname)
o
bool mysqli::send_query (string $query)
o
bool mysqli::set_charset (string $charset)
o
bool mysqli::set_local_infile_handler (mysqli $link, callable $read_func)
o
bool mysqli::ssl_set (string $key, string $cert, string $ca, string $capath, string $cipher)
o
string mysqli::stat (void )
o
mysqli_stmt mysqli::stmt_init (void )
o
mysqli_result mysqli::store_result ([int $option])
o
mysqli_result mysqli::use_result (void )
PHP Documentation Group MYSQLI(3)