Hello
I have a very simple test form named pass.php :
form action=pass.php method=POST
username : input type=text name=user br /
password : input type=password name=pass br /
input type=submit value=gop
/form
?php
$user=$_POST['user'];
$pass=$_POST['pass'];
if(($user==myname)($pass=mypass))
Hello
Richard, that is exactly what I was looking for. thanks alot
Paul, I didn't know its possible to use error_reporting(), that's a good
hint thanks.
btw if you guys know any simple php application that I can study and learn
faster than going through books please let me know. I tried
Hi
I'm trying to use clean urls in my application:
lets say convert http://mysite/article.php?id=3 to
http://mysite/article/3/
my problem is to use /article act as it was /article.php
here is mt .htacess :
FilesMatch ^article$
ForceType application/x-httpd-php
/FilesMatch
on php code parsing
what if I don't have access to server to enable mod_rewrite like a hosting,
is there anyway to work around?
just don't want to build entire website and finally can't get a hosting to
enable mod_rewrite for me.
Andrew Ballard aball...@gmail.com wrote in message
hello
I have a problem to check whether a function successfully inject to database
or not, here is the code :
if($object-dbupdate())
echo 'done';
else
echo 'damn!';
inside the 'if' statement $obj-dbupdate() doesn't execute , how can I
execute and check if it was a successful
hello
I recentrly uploaded my project from localhost to a hosting and found many
errors and warnings which didnt have in local. one of the most annoying one
is header('Location xxx').
I have used header to redirect users from pages, and kinda used it alot. i
know about the whitespace causing
of your code, and
ensure that all of your logic that could result in a header call is run
BEFORE you send any html code. Is going to be tricky if mixing html and
php calls.
George
On 10-Sep-09, at 12:27 AM, A.a.k wrote:
hello
I recentrly uploaded my project from localhost to a hosting
7 matches
Mail list logo