PHP Version 5.2.4
apache2.0.55
If you want to connect to Oracle (under the instructions, you do not understand Oracle, but you can connect with PL/SQL), this machine is only apache+php+mysql,oracle server is remote,
I searched the web for PHP to
PHP Database
This is the database I built.
What I want to do is: the front-desk customer enters the user name (username) and password (password), then I go to user_table table, find and username matching items, if not, then return, if any, then
I need to display a random number (5 bits) on a page
Requirements, this number changes every day, after 12 o'clock in the morning change, refresh unchanged.
Reply to discussion (solution)
Session_Start ();if (Date ("%h%s", time ()) = = "00
Alice cos Alice dress Alice in Wonderland Alice Crazy return Alice Flower Pot Alice hands-on Alice maid Alice Park Alice Phil Alice hand bag Alice Retro-Love-Alice-Alice
I'm going to take this page now.
to the
The value of the title in
Rewritecond%{http_host} ^xxx.rtkuhn.com$ [Nc]rewritecond%{request_uri}!^/xxx/rewriterule ^ (. *) $/xxx/$1RewriteCond %{http_host} ^xxx.rtkuhn.com$rewriterule ^ (/)? $/xxx/index.htm [L]
This code can automatically rewrite the name of XXX
PHP Pictures
Background-image
echo "Welcome to use the message board system";
Echo '
';
?>
...
This paragraph I saw on the internet, but I feel like a little irrelevant. Please teach me the elder brother.
Reply to discussion
Socket PHP UDP socket_write ()
Recently done a project, need to use the PHP socket communication aspect, now I tested, under TCP can be successfully sent from the client to the server, the server can also return to the client information.
However,
Encrypt PHP
0156;?>@ 2013
Exit ();__halt_compiler ();?> 2004072203 3 8707 14927 x?? Excuse me, what is this encryption? Which software was used to decrypt it?
Reply to discussion (solution)
Mark used the Zend framework before, but he didn't
Recently to a previous project revision, previously written classes are basically the accumulation of some methods, a class has hundreds of k size, is not even object-oriented, or called pseudo-object bar. Take a user class that was previously
Environment: Linux+nignx+mysql
Application: Editor+ckfinder upload image
A problem occurred: the request could not be completed due to a file system limitation. Upload Directory permission is 755
Baidu, Google are no fruit, ask the big God hint,
PHP New Wonderful
My PHP novice today encountered a wonderful problem request parameter has "new" the word
IE will report "invalid data" Firefox will not error
Asking the gods to popularize why
Reply to discussion (solution)
Put out the code
PHP use Json_encode can implement the following format output, if so, can you send an example? Thank you so much!
1 results returned: {"result": [{"userid": 001, "username": "Li Ming"}]}
2 Fruit knot return: {"result": [{"userid": 001, "username"
If you want to prohibit the search engine to access all directories and all files on this site, then it is necessary to create a robots.txt file in the directory is it? How to write the content?
Reply to discussion (solution)
User-agent:Disallow:
PHP garbled UTF-8
My MySQL database, database, data tables, fields, connection proofreading, are all UTF-8 encoded.
reg01.php submit Chinese data to Reg02.php,echo SQL statements and deposit into the database, are garbled?
Reg01.php has
This
MySQL Database User WAMP permissions
Mysql_connection Connection Database
If you use the root user, you can connect to the ~ ~
But if you use one of my new user users will not connect ~ ~
Excuse me, what is the reason?? I guess is not MySQL
Presumably, the class B method uses a lot of object instances of Class A, so I instantiate class A directly inside the class B constructor.
Class A{public $mes = "OK";} Class B{public function __construct () {///There are many methods to use the
echo "\ n";
Echo
My shop is \n "; echo "\n\n"; echo "feedback submitted\n"; echo "your feedback has been sent\n"; echo "\n\n"; Above code, run in the browser, no error, but the page does not show, a word is not, where is wrong? reply
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service