Hello..
I made my Login and registration pages and everything is okay.. but what I want now is
to know how to make this :
A PHP page for the administrator.. that has a TextBox (UserName).. he will enter a
user name in it.. after that he will press the button (Activate).. Now by pressing
that b
I did a search and I found my request :)
Notice : I'm sorry I didn't tell you anything about me and my brother.. So I
attached with this message our CVs.. hope you will know that I'm at 9th
class at school :)
That why I ask very much :)
Regards..
- Original Message -
From:
Hi all.. I made this code for the login.php page.. it will compare A value from the
users machine (Serial) and with a value inside the database (In that users' row).. so
after logging it will check if also this value is the same and then echo something..is
the following code is right for that? :
your reply..
regards..
- Original Message -
From: "Miguel J. Jiménez" <[EMAIL PROTECTED]>
To: "Radwan Aladdin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 19, 2004 9:29 PM
Subject: Re: [PHP] Is this code right?
> Radwan Al
Do you mean this is the right code :
Right serial!
END;
}else{
print<<
Sorry, wrong serial!
END;
}
if($UserPassword == $Password){
print<<
Logged in successfully
END;
}else{
print<<
Sorry, wrong password!
END;
}
?>
- Original Message -
From: "Jeremy Davis" <[EMAIL PROTEC
Just what I'm trying to do (Comparing the database with the GET) :) :)
Thanks alot for your help..
Regards..
- Original Message -
From: "Ben Ramsey" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: "Radwan Aladdin" <[EMAIL PROTECTED]>
Sent: Monday,
Hi all..
I want to know..
Can I use :
$md5 = md5($variable1 + $variable2);
Is it right to use that?
Notice : I don't want "&" I want to add the first value to the second one(1=2=3)..
then make them MD5...MD5(3) (For example)..
Regards..
Hi all
Is it possible in mySQL to put a timer that changes a value inside a row in a table
every while?
For example : Add "1" to the value very 10 minutes for example.. Field number = 5
after ten minutes = 6 after another 10 minuste = 7..Etc..
Is it possible?And how?
Regards..
Hi all
Is it possible in mySQL to put a timer that changes a value inside a row in a table
every while?
For example : Add "1" to the value very 10 minutes for example.. Field number = 5
after ten minutes = 6 after another 10 minuste = 7..Etc..
Is it possible?And how?
Regards..
Where can I fin tutorials about it? (CRON Tab)?
Regards..
- Original Message -
From: "Nick JORDAN" <[EMAIL PROTECTED]>
To: "Radwan Aladdin
Sent: Tuesday, January 20, 2004 1:56 PM
Subject: Re: [PHP] Please help me as fast as possible.. very important!!
> > Is
Hello..
I made these three PHP files.. but I don't know
where is the problem
Login.php -> This will grab the
UserName, Password and Serial fields by GET then compare them with the one in
the database (After MD5 them)
Activate.php --> For the admin.. he can
activate user
Just before a minute I sent a message with an attachement.. but the attachement was
canceled by the list!!
Any way.. these are the codes of the pages :
Login.php :
You was accepted by the server..
END;
}else{
print<<
Sorry, you was blocked by the server for one of the following reasons
essage -
From: "Toby Irmer" <[EMAIL PROTECTED]>
To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 5:07 PM
Subject: Re: [PHP] Sorry the attachement was not received!! I put the codes
here.
> Go check your code fo
Hi..
I'm trying to make a PHP code that do the following :
Inserts the server time to the database (When login). and then insert it again (When
logout). Now I want to compare the two values to know the defference between them by
minutes.. so for example : if the defference was 2880 minutes th
Hello..
I want to prevent mySQL from storing the same value in a specified field (Username)..
so how can I do it?
Regards..
Hi all..
Can I run my PHP project on any server and OS?
I used the timetamp, random string, UNIQUE fields and many many other feaures for PHP..
So must I run it on Linux? or I can run it on any OS?
Can you please tell me what are the OS that I can run my project on?
Waiting your replies..
Th
Hi all..
I want to echo something if the GET value was not exist in the database..
So for example : The user enters his email address and if this email was not found in
the field of the email addresses in the table.. then echo "Invalid Email Address"
So how to do it?
Regards..
Hello..
How to make the PHP file (Login page) to update a value every 5 seconds for example
from the database..
So if the connection is alive it will update the value. But if the connection
diconnected with the database then it will stop doing that.. then in the comming login
it will do the sa
Hi..
I made the following PHP script.. And every time I try it, it shows an error
message... I think there is a wrong with ($LogoutTime - $RightLoginTime'). So please
try to fix the error..
What I want to do is to insert a logout time and if (LogoutTime - LoginTime = 20) for
example.. then ma
Hello all..
This is the PHP code :
And this is the mySQL structure :
# phpMyAdmin MySQL-Dump
# version 2.2.3
# http://phpwizard.net/phpMyAdmin/
# http://phpmyadmin.sourceforge.net/ (download page)
#
# Host: localhost
# Generation Time: Jan 28, 2004 at 08:27 PM
# Server version: 3.23.47
# PHP V
ce.. then make a value in that row
(LessonNumber) = Its currently value + 1 (So for example : is LessonNumber =
2 then it must be 3...Etc..)
Hope you got my meaning..
Waiting your help..
Regards..
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Rad
-
From: "David OBrien" <[EMAIL PROTECTED]>
To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 28, 2004 9:35 PM
Subject: Re: [PHP] Still error messages!!
> At 12:08 PM 1/28/2004, Radwan Aladdin wrote:
> >Hello al
the
same.. no changes.. no updates!!
Regards..
- Original Message -
From: "Damon Hill" <[EMAIL PROTECTED]>
To: "'Radwan Aladdin'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 28, 2004 9:56 PM
Subject: RE: [PHP] Still error
n" <[EMAIL PROTECTED]>
To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 28, 2004 10:34 PM
Subject: Re: [PHP] Still error messages!!
> I assume you are using another page with a form to enter the username and
> password
code?
Regards..
--
SASSINC Internet Solutions - Arabic Department
[EMAIL PROTECTED]
http://www.SASSINC.Net
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 28,
it must update the value in the database by it)
Regards..
- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: "Radwan Aladdin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 28, 2004 11:37 PM
Subject: Re: [PHP] Still
ot;David OBrien" <[EMAIL PROTECTED]>
To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 12:07 AM
Subject: Re: [PHP] Still error messages!!
> At 02:45 PM 1/28/2004, Radwan Aladdin wrote:
> >Now I fixed the error
Hi all..
This is the final PHP code that I written.. but there i some problems.. not errors.. I
said problems.. For example the Distance value is not updated correctly.. and the
LessonNumber field also.. please help me fixing these problems :
I'm sure it is very easy for you.. I hope
So what is the problem?
- Original Message -
From: Radwan Aladdin
To: [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 10:40 AM
Subject: The final script! but still some problems..
Hi all..
This is the final PHP code that I written.. but there i some problems.. not
Hi all..
I have in my database the fields :"CourseTitle, Language1, Language2, Language3,
Language4, Language5, Language6...Etc.."
Now what I want to make is : By using an ActiveX Control I want to retrive the values
for these fields from the database.. so for example there are many rows there(
Hi All,
Just would like to know if you can call DLL from PHP the same way you do in ASP? If so
then can any one pass me some example or links.
Cheers..
Okay.. these are for the Shopping Cart..
Can anybody here tell me.. how to build a Payment Gateway?
For example: like 2CheckOut did.. not only applicatios connected with
2CheckOut... I want to know how to build a company like 2CheckOut..
Of course I know it is too hard.. but I must know about th
do?
Regards..
- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 13, 2004 11:39 AM
Subject: Re: [PHP] E-Commerce
> Radwan Aladdin wrote:
> > Okay.. these are for the Shopping Cart..
> >
> >
Hi..
1- In my mySQL DB there is a field named "Whole".. there are many rows.. and every one
has the value for the field "Whole".
What I want is to add all these values in all rows for the field "Whole" then show it
on the screen..
I mean by add : 1 + 2 + 3 = 6...
2- I have another filed there
Hi..
I made a .htaccess file. and then uploaded it to my server.. but everytime I do it
deletes it automatically.. it is hidden directly.. or sure deleted from there.. so
what is the problem!
My hosting account is Linux, WebServer : Apache.. so what is the problem? and how to
solve i
You are right..
It is hidden only..
Okay now this problem is solved.. but the other problem is that in my
.htaccess file :
"
AuthUserFile /pass2
AuthGroupFile /pass2
AuthName AllowLocalAccess
AuthType Basic
order deny,allow
deny from 217.164.249.134
allow from all
"
The IP 217.164.249.134 is m
And also must I put it without name? or can I name it for example :
"test.htaccess"? or must I name it : ".htaccess" (Without name)??
Please help me..
Cheers..
- Original Message -
From: "Radwan Aladdin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]&
Okay.. and is the code right in the .htaccess file?
This is the code again :
AuthUserFile /pass2
AuthGroupFile /pass2
AuthName AllowLocalAccess
AuthType Basic
order deny,allow
deny from 217.164.249.134
allow from all
The directory that I want to prevent that IP from download from it is :
http:
Hello..
I put a .htaccess file on my server, and everything is fine..
But the problem is that I want to prevent all users from seeing a page.. only some IP
addresses can see it..
So I tried to put my IP to be allowded.. but it said that I'm not allowded... So what
to do? Did anybody tried .hta
39 matches
Mail list logo