e URL (as written in
RFC2616 section 14.30)
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a few minutes, I'd appreciate it. As stated, the underlying
> reason for the questions is to get a better understanding of 'man in the
> middle attacks' as this applies to web server apps.
In that case you might want to look at tcp/ip and http over ssl too.
--
Met vriendelijke gr
.. Therefore, a primary key
can't be a special case of an index.
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> specified includes. Is it possible to do this? I looked at the
> various file related php functions but didn't see anything resembling
> 'my_path()'
You might also want to check out the __FILE__ constant..
http://be.php.net/manual/en/language.constants.predefined.
unter` (
> `id` int(10) NOT NULL auto_increment,
> `StampDate` date NOT NULL default '1999-12-31',
> PRIMARY KEY (`id`)
> ) TYPE=MyISAM AUTO_INCREMENT=26050 ;
>
All you need to do is SELECT .. GROUP BY YEARMONTH(StampDate) and you're
ready to go..
--
Met vrien
tions, but still get the same
> error...
Now, if you read the documentation of output buffering you will see that
it does *not* buffer headers..
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
et at dynip etc?
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you meet a value that is greater than the current
biggest.
Now it's only a matter of building the new array, and resetting your
index to 0 when it's as big as the biggest found earlier.
http://www.php.net/functions
http://www.php.net/foreach
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hown.
If you really want another user to be the owner of the files, you could
extend your upload script so that it uploads all the files with ftp to
localhost. This way they will be owned by the ftp-user.
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
--
PHP Gene
atch_all() is what you want to use. You can easily match
> everything up to the time since it's formed with a ":00" at the end
> each time.
If i'm not mistaken, preg_split on \d{0,2}:\d{2}
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rs can read from your session.save_path, i'm pretty sure
they'll be able to read the credentials you use in the scripts to connect the database
too. Which makes the security argument in this case invalid.
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sion to work in any Mac browsers. I've also found EditLive! and am
> intrigued by it. Does anyone know of anthing else like these availlable on
> the market?
You can try http://home.mysth.be/~timvw/test/ (user/pass webmaster/webmaster)
Source at http://home.mysth.be/~timvw/program
> From: René Fournier [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 3:59 PM
> To: Tim Van Wassenhove
> Cc: php
> Subject: Re: [PHP] Re: convert degrees to heading
>
>
> Works beautifully. Thanks!
>
> .Rene
>
> On Friday, July 16, 2004, at 04:36
7;N', 'NNW', 'NNE', 'NE', ...);
$index = $heading_degrees / sizeof($compass);
return $compass[$index];
}
Or you could use a switch
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article <[EMAIL PROTECTED]>, Red Wingate wrote:
> Oh guess it would be even better and faster to only use:
>
> /Last Name:([^\n]*)/
In most environments is strpos and substr even faster ;)
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--
PHP General Mailing Lis
;s the
> "extension" of the file. my understanding of the docs, says that the
> "extension" should be in the $reg array
>
> any ideas/comments on where my mistake is would be appreciated...
Will it work with 123.123.txt ?
If you have a look at the file functions in
;Jason \nStreet:abc"
/Last Name:\s+(.*?)\n/
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
clude_once(). Just give
> the file a php extension:
>
> include_once 'pureHTML.php';
readfile is in this case more appropriate imho
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l.. and read it again.. and again... http://www.php.net/manual.
You can find the answer in the section on variables, predefined
variables to be more precise.
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article <[EMAIL PROTECTED]>, Joao Gomes wrote:
> [mail function]
> ; For Win32 only.
> SMTP = [EMAIL PROTECTED]
I don't think [EMAIL PROTECTED] is a valid hostname.
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--
PHP General Mailing List (http://www.php.n
and
> an error told them they logged in incorrectly.
Meaby you can have a look at pear::auth ?
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the back button after posting a form...
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
// but it just didn't work last time...it was always
> // taking the 'default:' case
Probably because you forgot to put a break.
Also this is discussed in the manual.
And a lazy programmer would lookup the extension - content-type
relationship in a file like /etc/m
mple people on a lan (with let's say ip addresses in the
192.168.X.Y range) that use a proxy. You'll see the address of the
proxy in $_SERVER['REMOTE_ADDR']. And i doubt that is what you were
looking for :)
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
--
cast it as an int, or check
> is_numeric(), etc. ...). Some people check for ';' in the request
> variable and if found yell at the user, that can be fun. bugs.php.net
> does this.
Or use prepared statements with mysqli
--
Tim Van Wassenhove <http://home.mysth.be/~ti
In article <[EMAIL PROTECTED]>, John Taylor-Johnston wrote:
> How can I check if a table exists in a mysql db.
$query = 'IF NOT EXISTS table CREATE TABLE table (..)';
mysql_query($query);
--
Tim Van Wassenhove <http://home.mysth.be/~timvw/contact.php>
--
PHP G
In article <[EMAIL PROTECTED]>, Greg wrote:
> If I compare a script using PEAR::DB with a script using
> standard functions (and which supports mysql, pgsql and
> sqlite databases), the script using PEAR::DB is 10 times
> slower than the other.
>
> Conclusion : if you want to use PEAR::DB package,
27 matches
Mail list logo