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
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
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
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
';
$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
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
.
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
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
/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
(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
);
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
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
;
--
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
\;
}
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
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
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
();
?
--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
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
...:)
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
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
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
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
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
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
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
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
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
()
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
, 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
, 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
);
//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
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
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
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
---
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
(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
-
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
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]
.
Jule Slootbeek
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
40 matches
Mail list logo