Search found 191 matches
- Sun Apr 17, 2005 3:11 am
- Forum: mySQL & php coding
- Topic: Find next primary key ...
- Replies: 2
- Views: 1608
Find next primary key ...
HI all I have a field (int) which is primary key in my table I know it is simple to set it to AUTO_INCREMENT to find out next available one. but I would like to have a calculation to find out the next free one myself. Imaging this is my table: ID Name ---- ---------- 1 Michael 2 Geroge 3 Patrick 4 J...
- Fri Apr 15, 2005 9:27 am
- Forum: JavaScript
- Topic: Change form target ...
- Replies: 3
- Views: 2630
- Thu Apr 14, 2005 7:02 am
- Forum: JavaScript
- Topic: Change form target ...
- Replies: 3
- Views: 2630
Change form target ...
Hi all
For instance we have a form with BLANK target to show the action in new window. is it possible to change this target dynamicly before clicking the submit button?
I mean is it possible to give the users the option to show the action in SAME WINDOW or NEW WINDOW at one form?
For instance we have a form with BLANK target to show the action in new window. is it possible to change this target dynamicly before clicking the submit button?
I mean is it possible to give the users the option to show the action in SAME WINDOW or NEW WINDOW at one form?
- Tue Mar 15, 2005 11:12 pm
- Forum: PHP General
- Topic: Banned users and changing IP story ...
- Replies: 12
- Views: 4327
- Tue Mar 15, 2005 11:11 pm
- Forum: PHP General
- Topic: Came from where ?
- Replies: 5
- Views: 2558
- Tue Mar 15, 2005 9:06 am
- Forum: PHP General
- Topic: Came from where ?
- Replies: 5
- Views: 2558
Came from where ?
Hi all If you have noticed before some programs (like nedstat) can trace user and tell WHERE DOES HE COME FROM to a web site for example in some web site statics tools you can see some people came to your web site from Google, etc. I know this is possible with PHP. I have searched for that but I can...
- Fri Mar 11, 2005 11:38 am
- Forum: PHP General
- Topic: Banned users and changing IP story ...
- Replies: 12
- Views: 4327
Re: Banned users and changing IP story ...
Cookie????WiZARD wrote:try send to user cookie.....)
That is the easiest way for them to disable!
but thanx for help
I guess there is no way to do that
but making a regsitration system with high security
Thanx
- Sun Mar 06, 2005 5:45 am
- Forum: PHP coding => General
- Topic: Need help with mysql search code!!!
- Replies: 11
- Views: 3342
- Sat Mar 05, 2005 10:32 am
- Forum: PHP coding => General
- Topic: Need help with mysql search code!!!
- Replies: 11
- Views: 3342
I think when you are searchin gin SQL database for some ARRAY, you should use IN.
The IN operator may be used if you know the exact value you want to return for at least one of the columns.
The IN operator may be used if you know the exact value you want to return for at least one of the columns.
Code: Select all
SELECT column_name FROM table_name
WHERE column_name IN (value1,value2,..)
- Fri Mar 04, 2005 7:50 am
- Forum: PHP General
- Topic: Banned users and changing IP story ...
- Replies: 12
- Views: 4327
Thanx Nikk yes thats what I mean I think there is no way do that instead of making a membership system which will let the users to become a member with verify a email or something so if we bann them from our system they have to use another mail to confirm membership and that wont be hard to do every...
- Fri Mar 04, 2005 2:37 am
- Forum: mySQL & php coding
- Topic: Connect to a database in another web site ...
- Replies: 5
- Views: 2265
- Fri Mar 04, 2005 2:36 am
- Forum: PHP General
- Topic: Banned users and changing IP story ...
- Replies: 12
- Views: 4327
- Fri Mar 04, 2005 2:35 am
- Forum: PHP General
- Topic: Banned users and changing IP story ...
- Replies: 12
- Views: 4327
- Thu Mar 03, 2005 2:04 pm
- Forum: PHP General
- Topic: SUbmit from where ?
- Replies: 7
- Views: 2783
Yes I was thinking the same thing, well I cant use time cause it will be different any sec, min or hour! Cant use Date though cause it will be change in one sec in the midnight post! Well maybe thats a solution cause that will lose just one sec! But I remember ther was a function for this in PHP! It...
- Thu Mar 03, 2005 1:19 pm
- Forum: PHP General
- Topic: Banned users and changing IP story ...
- Replies: 12
- Views: 4327
Banned users and changing IP story ...
Hi I have a banned system on my web site which will check user's IP and see if that IP is in banned list in our database and if it is, then he wont let the user to use the web site. This works perfect until they use some other web sites to change their IP to a new one! Then they can enter the web si...
- Thu Mar 03, 2005 1:16 pm
- Forum: PHP General
- Topic: SUbmit from where ?
- Replies: 7
- Views: 2783
- Mon Feb 28, 2005 10:59 am
- Forum: PHP General
- Topic: SUbmit from where ?
- Replies: 7
- Views: 2783
- Mon Feb 28, 2005 10:32 am
- Forum: mySQL & php coding
- Topic: Connect to a database in another web site ...
- Replies: 5
- Views: 2265
WHat do you mean by readin or writing permission. well that is my own database and I have username and password for that. Can it be a permission or do we need any special permission to read the database from outside the site? For example think our web site is called (http://www.mywebsite.com) Should...
- Sun Feb 27, 2005 4:39 pm
- Forum: mySQL & php coding
- Topic: Connect to a database in another web site ...
- Replies: 5
- Views: 2265
Connect to a database in another web site ...
HI all
I want to connect to a database in another web site,
normally I use [localhost] as db host,
what kind of address should I use to connect
to the mentioned database?
Cheers
I want to connect to a database in another web site,
normally I use [localhost] as db host,
what kind of address should I use to connect
to the mentioned database?
Cheers
- Sun Feb 27, 2005 3:28 pm
- Forum: PHP General
- Topic: SUbmit from where ?
- Replies: 7
- Views: 2783
SUbmit from where ?
Hi all
I know there is a function to test if user is submiting a from from a certain page, like you can test if he is using your page to submit the form or any other fake page to do that!
Could anyone please tell me how can we check this?
I know there is a function to test if user is submiting a from from a certain page, like you can test if he is using your page to submit the form or any other fake page to do that!
Could anyone please tell me how can we check this?
- Thu Feb 24, 2005 11:33 am
- Forum: HTML Basics
- Topic: What is SHTML?
- Replies: 19
- Views: 21161
- Thu Feb 24, 2005 4:23 am
- Forum: HTML Basics
- Topic: What is SHTML?
- Replies: 19
- Views: 21161
Nope We cannot! Ive just made a file like this: <html> <head> <title>Something</title> </head> <body> <?php echo ("test"); ?> </body> </html> and I name the file index.shtml but when I run that page on my server it didnt show any result although you cna see the php source code as well! so my questio...
- Thu Feb 24, 2005 4:20 am
- Forum: HTML Basics
- Topic: What is SHTML?
- Replies: 19
- Views: 21161
Thanx for the answer so you mean we can have some scripts in our normal HTML page and then we change the extension to SHTML so server will scan that file first to see if there is any script ... can we include some PHP script inside our HTML (with the php tags) and then call it SHTML and simply run i...
- Wed Feb 23, 2005 6:00 pm
- Forum: HTML Basics
- Topic: What is SHTML?
- Replies: 19
- Views: 21161
What is SHTML?
Can anybody tell me please what is SHTML
and HOW CAN WE MAKE that?
and HOW CAN WE MAKE that?
- Wed Feb 23, 2005 1:13 pm
- Forum: JavaScript
- Topic: Validate fields (List-Dropdown menu)
- Replies: 2
- Views: 2376