[PHP] User Authentication

2002-06-04 Thread Jule Slootbeek
Hey guys, What is the best way for user authentication (now i'm talking about the most secure and easiest way). Now i've been using sessions, and i was wondering if cookies were better and easier... any thoughts? thanks, Jule -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net

Re: [PHP] User Authentication

2002-06-04 Thread Jule Slootbeek
John Holmes wrote: Sessions use cookies as it is...so what do you really want to do...what do you want to protect? ---John Holmes... Oh ok, that explains it then... Well thanks for the info anyway. I was basically just wondering which method was reccommended.. Jule -- Jule

[PHP] return array

2002-06-06 Thread Jule Slootbeek
Hey guys and gals, if i have a function and i return an array from it function my_function() { blabla; return array ($array['name'], $array['password']); } how do i get this into an array on the page i call the function? $array = my_function() doesn't work? any ideas? thanks Jule -- Jule

Re: [PHP] return array

2002-06-06 Thread Jule Slootbeek
try: list($doo, $dah) = my_function(); thanks alot that was it list ($array['name'], $array['password']); Jule -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] simplicity with 2 queries..

2002-06-09 Thread Jule Slootbeek
'; $result = mysql_query($query); $user_info = mysql_fetch_array($result); $quiz_id = $user_info[quiz_id]; mysql_close($link_glob); return $quiz_id; } -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General

[PHP] check if a foreach loop has successfully run

2002-06-25 Thread Jule Slootbeek
Hey list, How do i check if my script has successfully run through an entire foreach() loop do i just go if (foreach ($answer as $a) { echo $a }) { return TRUE; } else { return FALSE; } thanks in advance. Jule -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net

[PHP] variable question

2002-04-15 Thread Jule Slootbeek
. any thoughts? thanks, Jule -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] variable question

2002-04-15 Thread Jule Slootbeek
April 2002 00:41, Jule Slootbeek wrote: Hey Guys and Gals, I'm writing this little script that takes two inputs: $name and $welcomemssg from a form and puts them in a text file. Now i only want to extract one of those variables open it with welcome.php, how do i go about this? when i

[PHP] print on top

2002-04-17 Thread Jule Slootbeek
/td\n); print (/tr\n); print (/table); -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Images don't save

2002-04-18 Thread Jule Slootbeek
(http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Regards, Gunther E. Biernat -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] variables

2002-04-20 Thread Jule Slootbeek
); print (/td); print (/tr); print (tr); print (td align=center width=60% height=55%); include (rightbottom/$rightbottomtitle$extention); print (/td); print (/tr); print (/table); ? ---SCRIPT--- -- Jule Slootbeek

[PHP] $server_path

2002-04-21 Thread Jule Slootbeek
the picture, is this because i'm using Mozilla 0.9.9 or is it from something else? Jule -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] stupid error, please kick me (and send me a solution)

2002-06-03 Thread Jule Slootbeek
; -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Jule Slootbeek
\; } HTH, Jason Soza - Original Message - From: Jule Slootbeek [EMAIL PROTECTED] Date: Monday, June 3, 2002 2:09 pm Subject: stupid error, please kick me (and send me a solution) Hey guys, i\'m getting this error with the following sql script using php: --error-- Warning: Supplied

[PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Jule Slootbeek
PROTECTED]; mysql; php-general Subject: Re: stupid error, please kick me (and send me a solution) Your missing your closing } at the end of the else statement. - Original Message - From: Jule Slootbeek [EMAIL PROTECTED] To: mysql [EMAIL PROTECTED]; php-general [EMAIL PROTECTED

[PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Jule Slootbeek
Jule Slootbeek wrote: G r e g L a w r i e wrote: It would also appear you are missing a closing ) at the end of the '$query=...' line. You have two opening backets and only one closing. Greg -Original Message- From: Bruce Lewis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 June

[PHP] HUGE ERROR (was: [PHP] stupid error, please kick me (and send mea solution))

2002-06-03 Thread Jule Slootbeek
(); ? --script (register_user.php)-- -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HUGE ERROR (was: [PHP] stupid error, please kick me (and sendme a solution))

2002-06-03 Thread Jule Slootbeek
ps: it was still not working.. -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HUGE ERROR (was: [PHP] stupid error, please kick me (andsend me a solution))

2002-06-03 Thread Jule Slootbeek
...:) I am now going to sit in a corner and be ashamed of myself thanks Philip and and everybody else... Jule -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] stripping spaces from a string

2002-12-06 Thread Jule Slootbeek
Hi, What's the best and easiest way to strip all the spaces from a string? do i use regular expressions for it? TIA, J. Jule Slootbeek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: stripping spaces from a string

2002-12-06 Thread Jule Slootbeek
perfect, exactly what i needed thanks J. On Friday, Dec 6, 2002, at 16:38 US/Eastern, J Smith wrote: Regular expressions would be overkill. Try $newString = str_replace( , , $oldString); J Jule Slootbeek wrote: Hi, What's the best and easiest way to strip all the spaces from a string

[PHP] register_global variables on Mac OS X

2002-10-08 Thread Jule Slootbeek
this action could be done. So i was wondering if anybody had experience with PHP under Jaguar, and could lend me a hand. TIA, Jule Slootbeek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Jule Slootbeek
the page threw the server into the browser... and it should like the location in the top area. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Jule Slootbeek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 October 2002 12:32 PM To: [EMAIL

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Jule Slootbeek
a ? phpinfo(); ? page through your browser and PHP may tell you where it thinks php.ini should be. It'll be in the first block that appears on the page created by phpinfo(). ---John Holmes... -Original Message- From: Jule Slootbeek [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Jule Slootbeek
i didn't install from source, i installed from an OS X binary i found in the php website, i got a php.ini from someone else which i 'm suing, thanks guys! Jule On Tuesday, Oct 8, 2002, at 23:54 US/Eastern, CC Zona wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Jule Slootbeek

Re: [PHP] Best way to put layout, code on pages?

2002-10-10 Thread Jule Slootbeek
on this? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. Jule Slootbeek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getting HTML header from URL

2002-11-01 Thread Jule Slootbeek
hey is there a way to get the URL header? the title meta tags etc? i couldn't find any function in the docs, but maybe i just don't know where to look. if there's a function that pulls in an entire page that;s fine too i can work with that.. any help appreciated TIA Jule Jule Slootbeek [EMAIL

Re: [PHP] getting HTML header from URL

2002-11-01 Thread Jule Slootbeek
() It was hidden. Jule Slootbeek wrote: hey is there a way to get the URL header? the title meta tags etc? i couldn't find any function in the docs, but maybe i just don't know where to look. if there's a function that pulls in an entire page that;s fine too i can work with that.. any help appreciated

Re: [PHP] getting HTML header from URL

2002-11-01 Thread Jule Slootbeek
, Nov 1, 2002, at 17:45 US/Eastern, Jule Slootbeek wrote: i thought fopen() was only for local files, didn't even bother looking, but now i think about it..it makes perfect sence to open url's as well, thanks a lot! Jule On Friday, Nov 1, 2002, at 17:42 US/Eastern, John Nichel wrote: Docs

Re: [PHP] getting HTML header from URL [solved]

2002-11-01 Thread Jule Slootbeek
, at 20:26 US/Eastern, Jule Slootbeek wrote: well, i got it to read a html file, but the problem is that it reads it after it loads it, so it doesn't read the tags, and i'm looking for the string in between title and /title is there a way using fopen() or something similar to read an html/php

Re: [PHP] getting HTML header from URL [solved]

2002-11-01 Thread Jule Slootbeek
); //return $rline; //fclose($file); break; } } return $rline; } fclose($file); } On Friday, Nov 1, 2002, at 20:35 US/Eastern, Jule Slootbeek wrote: hmm, figured it out...all of a sudden it did work: here's the code, it loads a URL and returns the title... dunno what

Re: [PHP] Re: getting HTML header from URL [solved]

2002-11-01 Thread Jule Slootbeek
yeah i just noticed that myself too, and unfortunatly people do code their html like that.. J On Friday, Nov 1, 2002, at 21:44 US/Eastern, David U. wrote: Jule Slootbeek wrote: oops didn't catch two little bugs Jule function getTitle($url) { $file = @fopen($url, 'r'); if(!$file) { $rline

[PHP] sql error

2002-11-05 Thread Jule Slootbeek
at line 18: You have an error in your SQL syntax near 'where varchar(255) NOT NULL default '', with varchar(255) NOT NULL default '',' at line 5 where's the error? i don't see anything wrong.. TIA, Jule Jule Slootbeek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] sql error

2002-11-05 Thread Jule Slootbeek
of that column to something else. Marco --- php|architect -- The Monthly Magazine For PHP Professionals Visit us on the web at http://www.phparch.com! On Tue, 5 Nov 2002, Jule Slootbeek wrote: I know this is the wrong mailinglist, but i don't want to subscribe to a second one for one random

Re: [PHP] sql error

2002-11-05 Thread Jule Slootbeek
--- php|architect -- The Monthly Magazine For PHP Professionals Visit us on the web at http://www.phparch.com! On Tue, 5 Nov 2002, Jule Slootbeek wrote: Ah i see, but then why will phpMyAdmin let me use it? it works fine on my local db with these names, but on my remote server it refuses

Re: [PHP] sql error

2002-11-05 Thread Jule Slootbeek
(255) not null ... ---John Holmes... -Original Message- From: Jule Slootbeek [mailto:jslootbeek;clarku.edu] Sent: Tuesday, November 05, 2002 9:43 PM To: Marco Tabini Cc: [EMAIL PROTECTED] Subject: Re: [PHP] sql error Ah i see, but then why will phpMyAdmin let me use it? it works fine on my

Re: [PHP] sql error

2002-11-05 Thread Jule Slootbeek
- From: Jule Slootbeek [mailto:jslootbeek;clarku.edu] Sent: Wednesday, November 06, 2002 1:52 PM To: Marco Tabini Cc: [EMAIL PROTECTED] Subject: Re: [PHP] sql error apparently 'where' and 'with' are keywords in Java, i've changed them and now it works fine. thanks! Jule On Tuesday, Nov 5, 2002

[PHP] filemtime() error

2002-11-06 Thread Jule Slootbeek
td.filemtime($localList)./td /tr; } } closedir($opendir); } does anyone have any idea why it won't show a stamp for every file? TIA, Jule Jule Slootbeek [EMAIL PROTECTED]

Re: [PHP] ftp file exists

2002-11-08 Thread Jule Slootbeek
. Jule Slootbeek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL-port question

2002-11-21 Thread Jule Slootbeek
I have a problem, i know this is not the MySQL mailinglist, but i hope you guys can help me. when i type mysqladmin variables the port comes up as 0 and doesn't let people connect to my db remotely. does anyone know why this problem is, and how i can change my port? TIA Jule Jule Slootbeek