Suppose user enter some text into a form. The text has different line and spaces in between. But when he submit the form, my $HTTP_POST_VARS['textEntry'] scrambled all the text into one line.
How can I make the text not scrambled/combine together into one single line?
I put code:
error_reporting(E_ALL^E_NOTICE);
$str .= "abc";
echo $str;
-- does not trigger warning message, but:
error_reporting(E_ALL^E_NOTICE);
set_error_handler("myOwnHandler");
-- trigger warning message, how come?
My question is that I turn off the warning report but how come it still pass...
Can anyone teach me how to hide my HTTP_GET_VARS in the url address, without using the frameset method?
I tried to use header() to call self page, but it just could not work... why???
Thanks.
Does anyone know how to generate a page with smarty and the page has an expiry date?
How can we check whether this function has taken effect?
source:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
Many thanks.
Is there any PHP script that can help me to generate a fix length cipher text and decrypt it as well?
By the way, my server does not support any DES, AES, mcrypt...etc that provided by PHP... :-(
How can I call sub-query in MYSQL? For example:
SELECT * FROM pr_groups WHERE pr_groups.group_id=(SELECT groups_id FROM pr_items)
Besides, does mySQL allow creation of query file like MS-Access, so that I can call the query file from another query statement. For example:
SELECT * FROM...
When I access http://127.0.0.1, I can see the Apache test page. But, when I access http://localhost, the test page does not appear and wait until timeout.
Can anyone tell me how to fix it?
Hi, everybody.
I have a form with 2 buttons (Back and Next), I wish to make the Next button as default (means when user press Enter key, this button will be clicked).
Is there any way I can do it?
Hi! everybody.
My problem is that the value of the SESSION_VAR in previous page will lost if I call header function. I test it localhost is ok, but cannot work in my web server.
Is it something regarding the settings? Is there any alternatives? Is it safe for me to pass through URL? How to do...
My computer is connected within a workgroup and one of the computer serve as a proxy for us to send/receive our pop3 mail. It work fine with my outlook express. But, when I tried to put the setting in my php.ini, it does not work.
Can anyone help me?
By the way, I am using Win98 with Apache...
I intend to make my page size to be 760X420, but I couldn't set the page size. the menu always disabled and the page size always to be 564X334.
Can anyone help me how to solve this problem?
I have tried several solution but I just could not make my CD-RW detected as CD-RW. It only shown up as CD-ROM and it does not display "Erase this disk" option, even I have tried modify the registry and IMAP services... and even update the fireware... it still does not work.
What can...
Can any one help me...
I have created a line graph to show progress of different items within a period of time. Sometime user might want to show several item instead of all; OR, they want to set different date range.
I can do this nicely in FORM, but when come to REPORT, it does not allow me...
I'm planning to develop a dynamic content management website for my organization, but I have problem in documenting the idea/webpages.
I have learnt some software engineering technique in documenting software, but it seem does not fit the needs of a website design.
Can anyone suggest some of...
I'm having problem to startup Apache in my Windows XP. It shown up "32548: Only one usage of each socket address ... is notmally permitted...blah blah blah...."
Help me... I am stuck now!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.