Richard Lynch wrote:
Stoian Ivanov wrote:
I'm writing a wap download script involving dynamic image resizing and so
on. I've notice that some phones are quitting in the mids of http
transfer.
After looking further I found out that headers() is sometimes ignored or
stripped. I've googled
Starting over since my last thread had too little effort put in it. I
have this script that should create a multi-demensional array that would
resemble a directory structure. The problem is that after adding one
element to a folder it appears to be creating a new object instead of
adding another
David Edwards wrote:
Hi,
I have a fairly simple script written that uses the mail() function on a
client site hosted at Interland. I have used a similar script quite a few
times before with no problem. However although the script generates no
errors, no emails appear at their intended
[EMAIL PROTECTED] wrote:
OK, this is off-topic like every other regex help post, but I know
some of you enjoy these puzzles :)
This isn't an exam question, is it? ;)
I need a validation regex that will pass a string. The string can
be no longer than some maximum length, and it can contain
Stoian Ivanov wrote:
Richard Lynch wrote:
Stoian Ivanov wrote:
I'm writing a wap download script involving dynamic image resizing and so
on. I've notice that some phones are quitting in the mids of http
transfer.
After looking further I found out that headers() is sometimes ignored or
stripped.
Hello SargeTron,
Wednesday, January 19, 2005, 10:10:20 AM, you wrote:
S rand() only returns an int (number), but I would like something
S like dd75$6*, you know, containing any character. I would like it
S only to do a certain string ONCE, so there are no duplicates (in a
S for loop). Hopefully I
Chris wrote:
Hi,
Are there any places that might have instructions on compiling PECL
extensions on Windows? I tried going the pear install package route,
but fileinfo is not considered stable yet.
Chris
Trying a PEAR or PECL list might do you more good. That being said...
are you trying to
Jason Barnett wrote:
Stoian Ivanov wrote:
Richard Lynch wrote:
Stoian Ivanov wrote:
I'm writing a wap download script involving dynamic image resizing and
so on. I've notice that some phones are quitting in the mids of http
transfer.
After looking further I found out that headers() is
Hi,
I am testing the following code that pushes a file to the browser
(Apache 1.3 + PHP 4.3.8 but tested also under several other configs)
Try it with a BIG test1.zip (e.g. 100M in size)
?php
ignore_user_abort();
set_time_limit(0);
session_save_path('/tmp');
session_start();
$sFileName =
On Sat, 2005-01-29 at 08:58, Michael Sims wrote:
[EMAIL PROTECTED] wrote:
OK, this is off-topic like every other regex help post, but I know
some of you enjoy these puzzles :)
This isn't an exam question, is it? ;)
I need a validation regex that will pass a string. The string can
be
Leif Gregory wrote / napsal (a):
Hello SargeTron,
Wednesday, January 19, 2005, 10:10:20 AM, you wrote:
S rand() only returns an int (number), but I would like something
S like dd75$6*, you know, containing any character. I would like it
S only to do a certain string ONCE, so there are no
Bret Hughes wrote:
On Sat, 2005-01-29 at 08:58, Michael Sims wrote:
[EMAIL PROTECTED] wrote:
I need a validation regex that will pass a string. The string can
be no longer than some maximum length, and it can contain any
characters except two consecutive ampersands () anywhere in the
string.
PHP List,
The Situation:
I am building a content management system where users can, among
other things, upload images into a directory.
The Problem:
The image uploads fine, but once it's there, it can't be over
written. So if a user uploads an image, and then changes his or her mind
Jon wrote:
Starting over since my last thread had too little effort put in it. I
have this script that should create a multi-demensional array that would
resemble a directory structure. The problem is that after adding one
element to a folder it appears to be creating a new object instead of
FileInfo is not available on win32.
- Frank
Chris wrote:
Hi,
Are there any places that might have instructions on compiling PECL
extensions on Windows? I tried going the pear install package route,
but fileinfo is not considered stable yet.
Chris
Trying a PEAR or PECL list
Hi!
I had a script for parsing text into html, similar to phpBB. Everything
has been working fine until now. Some of my 'pseudotags' like [b] are
still recognized (parsed into b) but some more advanced pattern
matching is not. I haven't changed the code, but the php-version on the
server has
Kristian Hellquist wrote:
Hi!
I had a script for parsing text into html, similar to phpBB. Everything
has been working fine until now. Some of my 'pseudotags' like [b] are
still recognized (parsed into b) but some more advanced pattern
matching is not. I haven't changed the code, but the
John Nichel wrote:
Chris W. Parker wrote:
Hello,
I'm looking to make a simple scheduler for myself and I'd like to get
some feedback on how to handle the events and their being executed at
the right time.
The two options I've come up with both involve adding a job(s) to
crontab.
1. Individual jobs
Use php's ftp commands.
Hugh
- Original Message -
From: Dave [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Saturday, January 29, 2005 11:11 AM
Subject: [PHP] Permissions on uploaded image don't allow for over writing
PHP List,
The Situation:
I am building a content
Jason Barnett wrote:
Chris wrote:
Hi,
Are there any places that might have instructions on compiling PECL
extensions on Windows? I tried going the pear install package
route, but fileinfo is not considered stable yet.
Chris
Trying a PEAR or PECL list might do you more good. That being said...
Hello;
I'm trying to figure out the best (most secure and most
user friendly, security of primary importance) way to
let a user log-in.
I am setting up a web application (database
application) that will be for private use only and I
want to keep it secure.
As I understand it, using the Apache
Hi!
I had a script for parsing text into html, similar to phpBB. Everything
has been working fine until now. Some of my 'pseudotags' like [b] are
still recognized (parsed into b) but some more advanced pattern
matching is not. I haven't changed the code, but the php-version on the
server has
Michael Sims wrote:
I need a validation regex that will pass a string. The string can
be no longer than some maximum length, and it can contain any
characters except two consecutive ampersands () anywhere in the
string.
Yup, use this perl regex:
/^(?:()(?!)|[^]){1,5}$/
[snip]
Hope
Dave wrote:
PHP List,
The Situation:
I am building a content management system where users can, among
other things, upload images into a directory.
The Problem:
The image uploads fine, but once it's there, it can't be over
written. So if a user uploads an image, and then changes his
Hello trobi,
Saturday, January 29, 2005, 12:05:33 PM, you wrote:
t whatabout uniqid()?
He also wanted symbols [EMAIL PROTECTED]*() etc.
Cheers,
Leif Gregory
--
TB Lists Moderator (and fellow registered end-user)
PCWize Editor / ICQ 216395 / PGP Key ID 0x7CD4926F
Web Site
Mike Milligan wrote:
I'm have a PHP created HTML form that I want a user to be able to enter data
into, then see it as the PHP/HTML will format it, then post it to an HTML file.
I've been trying all day to find something similar on your site, but to no
avail.
I am really new to PHP so I may not
Hello everyone,
I have been troubleshooting a problem with one of my scripts for a
while now, its purpose is to allow a user to upload a file, save it to
the server, resize it into a thumbnail, and save the thumbnail as
well. In my script all goes well until it comes to saving the images,
the
Hi All,
I am looking for advice regarding design patterns/code generation in PHP5.
I have a simple code generation tool (written in PHP) to interface with
database. It works fine for simple situations but seems a little
strange for more complex ones.
Suppose I have a table user (id, name, age)
Hi,
I tried mysql_connect() function, and it won't reture FALSE if
connection failed. Instead, the script times out after 30 seconds and
displays an Fatal error message Maximum execution time of 30 seconds
exceeded. For example:
mysql_connect(' ',' '); returns TRUE because mysql logs in the user
On 29 Jan 2005 tom soyer wrote:
I tried mysql_connect() function, and it won't reture FALSE if
connection failed. Instead, the script times out after 30 seconds and
displays an Fatal error message Maximum execution time of 30 seconds
exceeded.
I think the issue here is if the server does
Thanks for the error handling code. I think PHP still has a basic
problem. If mysql sever connection times out because wrong username or
password was used, then mysql_connect() should return FALSE. But this
is not the case, why? Is it possible that mysql_connect() could not
read the connection
tom soyer wrote:
Thanks for the error handling code. I think PHP still has a basic
problem. If mysql sever connection times out because wrong username or
password was used, then mysql_connect() should return FALSE.
It does, at least for me on PHP 4.3.10 connecting to a local MySQL 4.0.23
tom soyer wrote:
Thanks for the error handling code. I think PHP still has a basic
problem. If mysql sever connection times out because wrong username or
password was used, then mysql_connect() should return FALSE. But this
is not the case, why? Is it possible that mysql_connect() could not
read
33 matches
Mail list logo