At 11/4/2006 08:15 PM, John Meyer wrote:
I'm trying to create this encryption method for puzzles (nothing super
secret, just those cryptograms), but this seems to time out, can anybody
point out what I'm doing wrong here:
for ($i=1;$i<=26;$i++) {
$normalAlphabet[$i] = chr($i);
Chris,
I just posted this to php-internals in response to someone else, but this
tale of woe shows the problem:
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://...";);
exit();
produces a 302.
header("Location: http://...";);
header("HTTP/1.1 301 Moved Permanently");
exit();
Is there a way to specify a font when using imagejpeg ? Ron
Thanks. :)
That's an idea... Few questions. Grab the file and sendt it to someone, that
would work with a download but would it work with a streaming audio file,
because that has to be opened in realOne player or windows media player? I
was searching PHP.net documentation for a way of grabbing a f
John Meyer wrote:
for ($i=1;$i<=26;$i++) {
$normalAlphabet[$i] = chr($i);
}
//now, to shuffle
for ($j=1;$j<=26;$j++) {
do {
$k = rand(1,26);
} while ($k == $j || (strlen(trim($normalAlphabet[$k])) === 0));
$arEnc
I'm trying to create this encryption method for puzzles (nothing super
secret, just those cryptograms), but this seems to time out, can anybody
point out what I'm doing wrong here:
for ($i=1;$i<=26;$i++) {
$normalAlphabet[$i] = chr($i);
}
//now, to shuffle
for
--- Alain Roger <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a way via PhpPgAdmin to export/import the whole database
> info
> (structure, schema, tables, index, sequences, data...) ?
>
> Because i developed my database on local server and now i want to
> import to
> my web hoster server...
>
On Saturday 04 November 2006 18:26, Alain Roger wrote:
> Hi,
>
> I create a table with some large object (ref: OID) to store some images.
> When my PHP will display some data, it will also display the images stored
> as OID.
>
> However, i've read that before i must restore the image by exporting t
Hi,
Sorry to cross post this mail but i'm not able to know from where comes my
issue.
I have a postgreSQL database in UNICODE (UTF-8 in v8.1.4 and UNICODE in
v8.0.1).
Via my web application i type a sentence in Slovak language and it is stored
into DB without any slovak characters. Instead of th
Hi,
Is there a way via PhpPgAdmin to export/import the whole database info
(structure, schema, tables, index, sequences, data...) ?
Because i developed my database on local server and now i want to import to
my web hoster server...
and i do not want to recreate everything manually :-(
thx,
Al
I don't know about the command line pear app, but I don't see how they
either (a) could, or (b) would want to, stop you from using the individual
pear libraries. Unless they scan all the files you ftp to your site.
Just upload the ones that you require.
Some downloadables that use the Pear libra
Hi,
I would like to know if a lot of people use the PEAR system (packages +
core) to their web sites ?
One of my colleague uses it for company internal usage, but i wonder if my
web hoster will allow me to use and install it...because i have only a
webftp access to my business web site...
thank
On 03/11/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, November 3, 2006 5:30 am, Dotan Cohen wrote:
> To all others who took part in this thread: I was unclear on another
> point as well, the issue of sql-injection. As I'm removing the
> symbols, signs, and other non-alpha characters from
Dotan Cohen wrote:
> On 03/11/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> On Fri, November 3, 2006 6:09 am, Dotan Cohen wrote:
>> > How does php decide what timezone a user is in? Although I am in
>> > Haifa, Israel (GMT+2), when I go to a page with date("e") I get
>> > "America/New_York" displ
On 03/11/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, November 3, 2006 6:09 am, Dotan Cohen wrote:
> How does php decide what timezone a user is in? Although I am in
> Haifa, Israel (GMT+2), when I go to a page with date("e") I get
> "America/New_York" displayed.
I could be wrong, but I
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2006-11-03 22:18:03 +0100:
>> Roman Neuhauser wrote:
>>> # [EMAIL PROTECTED] / 2006-11-03 16:16:11 +0100:
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2006-11-03 14:51:39 +0100:
>> 1. running the command 'locale -a' returns the following
Very cool example.
Probably best explained with an example:
http://progphp.com/upload.php
Try uploading a 200-300k file.
The source code is at:
http://progphp.com/upload.phps
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I create a table with some large object (ref: OID) to store some images.
When my PHP will display some data, it will also display the images stored
as OID.
However, i've read that before i must restore the image by exporting them to
local (on server) file.
isn't it easier in this case, to s
Christian Heinrich wrote:
> Hey all,
>
> I've just examined the latest Change-Log for Version 5.2.0 (see
> http://www.php.net/ChangeLog-5.php for details).
>
> Seems to be fine, but I couldn't figure out one point.
>
> The changelog talks about
>
>> Added RFC1867 fileupload processing hook. (St
You put the data in a directory outside of the webspace and use PHP
to grab the file and send it to someone. That way you're able to
control access to the file.
By webspace, I'm referring to the directories outside of the ones
used to store and serve your webpages. This directory structur
Hey all,
I've just examined the latest Change-Log for Version 5.2.0 (see
http://www.php.net/ChangeLog-5.php for details).
Seems to be fine, but I couldn't figure out one point.
The changelog talks about
Added RFC1867 fileupload processing hook. (Stefan E.)
and I actually don't know what i
# [EMAIL PROTECTED] / 2006-11-03 15:15:55 -0600:
> On Fri, November 3, 2006 12:45 am, John.H wrote:
> > My php program whose owner is root:
That has absolutely no influence on what user the process *runs* as.
> > > mkdir('test',0777);
> > ?>
> >
> > and the folder 'test' 's owner is 'nobody
# [EMAIL PROTECTED] / 2006-11-03 22:18:03 +0100:
> Roman Neuhauser wrote:
> > # [EMAIL PROTECTED] / 2006-11-03 16:16:11 +0100:
> >> Roman Neuhauser wrote:
> >>> # [EMAIL PROTECTED] / 2006-11-03 14:51:39 +0100:
> 1. running the command 'locale -a' returns the following [shortened]
> list:
Try like this:
var_dump(in_array($a, $test, true));
Richard Lynch wrote:
Try providing a custom comparison function.
Almost for sure, PHP is attempting to "test" the == by a deeper scan
than you think.
On Fri, November 3, 2006 10:56 am, tamcy wrote:
Hello all,
I'm new to this list. To not
A bit out of topic perhaps, but is this the time to see Steve Balmer
and his developers dance all over again? ;)
H
On 11/3/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, November 3, 2006 12:36 pm, Curt Zirzow wrote:
> Here is the actual demo given:
> http://blogs.iis.net/bills/arc
[EMAIL PROTECTED] wrote:
> header('HTTP/1.1 301 Moved Permanently');
> header('Location: newurl');
> exit();
If you're using PHP 4.3 or later, header() lets you set the response
status code with the third argument. Otherwise, sending a Location
header sets the response status code to 302.
If you'
26 matches
Mail list logo