ybody have any idea why I am getting these errors ? I can reproduce them
using this code:
Regards
Stephan
Because E_WARNING is issued if the optional fourth parameter, Initialization
Vector, is NULL.
Is that so ? In ext/openssl/openssl.c it looks like php is questioning
openssl if the cipher i
any specifications for HBCI interfaces? Socket connection,
> XML Exchange, DB Access ? If you have C code for such things, it should
> be possible to convert this to php code maybe
>
> Stephan Ebelt schrieb:
>> On Fri, Oct 08, 2010 at 01:50:12PM +0100, a...@ashleysheridan.co.uk
wikipedia has a good summary: http://en.wikipedia.org/wiki/HBCI#FinTS_4.0
I just learned that its called "FinTS" now. Looking for that didnt bring me
closer yet.
stephan
On Fri, Oct 08, 2010 at 01:50:12PM +0100, a...@ashleysheridan.co.uk wrote:
> How do you mean? Did you wa
that from PHP code, only C and Java so far.
My goal for now would be to access bank account statements in order to show the
balances. I am not too eager to issue transactions.
thanks,
stephan
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
> - Reply message -
&g
Hello,
is there a way to do HBCI banking with PHP?
stephan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Jun 13, 2010 at 12:52:18PM +0200, Stephan Ebelt wrote:
[...]
> > Use mysqli - it supports running multiple queries at once.
>
> sometimes its as easy as that. I'll give it a try.
not quite as easy: mysqli->multi_query() works nice with many queries in a
string but t
On Sun, Jun 13, 2010 at 12:14:53PM +0100, Ashley Sheridan wrote:
>On Sun, 2010-06-13 at 12:52 +0200, Stephan Ebelt wrote:
>
> On Sun, Jun 13, 2010 at 11:29:14AM +0200, Peter Lind wrote:
> > On 13 June 2010 11:05, Stephan Ebelt <[1]...@shared-files.de> wrote:
> >
On Sun, Jun 13, 2010 at 11:29:14AM +0200, Peter Lind wrote:
> On 13 June 2010 11:05, Stephan Ebelt wrote:
> > Hello,
> >
> > I am trying to run a .sql script produced with mysql-dump from a php script
> > but
> > failed to find a rudimentary robust solution ye
ps via shell command like 'cat some.dump | mysql'
either.
stephan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ives (note that this site also
> > has alternate styles available)
> >
> > PHP could be used to define the default style sheet on a per
> > user/application setting basis...
> >
> > stephan
> >
> >
> >
>
>
> The only problem rely
tives (note that this site also has
alternate styles available)
PHP could be used to define the default style sheet on a per user/application
setting basis...
stephan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Oct 12, 2009 at 01:44:56PM +0100, David Otton wrote:
> 2009/10/12 Stephan Ebelt :
>
> > as far as I understood/use it: I try to hardcode as many workable defaults
> > in
> > the vo class as possible (ie. see $subject in the example). Then I create
> >
On Sun, Oct 11, 2009 at 01:17:00PM -0700, Jim Lucas wrote:
> Stephan Ebelt wrote:
> > On Mon, Oct 05, 2009 at 05:48:32PM -0700, Jim Lucas wrote:
> >> Here is a problem that I have had for years now. I have been trying to
> >> come up
> >> with the perfect sol
c for the input values is required, it can be added easily:
class dao_email extends vo_email {
...
public function encode_body() {
...
}
public function sanitize_mail_address() {
}
...
}
sendEmail() would then require a dao_email
Stephan G wrote:
Hello.
Please pardon the cross-post - I posted this on the php.install
newsgroup a couple of days ago, but there has been no activity on that
news group, and I see that other installation issues are posted here.
I have tried to install the following on my Windows Vista Home
aller claims on the PHP site to be Vista compatible, so I am
hoping there is a much less destructive way of dealing with this issue.
Anyone else?
Many thanks.
-stephan
Alan Milnes wrote:
On 18/07/07, Stephan G <[EMAIL PROTECTED]> wrote:
I have tried to install the following on
this and remove it from my system?
2. What is error code 2738 and what does it mean?
3. What steps might I take subsequently to install without
incurring this error?
Thanks in advance for any assistance.
-Stephan G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Rinke,
check Mime-Types..
Stephan
Rinke Hoekstra wrote:
Hi All,
I have a rather odd problem. Since a few days, my otherwise perfect SuSe
9.0 Apache2 server started to do some funny stuff.
In general, php works fine, and I can do anything I want... after a
little while Firefox/IE starts asking
xploitable that much that it can overwrite
random system control files.
Just an idea.
Stephan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Dirk,
dirk wrote:
Try it with escaped qutation marks (\")
This is completely wrong here, because mysql doesn't understand those
marks(").
The string delimiter in mysql (in sql in general) is '
(http://dev.mysql.com/doc/mysql/en/index.html)
Grusz Stephan
--
PHP Genera
Hi Logan,
1stly My cristall ball tells me it's an unexpected ";"
expected was a ")" here.
.md5($_POST['password'])."')");
---^
2ndly.
Please Submit the error you get.
3rdly.
check posted values before inserting them into db.
Ha
Hi Nick,
Nick Wilson wrote:
Hi all,
[...]
so, what is it? a=
[...]
if a was checked "a=on" is posted (or 'get'ed)
if not checked a isn't set.
Thanks very much!
You're welcome
Stephan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Markus,
do I get you right, you can't invoke mail() because php can't find the
sendmail executable?
perhaps this does the trick:
function my_mail_inject($mail)
{
$sendmail = ini_get("sendmail_path");
if(!$sendmail) $sendmail = "/var/qmail/bin/qmail-inject";
$p = popen($sendmail, "w");
if($
Hi Jonathan,
Jonathan Hadddad wrote:
> [code in a template]
Think you're right this IS a problem.
Use Templates to seperate code from the ouput 'layer'.
If you still have code in your template, maybe it's bad design.
why don't you simply add some more variables to your template and tell
the templa
sure, whether I used setenv or putenv, I'm sure U'll find out.
AND: bweare sending spam to ME ;o)
Tris...
Stephan
*
The information contained in this e-mail message is intended only for
the personal and confidential use
it?
or preg_replace it to something machine-readable and for the output use
strftime?
or even simpler: select unixtimestamp(mytime) and strftime later?
Stephan
[*] if you want the month leading it is $2-$3-$1...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;--with-mysql' '--with-apxs'
Linux version Linux 2.4.20.
Thanks for any hint
Stephan
--
Gloor Informatik Zurlindenstr. 215 a 8003 Zürich
Tel: 01 461 24 11 Fax: 01
461 22 39 [EMAIL PROTECTED]
--
The confixx_vhost.conf contains lots of virtual host configured on a
named vhost basis.
php is minimally configured with
'./configure' '--with-mysql' '--with-apxs'
Linux version Linux 2.4.20
a lot of people (again:google) are having the same or similar problems
I have.
Just drop me a line if you feel up to the challenge. Thanks!
With regards,
Stephan
--
Stephan van Beerschoten [SVB21-RIPE] [EMAIL PROTECTED]
PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27
"
lient to handle
such HTTP issues properly.
Well, I am no perl guy (at least not now) and would like to have solved that
issue with php ;).
If it could not be (what I realy doubt) I will have to dive into perl.
Again, any guess will be deeply appreachiated ...
Stephan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ata ?
Any guess out there ?
brgds
stephan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Well, something very important in php5 is ZendEngine2:
http://cvs.php.net/co.php/ZendEngine2/ZEND_CHANGES
bye
Adrian Portsmouth wrote:
Hi,
I have been checking out the books on Amazon.com and it seems there is a
PHP5 book in the works due to be released on March the 4th. Does anyone
know w
what about sleep() ?
OjMyStEr wrote:
Hi,
Does anyone know if there is a way for me to produce a function in PHP to
pause the processing of the script for 3 seconds for example without eating
up the CPU bandwidth. I could do with quite accurate control. Is there a
better way that doing it like thi
> > Maby you could help me on why I get this message when using variables:
> > Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php
> > on line 15
> Because you have an undefined variable. You have a variable that has not
> been assigned a value. Assign it a default value or use
Hi,
Maby you could help me on why I get this message when using variables:
Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php
on line 15
I have PWS being used, PHP 4.3.0 & Apache 2.0.34. OS is Windows 2k
If you could help that would be great because I need it for testing
sc
ah sorry, mixed some configuration files ;)
Jonathan Boles wrote:
Do you mean allow_url_fopen? It is set to 'on'. There's no fopen_wrapper
setting
Reading from http:// using fopen works fine. It's the https:// that doesn't
work.
- Original Message -
From
I guess you use some webserver, let's take apache.
Apache's mime.conf has set several extensions,
also php extensions. So only .php, .php3, .php4
files will be parsed by php.
Chad Day wrote:
I want to give my users the ability to submit a URL to a database, then when
they pull up their page, the
Is fopen_wrapper in php.ini set to yes ?
Jonathan Boles wrote:
PHP 4.3.0, Apache, Win32.
I'm driving myself mad trying to work out why I can't get HTTPS pages. I
understand there are two options, using fopen() with openssl installed, and
using curl. I've installed openssl extension, but using fo
You wanted advert ;p www.weaverslave.de , has also a good english
translation and many other languages.
Karl James wrote:
Hello guys,
Right now im using dreamweaver mx
I was wondering if anyone knew of any good free text editors that has
line counts
And is good for php
.
Thanks
karl
---
Ou
yep i guess that, so NOW() is a mysql function.
- [ Paul Ferrie ] - wrote:
So Jason what your saying is this
$query = "INSERT INTO contacts (id, name, pass, email, dateAdded) VALUES
(NULL, '$name', '$pass', '$email', '$time')";
Should be
$query = "INSERT INTO contacts (id, name, pass, email
What sort of mysql field type did you use for dateAdded ?
You need UNIX_TIMESTAMP (or sth like that) for unix timestamp format.
- [ Paul Ferrie ] - wrote:
hey guys could someone help me
I have created a user login register system in flash with PHP and Mysql.
Everthing Now works fine aprt from th
That depends on where you want to point it at :)
In pear we always use something like :
require_once 'Package/File.php'
It's very usable to add the pear directory to php's
include path, but only if you have it ;)
Otherwhise, just don't think about that setting.
Rad Craig wrote:
Where should this
http://www.php.net/phpversion
Kenn Murrah wrote:
Greetings.
My code to upload file is working fine with very small files but not with
larger ones
Here's what I've tried so far:
1. I've edited my php.ini file to read: upload_max_filesize = 100M
2. I've the following line to my html file
well ok, if it's :
main.php :
include 'foo';
foo :
include 'bar';
bar :
include 'whatever';
...
there will be lots of used file descriptors at once
Leon Mergen wrote:
"Stephan Seidt" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]
I guess that PHP will close file 1 before it opens
file 2 and so on.. For example :
include 'foo';
include 'bar';
When bar is being opened foo is already closed.
Leon Mergen wrote:
"Radek Zajkowski" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]...
Is there, was there ever issu
ibrary. It's still
> experimental, but it's a step in the right direction.
>
> J
>
>
> Stephan Seidt wrote:
>
> > Hi
> >
> > I'm thinking about the best way to connect a c(++)
> > binary with the php interpreter. I thought the bes
Hi
I'm thinking about the best way to connect a c(++)
binary with the php interpreter. I thought the best
solution is to use a shared library which has been
built by php. Is libphp4.so always the same or are
the libraries for apache / apache2 / roxen / etc
different ? I think the parameter --with-
Hi,
You have to choose a protocol for AF_INET sockets.
Try getprotobyname() with tcp and udp to get one.
bye
On Mon, 25 Nov 2002 10:24:46 -0800
[EMAIL PROTECTED] (Gareth Thomas) wrote:
> Hi,
>
> I really need some help here because I am going to lose my mind otherwise!!
> A script that was run
Maybe Pear's Cache class could help you..
But I'm not sure, never played around with it in detail.
On Sun, 24 Nov 2002 12:47:08 -0500
[EMAIL PROTECTED] (Alex) wrote:
> Hi,
>
> I have a few pages on my site that contains dynamical content that must be
> "processed" each time the page is loaded. B
windows, unix ?
On Sun, 24 Nov 2002 10:26:21 -0500
[EMAIL PROTECTED] (Tweak2x) wrote:
> how do i do that?
>
> "Stephan Seidt" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi,
> >
> > You must build
Hi,
You must build a shared library by configuring php with --with-apxs2.
On Sun, 24 Nov 2002 09:42:40 -0500
[EMAIL PROTECTED] (Tweak2x) wrote:
> can somebody please help me? I cant figure it out.
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
hi,
you should try to take the php.ini-recommended and edit it a little bit so that it
fits your needs.
the settings there are very secure but also increase php's performance and coding
standard.
if some settings won't fit to a single script, you can use ini_set(..., ...).
so you'll have to disa
if you mean something like bla.php?foo=bar, etc and you have register_globas enabled
it'll be stored as $_GET['foo'] ($_REQUEST['foo'])
On Sat, 23 Nov 2002 11:42:49 -0800
[EMAIL PROTECTED] (Craig Edgmon) wrote:
> I am sure this question has been answered, but there is a ton of data to
> sift thro
It's good behavoiur because everytime even a reference gets a value,
also the target which it is pointing on should get the same value.
On Mon, 23 Sep 2002 12:57:56 +0200 (CEST), [EMAIL PROTECTED] (Jean-Pierre arneodo)
wrote:
> Hi,
>
> $a=1;
> $b=&$a;
> foreach(array(2,3) as $b);
> echo "a=$a"
secret-file stuff.
bye,
blizz
On Thu, 19 Sep 2002 20:15:06 +0200, [EMAIL PROTECTED] (Oliver Witt) wrote:
> Stephan Seidt schrieb:
>
> > On Thu, 19 Sep 2002 16:50:16 +0200
> > [EMAIL PROTECTED] (Oliver Witt) wrote:
> >
> > > Hi,
> > > Is there any way to rea
I guess it is sth. like :
http://www.domain.com/index.php'); ?>
If it doesnt work try www.php.net/header, there is an example.
On Thu, 19 Sep 2002 17:21:15 +0100
[EMAIL PROTECTED] (Brian McGarvie) wrote:
> How could you redirect somone from directly accessing a file...
>
> Meaning... if an en
Looks like you may not redeclare functions generally.
Because the function tbl2array can't be any kind of scope,
the functions declared inside it will be globally declared.
I think the solution is to take the functions like compname()
out of tbl2array and declare them "really global".
On Thu, 19
On Thu, 19 Sep 2002 16:50:16 +0200
[EMAIL PROTECTED] (Oliver Witt) wrote:
> Hi,
> Is there any way to read php source code? I didn't think so until I
> heard about people you have done that...
> Kind regards,
> Oliver
>
Do you mean the source of php.net ?
Try http://de.php.net/source.php?url=/i
Hi all,
I'm new in here and from Germany, so I hope I can make clear what my problem
is. I also didn't do too complicated things with php upto now. And the
problem I have at the moment is the following:
I have done a simple website as a frontend for changing the ".htaccess"- and
".htusers"-files
probably priority issue. try:
if (($One & $Two) == $One)
- -
in your example this means:
((0100 & ) == 0100)
(0100 == 0100)
TRUE
...in other case 0100 & ( == 0100) is 0100 & 0 is always 0
hope this helps
Buchholz
"Fred" wrote
> From: "Fred" <[EMAIL PROTEC
to hear your opinion on this issue since for me
very much depends on that (3 years of studying at college).
Stephan
P.S.: If you agree with me or not can you also send me an email to me?
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
it... (btw, it's a linux or unix server where the pages are on).
Thanks for your thoughts.
Have a nice day,
Stephan Huebner
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
n in the
html-site is written to the screen.
It seems that the server is interpreting the php-script, though, as the
echo-commands are executed right. But the first line (starting with "->"
should be written to the screen, right?
Does anyone know what the problem could be? Thanks for any
Okay, I've been asked to take a bunch of HTML pages and turn them into Excel
spreadsheets by running them through a PHP script and outputting a
semicolon-delimited text file. The pages are in this format:
Name: LAST, FIRST MIDDLE
Pilot's Address : ADDRESS LINE 1
#x27;s trying to get crawl into absolute power so we can recognize it and
prevent it when it happens.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s" to reply by e
y index you find the word in is the line number.
To save a couple lines of code, use the file() function, it returns the
contents conveniently pre-split into the array.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow f
$count = 0;
while (($myrow = mysql_fetch_array($result))&&($count<20)) {
do stuff
$count++;
}
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s" to repl
$pstr.="selected";
> $fcol=$fc_arr[$x];
> }
> $pstr.=">$ptext_arr[$x]\n";
> }
Even better! This looks like to winning entry for our mini-programming
contest. =)
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now b
;);
$val_name = array("High","Medium","Low");
$fcol_name = array("high","med","low");
$count = count($val);
for ($counter = 0; $counter < $count; $counter++) {
$selected = "";
if ($val[$counter] == $priority) {
$selected = "
[Explanation of UBB-style]
...And that's USENET-style. In OE I can expand and contract threads at will,
like you mentioned, and I can tell which posts are in reply to which other
posts.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clot
> Any advice?
USENET style threads. I *really* hate Phorum-style threads, where
everything's just tacked onto the end. Though Phorum-style is easier, it
really detracts from the conversation when you have to write whose post
you're replying to in your replies.
Sig for a Day
Stepha
tore them on the server, nobody can see the actual passwords. Now when
someone tries to login with one of those passwords, you crypt the password
he enters, compare it with the version on the server, and if they match,
it's the right password.
Sig for a Day
Stephan Ahonen, ICQ 491101
"Th
. Look at the on-line manual (http://www.php.net/manual/en/) under
String Functions.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s" to reply by email
--
PHP General Mailin
> Oh in addition this won't work accurately if $time is greater than about 2
> billion(2147483648 I believe).
This shouldn't be a problem unless you're calculating how many hours and
minutes a really old guy (>68) has been alive or something.
Sig for a Day
Stephan Ah
sectionframeset.html
Clear as mud? Take a look at http://www.geocities.com/tfc_squad/, my attempt
at a web page for an ill-fated TFC clan.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single
An example of $$variables:
Returns:
wimpymeat
smelly
ditto
wimpymeat
smelly
Now, why anyone would want to write a script that returns words like
"wimpymeat" is beyond me.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
er a big blanket folder for each entry, you put variables (?) for the
timestamp, the general contents of the entry, etc.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s&
http://www.php.net/manual/en/function.strtotime.php
No need to code it yourself, just say $timestamp = strtotime($livedate)
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single
gt; $pw.= substr($allowed,$pos,1);
> $i++;
> }
> return $pw;
> }
>
> My questions is, if this is a good or bad way?
It's a whole lot better than using real words. As long as you encrypt the
passwords using a good one-way hash when you store them on the server, you
should be f
There's a PHP function that does this. See: http://www.php.net/wordwrap
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s" to reply by email
--
How about making a mailing list for job postings, i.e.
[EMAIL PROTECTED]?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
s.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s" to reply by email
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
> You left some attributes off:
>
>
$retaliation = explode("",$badjoke);
Either that, or:
$joke = str_replace($badjoke,$goodjoke,$joke);
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorro
<<1.
$date = "20010101";
How could I output 01 01 2001 (or make it 3 variables, like day, month,
year)?>>
$year = substr($date,0,4);
$month = substr($date,4,2);
$day = substr($date,6,2);
...Assuming that the date is stored in mmdd format.
--
PHP General Mailing List (http://www.php.net/)
> Your not going to find {title} when $var = "TITLE". Everything PHP is
case
> sensitive.
If it absolutely *has* to be case insensitive, you can use eregi instead of
ereg.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
As much as reading a book is helpful in getting you started really quick, I
was able to do most of my learning by taking a simple "web page on a
template" script, studying the syntax, and trying to improve it, keeping the
language reference nearby for the stuff I didn't know. After a couple weeks,
> if ($co_area != !ereg("([0-9]{3})",$co_area))
> { echo " * Area code must be 3 digital"; }
I don't know anything about ereg and regex, so if there's an error in that
part I won't be able to help with that, but I can tell you that ($something
!= !$something_else) is a double negative, it's like
> Ah now, but who would use a HP, when you've got your trusty TI? :-)
Yup, especially since all the games are on the TI, though they're pretty
scarce for the 89, my personal preference, since they're more expensive, so
fewer people have them.
The options: Get a graph-link cable (which I can't fi
> Ah, the good ol' days of sitting in college Match classes not
understanding
> all those letters on the chalkboard. :-)
At least you're not sitting in high school calculus and actually
understanding everything on the board, but not being able to use any of it
because Texas Instruments is the onl
> Is there any easy way to post to the group instead?
I'm reading and posting from the very handy news://news.php.net server they
have set up. It's just the coolest! =)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
talseconds / 60) . " minutes.");
to get the total number of minutes. Use ceil() instead of floor() if you
want to round up instead of down, or just echo((int)$totalseconds); to round
to the nearest integer.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, n
> Any ideas? Work arounds? I am using PHP3.
Try:
$page = str_replace("?", "&", $page);
That'll change:
include.html?page=main.html?date=12
into:
include.html?page=main.html&date=12
So the variables get passed properly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
> $i = 1;
> foreach ($dirs as $value) {
> if ($i == ($numberofelements-1)) $lastdir = $value;
> if ($i == $numberofelements) $file = $value;
> $i++;
> }
I don't think the foreach is necessary - Why can't you just say:
$lastdir = $dirs[$numberofelements-1];
$file = $dirs[$numberofelements];
T
> I don't like
> arrays, because then it requires a programmer to add dirty word...
You could probably make an addbadwords.php that loads the
filterbadwords.php, does some stupid PHP tricks(tm) to find the line that
defines the array, then writes the filterbadwords.php back out with the new
words
I'd make it an array:
$filter = array(moron, idiot, pratt);
foreach($filter as $badword) {
if (strstr($name, $badword)) {
do this if it contains one of the bad words
}
else {
do this if it doesn't
}
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PRO
> OC12
> 622 Mb
>
> Monthly Fee
> $550,000
>
> Setup Fee
> call (prolly between 10k and 20k)
Hmm, I think my allowance should be able to cover that. It'll really speed
up all the instant messaging I do.
Sig for a Day
Stephan Ahonen, ICQ 491101
"Don't
> Im curious to see how other php developers store their passwd's
I store it in the "universal include file" as $password["User"] = "Encrypted
password";
Then when the user logs in:
if (encryption_function($entered_password) == $password[$entered_username])
{
Do this stuff
} else{
echo("Please
I don't know about everybody else, but I learned PHP by taking a simple,
pre-existing script and upgrading it to my needs by studying the syntax and
putting in new code to do what I wanted it to, always keeping the PHP online
manual at my side. By just jumping in like that, I've managed to build a
98 matches
Mail list logo