On 9 February 2010 16:47, Ryan Sun ryansu...@gmail.com wrote:
thanks, Richard, maybe you are right, the actual file name is not my job
I changed it to 'php://temp' but its still the same, nothing has been
changed...
On Tue, Feb 9, 2010 at 11:13 AM, Richard Quadling
rquadl...@googlemail.com
On 9 February 2010 15:42, Ryan Sun ryansu...@gmail.com wrote:
I want to generate credential zip file for user on the fly with
zipArchive and render it for download, so I created following code
-
$zip = new ZipArchive();
$filename =
thanks, Richard, maybe you are right, the actual file name is not my job
I changed it to 'php://temp' but its still the same, nothing has been changed...
On Tue, Feb 9, 2010 at 11:13 AM, Richard Quadling
rquadl...@googlemail.com wrote:
On 9 February 2010 15:42, Ryan Sun ryansu...@gmail.com
On Mon, June 25, 2007 7:13 pm, Marius Toma wrote:
I can not create .php files from PHP. I can save them as *.php5,
*.php3,
asp, *.txt , etc... but not as .php. I tried both touch and fopen but
none of them worked.
I'm running PHP 5.1.6 on Apache 2, safe_mode is off
Is this a security
On Wednesday 27 June 2007 06:32, Edward Vermillion wrote:
Most /tmp directories are world rwx. So anyone that can log into the
server through a shell, or any account running on the server, has at
least read access to anything in the /tmp directory. They wouldn't
need to do it through a web
I can not believe how stupid I can be sometime.
I was trying to create a file, but a file with the same name already
existed on the server - and I did not have the write permission to it,
so from here I got the error message saying that I can not create the
file :(
Thank for your time,
On 6/26/07, Marius Toma [EMAIL PROTECTED] wrote:
I can not believe how stupid I can be sometime.
I was trying to create a file, but a file with the same name already
existed on the server - and I did not have the write permission to it,
so from here I got the error message saying that I can not
On 6/26/07, Marius Toma [EMAIL PROTECTED] wrote:
I can not believe how stupid I can be sometime.
I was trying to create a file, but a file with the same name already
existed on the server - and I did not have the write permission to it,
so from here I got the error message saying that I can not
On 6/26/07, Daniel Brown [EMAIL PROTECTED] wrote:
On 6/26/07, Marius Toma [EMAIL PROTECTED] wrote:
I can not believe how stupid I can be sometime.
I was trying to create a file, but a file with the same name already
existed on the server - and I did not have the write permission to it,
so
On 6/26/07, Marius Toma [EMAIL PROTECTED] wrote:
I can not believe how stupid I can be sometime.
I was trying to create a file, but a file with the same name already
existed on the server - and I did not have the write permission to it,
so from here I got the error message saying that I can not
You might also consider looking at variable variables and dynamic PHP
(writing and evaluating php expressions on the fly).
http://us.php.net/variables.variable
http://us.php.net/eval
Writing the PHP to a file could be a potential security vulnerability.
Especially if this was going to go
Would it not be better to create the file with tmpfile() and to put it in the
system /tmp dir; which, I believe, is generally not in the webspace?
Daniel Brown wrote:
On 6/26/07, Marius Toma [EMAIL PROTECTED] wrote:
I can not believe how stupid I can be sometime.
I was trying to create a
On 6/26/07, Al [EMAIL PROTECTED] wrote:
Would it not be better to create the file with tmpfile() and to put it in the
system /tmp dir; which, I believe, is generally not in the webspace?
The problem here, though, Al, is that it relies on the server
admin not to be lazy, and to have the box
On 6/26/07, Al Rider [EMAIL PROTECTED] wrote:
I thought that the php engine took care of deleting tmp files when the
script ended.
Thus, if his script is terminated before his code deletes the file, the
engine will insure it's deleted. Otherwise, he should use an
ignore_user_abort().
On 6/26/07, Al Rider [EMAIL PROTECTED] wrote:
I think most systems have a /tmp directory above the web dir, so
outsiders can't watch it anyhow.
True, but on an unsecured box, this becomes possible, as Apache
will most likely be running universally as `nobody`, `httpd`,
`apache`, or `daemon`
On Wednesday 27 June 2007 03:53, Daniel Brown wrote:
On 6/26/07, Al Rider [EMAIL PROTECTED] wrote:
I think most systems have a /tmp directory above the web dir, so
outsiders can't watch it anyhow.
True, but on an unsecured box, this becomes possible, as Apache
will most likely be
On 6/26/07, Crayon Shin Chan [EMAIL PROTECTED] wrote:
On Wednesday 27 June 2007 03:53, Daniel Brown wrote:
On 6/26/07, Al Rider [EMAIL PROTECTED] wrote:
I think most systems have a /tmp directory above the web dir, so
outsiders can't watch it anyhow.
True, but on an unsecured box,
On Jun 26, 2007, at 3:31 PM, Crayon Shin Chan wrote:
On Wednesday 27 June 2007 03:53, Daniel Brown wrote:
On 6/26/07, Al Rider [EMAIL PROTECTED] wrote:
I think most systems have a /tmp directory above the web dir, so
outsiders can't watch it anyhow.
True, but on an unsecured box, this
... if you really couldn't write it as dynamic PHP -- you could also
save it in a database.
Edward Vermillion wrote:
On Jun 26, 2007, at 3:31 PM, Crayon Shin Chan wrote:
On Wednesday 27 June 2007 03:53, Daniel Brown wrote:
On 6/26/07, Al Rider [EMAIL PROTECTED] wrote:
I think most
On 6/25/07, Marius Toma [EMAIL PROTECTED] wrote:
I can not create .php files from PHP. I can save them as *.php5, *.php3,
asp, *.txt , etc... but not as .php. I tried both touch and fopen but
none of them worked.
I'm running PHP 5.1.6 on Apache 2, safe_mode is off
Is this a security measure
On Jun 25, 2007, at 5:13 PM, Marius Toma wrote:
I can not create .php files from PHP. I can save them as *.php5,
*.php3, asp, *.txt , etc... but not as .php. I tried both touch and
fopen but
none of them worked.
I'm running PHP 5.1.6 on Apache 2, safe_mode is off
Is this a security measure
On Jun 25, 2007, at 9:08 PM, jekillen wrote:
On Jun 25, 2007, at 5:13 PM, Marius Toma wrote:
I can not create .php files from PHP. I can save them as *.php5,
*.php3, asp, *.txt , etc... but not as .php. I tried both touch and
fopen but
none of them worked.
I'm running PHP 5.1.6 on Apache
What's the reason reason converting from MySQL to Access? *curious*
/G
@varupiraten.se
Thanks for your reply,
but this only works on Windows. I need a program that will create an MDB
file on the fly from a query on the MySQL database...
Johannes Findeisen [EMAIL PROTECTED] wrote in
Hello,
i had the same problem some years ago. At this time i have set up all tables
in Access and wrote a script which reads from MySQL and inserts into the MDB
file via the ODBC connector. This works but is much work when your database
is very big.
2 Years ago i had the same problem but it
Sorry,
i forgot that link:
http://www.convert-in.com/sql2acc.htm
On Monday 28 March 2005 22:46, Johannes Findeisen wrote:
Hello,
i had the same problem some years ago. At this time i have set up all
tables in Access and wrote a script which reads from MySQL and inserts into
the MDB file
Thanks for your reply,
but this only works on Windows. I need a program that will create an MDB
file on the fly from a query on the MySQL database...
Johannes Findeisen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sorry,
i forgot that link:
Hi,
Certainly not with PHP! you will need to use a signed java applet or an
activex
all the best
Viviane Hu wrote:
hi,
How can I create a file (txt) in client-side?
Thanks a lot for you help.
viviane
--
Raditha Dissanayake.
snip
How can I create a file (txt) in client-side?
/snip
I dont think there is a way unless you are using some kind of java
applet. You can create the text on the server and give the user a link
to save the text file on their computer.
--
PHP General Mailing List (http://www.php.net/)
To
www.php.net/fopen
---John Holmes...
-Original Message-
From: Nick Wilson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 7:29 AM
To: php-general
Subject: [PHP] create a file?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
I'm clearly missing the obvious here ;-)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then John Holmes declared
www.php.net/fopen
Damn! I looked at that (of course) but must have missed it. Jeez, I
looked at that page twice!
Thanks John.
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
fopen(file, w)
-Original Message-
From: Thomas Franz [mailto:[EMAIL PROTECTED]]
Sent: 1. maaliskuuta 2002 9:55
To: [EMAIL PROTECTED]
Subject: [PHP] create a file
good morning,
i want to create a new file and save it in the current dir. I look in
the manual but only i found how to
problems with this email:
- no script to look at
problems with the script:
- directory permissions?
- gd installation incomplete?
- php installation missing gd?
-Original Message-
From: aurelio [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002
32 matches
Mail list logo