[PHP] Re: string

2004-07-05 Thread water_foul
from help me with eregi: sorry i didn't relise i did that till just now "Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > w> ho do you make a eregi so it looks at the var as a single line > > If anyone helps you after you posted 15KB of pointless HTML.. twice.. > I'll

Re: [PHP] help me with eregi

2004-07-05 Thread water_foul
sorry i didn't relise i did that till just now "Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > w> ho do you make a eregi so it looks at the var as a single line > > If anyone helps you after you posted 15KB of pointless HTML.. twice.. > I'll be amazed. > > Best regard

[PHP] help me with eregi

2004-07-05 Thread water_foul
ho do you make a eregi so it looks at the var as a single line -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: string

2004-07-05 Thread water_foul
oh 1 more thing.. i am looking for: but in the html it shows up as: - "Water_foul" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ok i've stripped some html from a page and my eregi didn't work, so i > put it into a

[PHP] string

2004-07-05 Thread water_foul
ok i've stripped some html from a page and my eregi didn't work, so i put it into a text box so i could see what the variable has in it... and i got this: --- Anyone can play on the Free Worlds below http://www.runescape.com/img/gamewin/u

[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,

[PHP] hellllppp my php kills the browser

2004-06-19 Thread water_foul
i dont know why but the following code "kills" the browser: ' . $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

[PHP] cookie question...

2004-06-19 Thread water_foul
how do i read a cookie created by this code setcookie('link1',blah,time()+3600,'/'); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cookie

2004-06-19 Thread water_foul
how do you set a cookie to mutiple directories? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: quick question

2004-06-19 Thread water_foul
I would also like to know how to set a cookie to all dirs in a domain > how do you set a system path to the top level, i allredy tried '/' but it ignores the last '. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] quick question

2004-06-19 Thread water_foul
how do you set a system path to the top level, i allredy tried '/' but it ignores the last '. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cookie question

2004-06-19 Thread water_foul
i figured it out ty "Joel Kitching" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > There are many examples (in the comments) at the manual entry for > set_cookie at php.net; go try one of those. > > On Sat, 19 Jun 2004 16:07:34 -0600, water_foul

Re: [PHP] cookie question

2004-06-19 Thread water_foul
the next > page refresh? > > ex) > > // Print an individual cookie > echo $_COOKIE["TestCookie"]; > echo $HTTP_COOKIE_VARS["TestCookie"]; > > // Another way to debug/test is to view all cookies > print_r($_COOKIE); > ?> > > On Sat, 19 Jun

Re: [PHP] cookie question

2004-06-19 Thread water_foul
sorry i misse dsomething else i should say, this is in the function but i haven't sent any output before i call the function "Water_foul" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > lemme clarify what i mean by function, i created a function > &qu

Re: [PHP] cookie question

2004-06-19 Thread water_foul
lemme clarify what i mean by function, i created a function "Water_foul" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > all i did was a function and some conditionals > "Joel Kitching" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTE

Re: [PHP] cookie question

2004-06-19 Thread water_foul
> > On Sat, 19 Jun 2004 15:51:00 -0600, water_foul > <[EMAIL PROTECTED]> wrote: > > > > whats wrong with this script > > setcookie('link' . $loopnum . '',$url,time()+3600*200); > > setcookie('name' . $loopnum . '',$name

[PHP] cookie question

2004-06-19 Thread water_foul
whats wrong with this script setcookie('link' . $loopnum . '',$url,time()+3600*200); setcookie('name' . $loopnum . '',$name,time()+3600*200); it doesn't write the cookies -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: umm i am confused...

2004-06-19 Thread water_foul
I figured it out "Water_foul" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > i get the following error > > Parse error: parse error, unexpected T_STRING in > C:\Inetpub\localroot\aichlmayr.net\sites\aaron\module\per

[PHP] umm i am confused...

2004-06-19 Thread water_foul
i get the following error Parse error: parse error, unexpected T_STRING in C:\Inetpub\localroot\aichlmayr.net\sites\aaron\module\personal\links.php on line 21 -- for the following code and i cant figure out why (you may need to maxamise t

Re: [PHP] variable question

2004-06-19 Thread water_foul
Thanks oh so much "Robin Vickery" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sat, 19 Jun 2004 14:25:27 -0600, water_foul > <[EMAIL PROTECTED]> wrote: > > > > is there a way to use one variable to create another? > > Example >

[PHP] Re: variable question

2004-06-19 Thread water_foul
sorry i didn't say this before but please hurry i need this to finish a php script -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] variable question

2004-06-19 Thread water_foul
is there a way to use one variable to create another? Example $poo=1 and i want $lie1 OR $poo=2 and i want $lie2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php