Search found 106 matches
- Sat Dec 20, 2003 9:19 pm
- Forum: PHP - Code
- Topic: Security Issues and the GET header
- Replies: 3
- Views: 453
1.) Sorry, not that I know of. The easiest way would just to have every user have an account and use SESSIONS in order to keep track of where they can and can't go. Sessions Tutorial php.net/session_start Already using sessions for user authentication. Anyway, for sending links via POST method, how...
- Sat Dec 20, 2003 8:46 pm
- Forum: PHP - Code
- Topic: Security Issues and the GET header
- Replies: 3
- Views: 453
Security Issues and the GET header
Hi all, I am currently involve in developing an e-learning site, where the users have to pay a certain amount of credit for accessing each lesson. One of the problem I am facing now is the security issues pertaining to using the GET header to transmit information between page. For example, let say t...
- Mon Nov 17, 2003 5:42 am
- Forum: PHP - Code
- Topic: References in PHP vs. pointers in C?
- Replies: 2
- Views: 393
References in PHP vs. pointers in C?
What are the differences, and similiarites, in terms of usage and theory, between PHP's references and C's pointers?
Many thanks in advance!
Many thanks in advance!
- Fri Oct 24, 2003 12:38 am
- Forum: Databases
- Topic: ORDER BY question
- Replies: 1
- Views: 501
ORDER BY question
Hi all... Currently I am doing a quiz database. The questions labelling range from simple (like "1", "2") to rather complex ("1a", "1.1.a" and etc.) so in order to sort the question, I use VARCHAR type as the question number, so that when I use "ORDER BY ...
- Tue Oct 21, 2003 12:18 am
- Forum: PHP - Code
- Topic: Redirection and Sessions...
- Replies: 11
- Views: 1818
- Mon Oct 20, 2003 8:24 am
- Forum: PHP - Code
- Topic: Redirection and Sessions...
- Replies: 11
- Views: 1818
- Mon Oct 20, 2003 7:02 am
- Forum: PHP - Code
- Topic: Redirection and Sessions...
- Replies: 11
- Views: 1818
- Mon Oct 20, 2003 6:01 am
- Forum: PHP - Code
- Topic: Redirection and Sessions...
- Replies: 11
- Views: 1818
Redirection and Sessions...
I have been tearing out my hair out over this. I have this login code in one page, login_loginuser.php : (start_session is called way at the beginning...) if ($b_isLoginSuccess) { // Extract all the needed information from the database $query_data = mysql_fetch_array($result); $username = $...
- Sun Oct 19, 2003 6:28 am
- Forum: PHP - Code
- Topic: Persistent objects in PHP?
- Replies: 4
- Views: 492
Persistent objects in PHP?
Hi,
Just wondering about the OOP aspect of PHP. Say I create an object from a class in one PHP page - can I pass it to another PHP page through POST or GET, or do I have to recreate the object from the class again?
Thanks in advance!
Just wondering about the OOP aspect of PHP. Say I create an object from a class in one PHP page - can I pass it to another PHP page through POST or GET, or do I have to recreate the object from the class again?
Thanks in advance!
- Sat Oct 18, 2003 8:28 am
- Forum: PHP - Code
- Topic: Getting move_uploaded_file to work
- Replies: 4
- Views: 853
- Sat Oct 18, 2003 7:07 am
- Forum: PHP - Code
- Topic: Getting move_uploaded_file to work
- Replies: 4
- Views: 853
Getting move_uploaded_file to work
Hi all... Whenever I try to use move_uploaded_file to move an uploaded file to a directory, it gives me this error: Moving file to C:\Inetpub\wwwroot\eknowledge\quizmedia\quiz10.... Warning: move_uploaded_file(C:\Inetpub\wwwroot\eknowledge\quizmedia\quiz10): failed to open stream: Permission denied ...
- Thu Oct 16, 2003 8:51 am
- Forum: PHP - Code
- Topic: PHP and frames
- Replies: 3
- Views: 683
PHP and frames
Hi all, How does one go about writing frames with PHP? Say I have a frameset which consists of two pages -index.php and mainframe.php, and the frameset document itself (frameset.php). Say I have a form on index.php, or an url there, when click, will affect mainframe.php. How do I go about achieving ...
- Tue Oct 14, 2003 11:29 am
- Forum: PHP - Code
- Topic: sessions and output buffering...
- Replies: 0
- Views: 267
sessions and output buffering...
Hi all... I have problem with PHP pages that uses ob_start() and start_session() on the same page. The session is created okay (I checked the session directy), but when I move over to another page, start_session() will create a new session instead of resuming the one created earlier. (When I access ...
- Tue Oct 14, 2003 10:52 am
- Forum: Databases
- Topic: Reality of PHP projects...
- Replies: 2
- Views: 922
Reality of PHP projects...
Hi all, I am generally new to PHP and web-based programming on the practical scale. Let me explain where I am coming from. In school about three years before I learnt ASP, and finally coming over to PHP now because I find it, well, more C-like. One thing that has been bothering me is the scope of re...
- Mon Oct 13, 2003 5:42 am
- Forum: PHP - Code
- Topic: Error reporting function?
- Replies: 5
- Views: 515