[PHP] superglobals -sessions-clookies

2002-04-06 Thread cyberskydive
I think I've got down how to use the new "superglobals" with data sent from forms using whichever method needed. Now I need to learn how to do it with sessions! this is what I'm trying to accomplish. my website/ client list is growing and I want to add the ability for them to login, edit accoun

[PHP] PHP books

2002-04-05 Thread cyberskydive
I have 2 PHP books the first is called PHP fast & easy web development -from primatech the second is called CORE PHP PROGRAMMING by Leon Atkinson I like them both, and I was glad I read fast & easy first, i like core php alot, havent read the whole thing yet, been kinda referencing around it, b

[PHP] Re: using new AUTOGLOBALS

2002-04-05 Thread cyberskydive
the thing is, using the methods I described in my first post, the superglobals or autoglobals arent working. I cant figure out why, and , like the other guy said, most books dont include this feature in a topic for discussion. Can anyone offer advice? "Cyberskydive" <[EMAIL PROT

Re: [PHP] PHP and mySQL...

2002-04-05 Thread cyberskydive
Since you didnt make it clear, do you even have MySql and php on your server? Are you looking to just move your data or looking to get php & mysql installed on the server as well? (SERVER = production site, not localhost) if you just wanna move data, like everyone else said phpmyadmin rocks, but

[PHP] 4.1.2 transitional blues

2002-03-02 Thread cyberskydive
yayy i had my virtual server upgraded to php 4.1.2! oh wait.. nothings F#*&ing working now! a simple dropdown menu- leading to a page containing: doesnt work anymore. contact forms using php_self survey using foreach() mailing list declaring multiple functions called by ?action=whattodo

Re: [PHP] writing / reading from text files

2002-02-15 Thread cyberskydive
f the file, is obtained by > adding offset to the position specified by whence, whose values are defined > as follows: > SEEK_SET - Set position equal to offset bytes. > SEEK_CUR - Set position to current location plus offset. > SEEK_END - Set position to end-of-file plus offset. &g

Re: [PHP] writing / reading from text files

2002-02-15 Thread cyberskydive
IL PROTECTED]... > fopen(), fwrite(),fseek(),fread(),fclose() > > -----Original Message- > From: cyberskydive [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 15, 2002 10:29 AM > To: [EMAIL PROTECTED] > Subject: [PHP] writing / reading from text files > > > I

[PHP] writing / reading from text files

2002-02-15 Thread cyberskydive
I need to write to a specific line in a text file, read from a line on demand, and update values at random, I want to do this all in the same text file. what is the best way to go about this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] REMOTE_ADDR probs

2002-02-11 Thread cyberskydive
IL PROTECTED]... > At 09:41 AM 2/11/2002 -0600, cyberskydive wrote: > >$user = getenv('REMOTE_ADDR'); > [...] > >It works great on windows running apache php 4.0.1 > >but on solaris php 4.06 if I add a > > > >print($first); > > > >it retu

[PHP] Re: Colecting IP information

2002-02-09 Thread cyberskydive
Dunno right off hand about NS and DNS but a simple getenv('REMOTE_ADDR'); will return the IP address of a user. "Philip J. Newman" <[EMAIL PROTECTED]> wrote in message 001d01c1b1c1$b33fec80$0401a8c0@philip">news:001d01c1b1c1$b33fec80$0401a8c0@philip... Trying to colect ip, and name server, dns n

[PHP] I'm new here is there.....

2002-02-09 Thread cyberskydive
I know this php.general - is there another newsgroup which specifically deals with help issues? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Exact string replacement...

2002-02-09 Thread cyberskydive
use substr_replace string substr_replace(string text, string replacement, integer start, integer length) EG: '); print(substr_replace($text, "are", 10, 2)); ?> 10 is the place where you want it to start replacement, 2 (is) more forward it ends. "Desikan" <[EMAIL PROTECTED]> wrote in message

[PHP] Well I made it work...but

2002-02-09 Thread cyberskydive
hi! I was unable to find any pre-written php code for a survey without a database and using text files. So I was faced with the challenge of writing my first script! -lol What I eventually ended up with was a 3 answer poll, that will be called for as many questions as I need, then I wil display t

[PHP] HELP! I was just wondering

2002-02-04 Thread cyberskydive
I've been playing around with php alot lately and started to scheme ways to use it-lol so heres what I tried to do: first there is a switch statement: On that some_file.php I have an elseif like so: Then on the page where thee are required I require them at the top of the page. and I have th

[PHP] problems using an elsif statement on apache php 4.06

2002-02-04 Thread cyberskydive
I have two php scripts being included on my website. one is a switch statement used for page navigation, and the other is an elseif used to display different html code based on the value of a variable (different on each page) My apache server keeps freezing up and my hosting company tells me tha