I want to collect all the posts URL address on the following page
Http://www.discuz.net/forum-10-1.html
The post format is
Http://www.discuz.net/thread-3265731-1-1.html
As long as the URL is linked, the result is one line
Reply to
On-premises access no problem,
After uploading to the space, a page will appear with the following prompt:
The space quotient looked for a day, did not find out, do not know that there is no one has encountered this problem, solve.
Reply to
Want to implement in the left frame to select the judging condition, then submit, and pass the condition to the page, and locate in the right frame, do the database operation and display, whether this header ("location:page.php?data=**
Free of charge is available.
Requirements: stable, timely.
Leave the website website of the platform, thank you!
Reply to discussion (solution)
http://open.189.cnThis cool, with your own phone hair, you say convenient not?
Do you have
Class xx{
Private $GG = 30;
function __get ($cute) {
return $this $cute;
}
function __set ($n, $val) {
$this $n = $val;
}
}
$xxx =new xx ();
Echo $xxx->gg;
?>
Really want to get $gg ... You set the $GG to public, and you're done?
Reply to
Cookie Login
Every time there is a cookie on the login to the cookie automatically fill in the form, stop at the login page, how to do, I can only jump directly
Reply to discussion (solution)
Cookies automatically take the past without the need
Get the page remotely, just take the first few lines of HTML! How to Do ~
The whole page is made with file_get_contents!
what function to take is free to choose! Fsockopen often let the server off!
File_get_contents ways to take the number of
PHP JSON
Recently in the generation of PHP generated JSON, want to implement paging, the code below has been able to create the array, paging how to implement it? Want to achieve every 10 pages of the page
Connection Information
$host =
Smarty Encoded Database MySQL
This is a smarty function I registered.
function CharsetUTF8 ($params) {extract ($params), $str =iconv ("gb2312", "UTF-8", $text); return $str;} $smarty->register_function ("Util", "charsetUTF8");
MySQL PHP HTML
1, Table_arr "" In the HTML code is saved. Used to display a table on a Web page.
2. The field of the code snippet in the database that holds Table_arr "" is in the text type.
My problem is that with one more save $table_arr[] content,
PHP Framework
Ask a question. After landing on the homepage index.php, go to check.php to verify, verify success, jump to main.php, how to let main.php in the frame of the home page
Directory of the website
D:\ Paving Mesh \nnpm.cn
D:\ more files and folders out of the storefront network
Boot. INI (folder)
-0.htm______.html
-0.jpg______.html
-0______.html
boot.ini______.html (file)
Etc
MySQL like
There's no such statement Like what $str = "Hello, have you eaten today?" steamed bun or a pancake? Bun inside also a little vitamin than cake good "; database table t1 is stored in theID Name1 Vitamins2 Eat3 Sport4 Entertainment What
foreach ($_post[' LoginForm ') as $name + = $value)
What does the red part mean?
Reply to discussion (solution)
= = Represents the array memberThe left side is the subscript or the correlation key, the right is the value
You understand that
MySQL PHP anti-injection
I found a lot of them online. Most of them are error-- Or the anti-injection function is not available.
Reply to discussion (solution)
if (GET_MAGIC_QUOTES_GPC ()) { $lastname = stripslashes ($_post[' LastName ');}
PHP seems to be able to automatically get the data for a post or GET request, without having to use a $_post or $_get array to get it. For example:
$userName =$_post["UserName"];
$PS =$_post["PS"];
echo "The user name you entered is:".
Red code is a problem, not add to normal. Is this the question? Can you discuss it in depth? is not the stack problem?
Public Function Getuserstatus ($uid, & $userstatus)
{
$array = Array (
' Ilevel ' = 0,
);
Intermediate ellipsis Get Code
$arr =
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