Search found 7 matches

by unix77
Wed Jun 22, 2005 8:02 pm
Forum: PHP - Code
Topic: how to make next and previous page
Replies: 1
Views: 670

how to make next and previous page

Hi everybody I tried to print my array so I can have many page from my array. I want the user can see next page and previous page by clicking linking page.I believe that this is logic problem instead of PHP problem. <?php $page[30]; for($i=0;$i<30;$i++){ $page[$i] = $i; } $k=0; $k = $_GET['k']; echo...
by unix77
Thu Jun 16, 2005 9:05 am
Forum: PHP - Code
Topic: how to solve warning in session function
Replies: 2
Views: 236

how to solve warning in session function

Hi all I got warning problem while using session function Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. Y...
by unix77
Tue Jun 14, 2005 2:55 am
Forum: PHP - Code
Topic: [solved] can PHP receive variable outsite form
Replies: 2
Views: 258

I got it, i think it is impossible to send data outside form html
by unix77
Tue Jun 14, 2005 2:46 am
Forum: PHP - Code
Topic: Need help writing a user login script
Replies: 1
Views: 263

did you try using session function ? usually we use it function to manage login and its derivation.

You can look at http://www.php.net/session

hope this is can help you to figure out your problem
by unix77
Tue Jun 14, 2005 1:58 am
Forum: PHP - Code
Topic: [solved] can PHP receive variable outsite form
Replies: 2
Views: 258

[solved] can PHP receive variable outsite form

Hi all I got one PHP + HTML example that make me confuse. I post this code here : &lt;html&gt; &lt;body&gt; &lt;table&gt; &lt;tr&gt; &lt;td&gt;Note&lt;/td&gt; &lt;td&gt; <?php print("<textarea rows=\"5\" cols = \"40\"&q...
by unix77
Sat Jun 11, 2005 1:23 am
Forum: PHP - Code
Topic: [solve] need help to undertand session
Replies: 1
Views: 302

[solve] need help to undertand session

Hi all I use session_register($variable) in menu.php and try to catch to another file addmoviestar.php menu.php include "authentic.inc"; session_start(); if(!empty($_POST['user'])) $sesi_user = $_POST['user']; if(!empty($_POST['paswd'])) $sesi_paswd = $_POST['paswd']; if(!authentic($sesi_u...
by unix77
Tue Jun 07, 2005 6:19 am
Forum: PHP - Code
Topic: [solve] warning after using session_start()
Replies: 3
Views: 246

[solve] warning after using session_start()

Hi all It is the first time for me to use session function. Below my simple list session_start(); print("Session_id : ".session_id()."<br>"); session_destroy(); print("After close session <br>\n"); print("Session_id : ".session_id()."<br>"); but in m...