I'm using a MySQL database to store images as BLOBs. I know how to
handle all the MySQL stuff, it's easy, and really makes keeping track
of files nice an clean. No permissions, no risk of getting things out
of sync, finding stuff is as easy as SQL.
My question is about handling stuff once you p
Of course but when I make a file test.shtml, the php-code will be ignored,
and when I name the file test.php, the SSI will be ignored.
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "V.B. de Haan" <[EMAIL PROTECTED]>
Cc: "PHP General Mailing List" <[EMAIL PROTECTED]>
Now the WHY-question:
at the bottom of every page, a complex CGI-Perl-script has to be executed,
it's more easily to add only one line of SSI-comment, than the whole content
of te script. I also have to translate it to PHP.
Vincent
- Original Message -
From: "John W. Holmes" <[EMAIL PROTE
On Sunday, December 7, 2003, at 04:48 PM, Pablo Gosse wrote:
Hi all. I'm wondering if anyone can tell me how long temporary session
files stay on the server after the session has ended if
session_destroy() is not called.
AFAIK, this depends on two php.ini directives:
---
; Define the probabilit
Galen wrote:
I'm using a MySQL database to store images as BLOBs. I know how to
handle all the MySQL stuff, it's easy, and really makes keeping track of
files nice an clean. No permissions, no risk of getting things out of
sync, finding stuff is as easy as SQL.
My question is about handling st
"Justin Patrin" <[EMAIL PROTECTED]> wrote
news:[EMAIL PROTECTED]
> Use mysqldump in a system() call, redirect it to a temp file, then read
> it back and out to the browser.
>
> Or, you could use popen to get the output piped back into php. Make sure
> to check the mysqldump options for things you
V.B. de Haan wrote:
Now the WHY-question:
at the bottom of every page, a complex CGI-Perl-script has to be executed,
it's more easily to add only one line of SSI-comment, than the whole content
of te script. I also have to translate it to PHP.
No you don't. Just use virtual().
http://us2.php.net
php-general Digest 7 Dec 2003 15:26:52 - Issue 2459
Topics (messages 172111 through 172129):
Random Numbers..
172111 by: TheHeadSage
172115 by: Alex
172116 by: Burrito Warrior
Re: Random Numbers.. [Solved, Ignore]
172112 by: TheHeadSage
Re: Check type of upl
So you're saying there's no way to do what I want to do.
Anybody got any other ideas?
It seems so stupid to be unable to run functions that accept files on
variables, with so many people using databases and whatnot these days.
-Galen
On Dec 7, 2003, at 1:46 AM, Justin Patrin wrote:
Galen wrot
Hi,
I am using a PHPBB to have forum and site in php and i need a little script
, can i request it here or do you know an otehr group where i can request
it.
Thnaks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday 07 December 2003 11:33 am, playerfr wrote:
> Hi,
>
> I am using a PHPBB to have forum and site in php and i need a little script
> , can i request it here or do you know an otehr group where i can request
> it.
Uh, you can request help writing the script here when you hit a wall, but it'
On Saturday 06 December 2003 10:39 pm, TheHeadSage wrote:
> Hey,
>
> I've got a script which used to generate a random quote. It worked fine
> untill this problem occurred..
>
> Say we have 4 quotes with QuoteID's of 1 through to 4
> The script would grab a number of rows, and generate a random num
Just wanted to see if this was correct. To me this is saying that /tmp
cannot be written to as there is no space left on device.
Warning: Unknown(): write failed: No space left on device (28) in Unknown on
line 0
Warning: Unknown(): Failed to write session data (files). Please verify that
the cu
Richard Davey wrote:
> BH> I want to test an uploaded file to see if it is a text file, but I don't want
> BH> to rely on the presence of an os command such as 'file.' Is there a
> BH> straightforward way to do this within PHP? Thanks in advance.
>
> Yes, check the $_FILES['userfile']['type'] a
Gerard Samuel wrote:
> On Saturday 06 December 2003 11:01 pm, Richard Davey wrote:
> > Yes, check the $_FILES['userfile']['type'] after upload.
> >
> That can be spoofed.
> There isn't really a way to determine file types...
I was thinking of trying something like ereg("[[:print:]]*", "$contents"
select all and
use
mysql_data_seek($result, rand(mysql_num_rows($result) - 1));
$row = mysql_fetch_assoc($result);
and there, your random row is returnd, that should be easy enough :) and it
should work
--
Luke
"Theheadsage" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey,
>
>
Hello
I think there is some problem with the permission.
Even if I execute a command like -
echo ( "start" );
exec ( "pwd" );
echo ( "end" );
the output is - startend
shouldnt be pwd showing the present working directory
to me.
Karam
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Saturday 06 D
php-general Digest 8 Dec 2003 04:56:54 - Issue 2460
Topics (messages 172130 through 172138):
Re: getimagesize() & MySQL Image Storage (Running functions on contents of variables)
172130 by: Galen
Can I request ?
172131 by: playerfr
172132 by: Evan Nemerson
Re: Rando
Hi,
Sunday, December 7, 2003, 6:38:13 PM, you wrote:
G> I'm using a MySQL database to store images as BLOBs. I know how to
G> handle all the MySQL stuff, it's easy, and really makes keeping track
G> of files nice an clean. No permissions, no risk of getting things out
G> of sync, finding stuff
On Monday 08 December 2003 12:56, Karam Chand wrote:
> I think there is some problem with the permission.
> Even if I execute a command like -
>
> echo ( "start" );
> exec ( "pwd" );
> echo ( "end" );
>
> the output is - startend
>
> shouldnt be pwd showing the present working directory
> to me.
Y
On Mon, Dec 08, 2003 at 01:28:11PM +0800, Jason Wong wrote:
> On Monday 08 December 2003 12:56, Karam Chand wrote:
> > I think there is some problem with the permission.
> > Even if I execute a command like -
> >
> > echo ( "start" );
> > exec ( "pwd" );
> > echo ( "end" );
> >
> > the output is -
21 matches
Mail list logo