Title, the little brother PHP is very vegetable, only basic knowledge of PHP code,
Recently there is a need to do websokect chat room, but the backend code has been running through,
I use Wamp to do PHP server, is not PHP in support of Websokect
Buy goods, group purchase is generally false data bar, how to deal with it better?
Reply to discussion (solution)
?? Crontab per minute? Since??? Increase M~n?
Would it seem too fake to have other solutions
?? Crontab per minute? Since???
There was a problem on the server at the time of uploading.
The debug has been turned on, but it doesn't show the service side error.
Now want to swfupload upload the server error code output to the page for easy debugging
Upload the PHP error
So, I wrote a login, using the session. When you log in, store the SessionID with Redis.
Now I want to implement a function, that is, two users login to the same account, after the login to the front of the login to squeeze out.
One of my ideas
http://192.168.1.253/index.php/Home/Index/index4/kind/Creative/media/entertainment like this I want to put creative/media/entertainment as parameters to the next method, but kind can only receive ideas in the back and not receive I think it may
I. First PHP program
1. Write a file with the suffix named helloworld.php
2. Place the helloworld.php file in the Web server's document root directory
3. Access the helloworld.php file under Web Server management via the browser:
Recently found in class to assign a value to a private variable call the function will be error, not its interpretation, OOP, novice, please master explanation?
Class Test extends Controller { //test Private $test = count (' csdn ');}
This is a piece of code for the index template on the Ecshop phone.
Define (' In_ecs ', true); require (DirName (__file__). '/includes/init.php '); $type =!empty ($_get[' type ')? $_get[' type ': ' Best '; if ($type! = ' best ' && $type! = '
Request an Apache address rewrite the rule
1, when the URL input http://xx.aaa.com access to http://xx.aaa.com/xx/index.html
Access http://yy.aaa.com/yy/index.html when the URL is entered http://yy.aaa.com
Reply to discussion (solution)
Want to use PHP how to get the value of JS prompt, think of using hidden form to get, but do not want to set the Submit button, how to submit data, how to change the following code, to get PHP how to get the value of JS prompt inside, solve?
Click on a button to implement the packaging of multiple images to download, you need to be prompted, that is, to indicate the package files to what directory of the kind, for guidance
Reply to discussion (solution)
Packing?? :
How can you put this array ([0] = 5,6,7,8,12 [1] = 5,9,10,13 [2] = = 7,9,15,10)
Synthesize such an array ([0] =>5,6,7,8,12,5,9,10,13, 7,9,15,10)
Put different key values under one key value
Reply to discussion (solution)
One-dimensional
Recently colleagues are playing WP, just in passing together to see the next. She says there's a plug-in that doesn't work. is a plugin called user Access Manager
The specific performance is to fill in the background of the corresponding roles
Nine reasons to choose a smart podcast:
1 have the strength not afraid of dazzle, we love that is out of the book out of the Open source project
2 lead the new technology, let our students walk in front of others, the first to launch
1. Cannot save in crontab
Run Select-editor Select the second nano ... Then run CRONTAB-E according to the following prompts ^o write and ^x exit the program. Or select 3, use Vim to edit
Configuration steps:
1.Linux you must compile and install
There are no pictures in the discovery server.
Reply to discussion (solution)
Directory Write permissions?
Directory Write permissions?No error permissions also have only the server inside no I upload this picture I just changed the
My problem is this.
Once can not upload, back in the online to see the modified method, after the change, the picture can be uploaded to the specified directory.
But the list is empty and there are no indented bitmaps (the path is incorrect),
Is
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