Re: [PHP] Re: hellllppp my php kills the browser

2004-06-19 Thread raditha dissanayake
Michael Lauzon wrote:
I see enough of this "Holier Than Thou" attitude on the OCLUG list, I
don't need to see it here as well, and if you keep it up people like
me...the newbies will shy away from PHP!
 

everyone with a holier than thou attitude were also newbies once. The 
difference is that they knew how to ask questions when there were in 
that stage.

--
Raditha Dissanayake.
-
http://www.raditha.com/megaupload/upload.php
Sneak past the PHP file upload limits.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Re: hellllppp my php kills the browser

2004-06-19 Thread Bob Eldred
However, those newbies who stick around will learn how to research and
find most of the answers themselves.  Not a bad result, if you ask me.

Education often sounds "Holier than Thou", but there's usually a good
reason for it.

Bob

-Original Message-
From: Michael Lauzon [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 19, 2004 8:20 PM
To: Aidan Lister
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: heppp my php kills the browser


I see enough of this "Holier Than Thou" attitude on the OCLUG list, I
don't need to see it here as well, and if you keep it up people like
me...the newbies will shy away from PHP!

On Sun, 20 Jun 2004 12:39:26 +1000, Aidan Lister <[EMAIL PROTECTED]> wrote:
> 
> Please read:
> 
> http://www.catb.org/~esr/faqs/smart-questions.html
> 
> "Water_foul" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
> > i fixed it i had an endless loop oops :)
> > "Water_foul" <[EMAIL PROTECTED]> wrote in message 
> > news:[EMAIL PROTECTED]
> > > i dont know why but the following code "kills" the browser:  > > //the function for adding new addresses
> > > function loop_new_address($loopnum,$url,$name){
> > > //the ${'link' . $loopnum} says put $link and add $loopnum to the
end
> > > if(isset($_COOKIE['link' . $loopnum . ''])){
> > > loop_new_address_help($loopnum+1,$url,$name);
> > > }
> > > else{
> > > setcookie('link' . $loopnum . '',$url,time()+3600,'/');
> > > setcookie('name' . $loopnum . '',$name,time()+3600,'/');
> > > setcookie('link' . $loopnum . '',$url,time()+3600);
> > > setcookie('name' . $loopnum . '',$name,time()+3600);
> > > print('' . $name . ' was added');
> > > };
> > > };
> > > //A function to let loop_new_address loop
> > > function loop_new_address_help($loopnum,$url,$name){
> > > loop_new_address($loopnum,$url,$name);
> > > };
> > > if(isset($_GET['new'])) {
> > > loop_new_address(1,$_GET['url'],$_GET['name']);
> > > };
> > > print('');
> > > print(' > > action="module/personal/delete.php">delete');
> > > //write code
> > > $writenum=1;
> > > while(isset($_COOKIE['link' . $writenum . ''])==true){
> > > print('' .
> > $_COOKIE['name'
> > > . $writenum . ''] . '');
> > > };
> > > include('links.htm')
> > > ?>
> > >   
> > >  > > type=hidden name=new value=1>
> > > Site name VALUE="">
> > > site url (if it is not on this site it MUST contain 
> > > "http://";)

> > >  > > VALUE="Continue">
> > > 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
Michael Lauzon, Founder
The Quill Society
http://www.quillsociety.org/
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: hellllppp my php kills the browser

2004-06-19 Thread Michael Lauzon
I see enough of this "Holier Than Thou" attitude on the OCLUG list, I
don't need to see it here as well, and if you keep it up people like
me...the newbies will shy away from PHP!

On Sun, 20 Jun 2004 12:39:26 +1000, Aidan Lister <[EMAIL PROTECTED]> wrote:
> 
> Please read:
> 
> http://www.catb.org/~esr/faqs/smart-questions.html
> 
> "Water_foul" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > i fixed it i had an endless loop oops :)
> > "Water_foul" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > i dont know why but the following code "kills" the browser:
> > >  > > //the function for adding new addresses
> > > function loop_new_address($loopnum,$url,$name){
> > > //the ${'link' . $loopnum} says put $link and add $loopnum to the end
> > > if(isset($_COOKIE['link' . $loopnum . ''])){
> > > loop_new_address_help($loopnum+1,$url,$name);
> > > }
> > > else{
> > > setcookie('link' . $loopnum . '',$url,time()+3600,'/');
> > > setcookie('name' . $loopnum . '',$name,time()+3600,'/');
> > > setcookie('link' . $loopnum . '',$url,time()+3600);
> > > setcookie('name' . $loopnum . '',$name,time()+3600);
> > > print('' . $name . ' was added');
> > > };
> > > };
> > > //A function to let loop_new_address loop
> > > function loop_new_address_help($loopnum,$url,$name){
> > > loop_new_address($loopnum,$url,$name);
> > > };
> > > if(isset($_GET['new'])) {
> > > loop_new_address(1,$_GET['url'],$_GET['name']);
> > > };
> > > print('');
> > > print(' > > action="module/personal/delete.php">delete');
> > > //write code
> > > $writenum=1;
> > > while(isset($_COOKIE['link' . $writenum . ''])==true){
> > > print('' .
> > $_COOKIE['name'
> > > . $writenum . ''] . '');
> > > };
> > > include('links.htm')
> > > ?>
> > > 
> > > 
> > > 
> > >  > > type=hidden name=new value=1>
> > > Site name VALUE="">
> > > site url (if it is not on this site it MUST contain
> > > "http://";)
> > > 
> > > 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
Michael Lauzon, Founder
The Quill Society
http://www.quillsociety.org/
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: hellllppp my php kills the browser

2004-06-19 Thread Aidan Lister
Please read:

http://www.catb.org/~esr/faqs/smart-questions.html



"Water_foul" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> i fixed it i had an endless loop oops :)
> "Water_foul" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > i dont know why but the following code "kills" the browser:
> >  > //the function for adding new addresses
> > function loop_new_address($loopnum,$url,$name){
> > //the ${'link' . $loopnum} says put $link and add $loopnum to the end
> > if(isset($_COOKIE['link' . $loopnum . ''])){
> > loop_new_address_help($loopnum+1,$url,$name);
> > }
> > else{
> > setcookie('link' . $loopnum . '',$url,time()+3600,'/');
> > setcookie('name' . $loopnum . '',$name,time()+3600,'/');
> > setcookie('link' . $loopnum . '',$url,time()+3600);
> > setcookie('name' . $loopnum . '',$name,time()+3600);
> > print('' . $name . ' was added');
> > };
> > };
> > //A function to let loop_new_address loop
> > function loop_new_address_help($loopnum,$url,$name){
> > loop_new_address($loopnum,$url,$name);
> > };
> > if(isset($_GET['new'])) {
> > loop_new_address(1,$_GET['url'],$_GET['name']);
> > };
> > print('');
> > print(' > action="module/personal/delete.php">delete');
> > //write code
> > $writenum=1;
> > while(isset($_COOKIE['link' . $writenum . ''])==true){
> > print('' .
> $_COOKIE['name'
> > . $writenum . ''] . '');
> > };
> > include('links.htm')
> > ?>
> > 
> > 
> > 
> >  > type=hidden name=new value=1>
> > Site name
> > site url (if it is not on this site it MUST contain
> > "http://";)
> > 
> > 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: hellllppp my php kills the browser

2004-06-19 Thread Joel Kitching
Perhaps you would be better off going to IRC, as you seem to have many
(smaller) questions...

On Sat, 19 Jun 2004 17:42:26 -0600, water_foul
<[EMAIL PROTECTED]> wrote:
> 
> i fixed it i had an endless loop oops :)
> "Water_foul" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> 
> 
> > i dont know why but the following code "kills" the browser:
> >  > //the function for adding new addresses
> > function loop_new_address($loopnum,$url,$name){
> > //the ${'link' . $loopnum} says put $link and add $loopnum to the end
> > if(isset($_COOKIE['link' . $loopnum . ''])){
> > loop_new_address_help($loopnum+1,$url,$name);
> > }
> > else{
> > setcookie('link' . $loopnum . '',$url,time()+3600,'/');
> > setcookie('name' . $loopnum . '',$name,time()+3600,'/');
> > setcookie('link' . $loopnum . '',$url,time()+3600);
> > setcookie('name' . $loopnum . '',$name,time()+3600);
> > print('' . $name . ' was added');
> > };
> > };
> > //A function to let loop_new_address loop
> > function loop_new_address_help($loopnum,$url,$name){
> > loop_new_address($loopnum,$url,$name);
> > };
> > if(isset($_GET['new'])) {
> > loop_new_address(1,$_GET['url'],$_GET['name']);
> > };
> > print('');
> > print(' > action="module/personal/delete.php">delete');
> > //write code
> > $writenum=1;
> > while(isset($_COOKIE['link' . $writenum . ''])==true){
> > print('' .
> $_COOKIE['name'
> > . $writenum . ''] . '');
> > };
> > include('links.htm')
> > ?>
> > 
> > 
> > 
> >  > type=hidden name=new value=1>
> > Site name
> > site url (if it is not on this site it MUST contain
> > "http://";)
> > 
> > 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: hellllppp my php kills the browser

2004-06-19 Thread water_foul
i fixed it i had an endless loop oops :)
"Water_foul" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> i dont know why but the following code "kills" the browser:
>  //the function for adding new addresses
> function loop_new_address($loopnum,$url,$name){
> //the ${'link' . $loopnum} says put $link and add $loopnum to the end
> if(isset($_COOKIE['link' . $loopnum . ''])){
> loop_new_address_help($loopnum+1,$url,$name);
> }
> else{
> setcookie('link' . $loopnum . '',$url,time()+3600,'/');
> setcookie('name' . $loopnum . '',$name,time()+3600,'/');
> setcookie('link' . $loopnum . '',$url,time()+3600);
> setcookie('name' . $loopnum . '',$name,time()+3600);
> print('' . $name . ' was added');
> };
> };
> //A function to let loop_new_address loop
> function loop_new_address_help($loopnum,$url,$name){
> loop_new_address($loopnum,$url,$name);
> };
> if(isset($_GET['new'])) {
> loop_new_address(1,$_GET['url'],$_GET['name']);
> };
> print('');
> print(' action="module/personal/delete.php">delete');
> //write code
> $writenum=1;
> while(isset($_COOKIE['link' . $writenum . ''])==true){
> print('' .
$_COOKIE['name'
> . $writenum . ''] . '');
> };
> include('links.htm')
> ?>
> 
> 
> 
>  type=hidden name=new value=1>
> Site name
> site url (if it is not on this site it MUST contain
> "http://";)
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php