I've been having my forced downloads sometimes finish prematurely using
readfile(). I'm downloading a Windows .exe file.
I've read several posts that have suggested the substitution of a fread/feof
loop to write out the download in smaller chunks. I tried using a function
(readfile_chunked) I foun
I have a line of code that validates form info for some POST vars, but not
others.
if (!ereg("^[A-Za-z' -]{1,50}$",$_POST[$field]) )
when I put O'Toole in the form to test, my script kicks the page back (I
thought this entry would be OK)
but moreover, when it redisplays
I use Quanta when doing PHP development. Used to use vi, but Quanta won me.
Sorry vi.
Is Quanta powerful in my opinion? Yes. Why? Because it fits all requirements
And then some.
Just my 2 cents.
Tom
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: January 20,
On 1/18/07, Ramdas <[EMAIL PROTECTED]> wrote:
On 1/17/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Ramdas wrote:
> > Hi Group,
> >
> > A very newbie question. Might be discussed earlier, please forgive.
>
> Are so much of a noob that STFW is not within your capabilities?
> (just thought I'd ask,
[snip]
i'd like to ask something maybe commonly asked here. what is the most
powerful php editor?
[/snip]
What is power when regarding a PHP editor? My team uses Eclipse but we
are all comfortable with VI or PICO.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Can anyone help me figure out how to solve my inventory listing problem?
I am using php_5 and mysql_5.0 w/apache on fbsd.
I need to figure out a way to make a subtitle for every category (genre)
in the inventory so when I list the entire inventory on a sheet (at
client's request), it is organized
Vinicius C Silva wrote:
> hi everyone!
>
> i'd like to ask something maybe commonly asked here. what is the most
> powerful php editor?
I am
Yours,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vinicius C Silva wrote:
hi everyone!
Hi everybody!
i'd like to ask something maybe commonly asked here. what is the most
powerful php editor?
Definitely the chainsaw. Lets you slice your PHP scripts up into iddy
biddy pieces so you can try different combinations. It's also a hell of
a lot
hi everyone!
i'd like to ask something maybe commonly asked here. what is the most
powerful php editor?
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-17 16:59:26 +0100:
>> Roman Neuhauser wrote:
>>> re_format(7) on FreeBSD:
>>>
>>> A bracket expression is a list of characters enclosed in `[]'.
>>> (...)
>>> If two characters in the list are separated by `-', this is
>>> s
Andre Dubuc wrote:
> Hi,
>
> To stop bots from accessing secured pages, I've added the following code to a
> banner page that is called by every page. Furthermore, each page starts with
> and includes the banner page:
>
> 'top1.php' [banner page]
>
>if((eregi("((Yahoo! Slurp|Yahoo! Sl
Al wrote:
> Here is part of my proxie tags to html tags translation array. Looks
> pretty safe to me. There is other code to recognize paragraphs and
> lists, etc.
any 'real' html in the content your 'translating' is still going to
be there after translation - and therefore sent to the client,
qui
On Saturday 20 January 2007 05:33 pm, Paul Novitski wrote:
> At 1/20/2007 02:14 PM, Andre Dubuc wrote:
> >However, checking the live version, I get an secure-error_log entry:
> >
> >"PHP Warning: session_destroy() [ >href='function.session-destroy'>function.session-destroy]: Trying to
> >destroy u
At 1/20/2007 02:14 PM, Andre Dubuc wrote:
However, checking the live version, I get an secure-error_log entry:
"PHP Warning: session_destroy() [function.session-destroy]: Trying to
destroy uninitialized session"
Question is: didn't the session_start(); on the calling page take effect, or
is th
On Saturday 20 January 2007 22:54, Jochem Maas wrote:
> Børge Holen wrote:
> > On Saturday 20 January 2007 17:09, Stut wrote:
> >> Wikus Moller wrote:
>
> ...
>
> >> -Stut
> >>
> >> Easily annoyed today.
>
> dunno - I reckon the OP was trying pretty hard ;-)
>
> >> Must be a Saturday, I never could
Jay Blanchard wrote:
> [snip]
> Since this is a mailing list for web developers, I thought I might as
> well post an o f f t o p i c request.
> Does anyone know of any website where I can get a exe or jar sitemap
> generating software? Particularly not GsiteCrawler as it uses too much
> system res
Hi,
To stop bots from accessing secured pages, I've added the following code to a
banner page that is called by every page. Furthermore, each page starts with
and includes the banner page:
'top1.php' [banner page]
http://localhost/logout.php";);
}
}
?>
I'm testing on
Børge Holen wrote:
> On Saturday 20 January 2007 17:09, Stut wrote:
>> Wikus Moller wrote:
...
>> -Stut
>>
>> Easily annoyed today.
dunno - I reckon the OP was trying pretty hard ;-)
>> Must be a Saturday, I never could get the hang of
>> Saturdays.
>
> ah,,... you say, I'm just ackin' to get
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-20 16:50:48 +0100:
>> Roman Neuhauser wrote:
>> 1. user stuffs things into shopping basket on [my] site (data stored in
>> session)
>> 2. user goes to check out.
>> 3. user chooses online payment.
>> 4. user is redirected to online payment pro
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-20 01:30:55 +0100:
>>> I definitely give a hoot about the content returned ... all I want
>>> is for the request to go out on the wire and then have my script
>>> immediately continue with what it should be doing.
>>>
>>> I believe this would r
[snip]
Since this is a mailing list for web developers, I thought I might as
well post an o f f t o p i c request.
Does anyone know of any website where I can get a exe or jar sitemap
generating software? Particularly not GsiteCrawler as it uses too much
system resources. A java applet would be ni
# [EMAIL PROTECTED] / 2007-01-20 16:50:48 +0100:
> Roman Neuhauser wrote:
> 1. user stuffs things into shopping basket on [my] site (data stored in
> session)
> 2. user goes to check out.
> 3. user chooses online payment.
> 4. user is redirected to online payment provider site
> 5. user completes
# [EMAIL PROTECTED] / 2007-01-20 01:30:55 +0100:
> > I definitely give a hoot about the content returned ... all I want
> > is for the request to go out on the wire and then have my script
> > immediately continue with what it should be doing.
> >
> > I believe this would require creating a non-bl
Martin Alterisio wrote:
Double slash to prevent PHP interpreting the slashes. Also using single
quotes would be a good idea:
if (preg_match('/[\\w\\x2F]{6,}/',$a))
Just switching to single quotes would do the trick - you don't need to
escape anything but single quotes, and backslashes if the
[snip]
Since this is a mailing list for web developers
[/snip]
This is a mailing list for PHP developers who might also do web
development. Evolt.org has a great list for w e b d e v e l o p e r s
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Double slash to prevent PHP interpreting the slashes. Also using single
quotes would be a good idea:
if (preg_match('/[\\w\\x2F]{6,}/',$a))
2007/1/19, Németh Zoltán <[EMAIL PROTECTED]>:
Hi all,
I have a simple checking like
if (preg_match("/[\w\x2F]{6,}/",$a))
as I would like to allow all
At 3:33 PM -0800 1/18/07, Ryan A wrote:
tedd <[EMAIL PROTECTED]> wrote:
At 7:15 AM -0800 1/17/07, Ryan A wrote:
True, but thats not the most important part... I guess I wrote it
wrong, I meant that it should not write to disk before 1 minute...
anyway... about the "array saving" any ideas?
Tha
On Saturday 20 January 2007 17:09, Stut wrote:
> Wikus Moller wrote:
> > Since this is a mailing list for web developers, I thought I might as
> > well post an o f f t o p i c request.
> > Does anyone know of any website where I can get a exe or jar sitemap
> > generating software? Particularly no
Try the following:
$server->register('getColumns', array(), array());
The second argument is an array containing an entry for each argument of the
webservice call, and the third argument is an array for the return value.
Since you don't have either arguments nor return value, empty arrays should
Wikus Moller wrote:
Since this is a mailing list for web developers, I thought I might as
well post an o f f t o p i c request.
Does anyone know of any website where I can get a exe or jar sitemap
generating software? Particularly not GsiteCrawler as it uses too much
system resources. A java app
Wikus Moller wrote:
> Hi.
>
> Since this is a mailing list for web developers, I thought I might as
> well post an o f f t o p i c request.
> Does anyone know of any website where I can get a exe or jar sitemap
> generating software?
php.
> Particularly not GsiteCrawler as it uses too much
> s
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-20 00:33:10 +0100:
>> I have a tradedoubler webbug to implement in site
>
> Pardon my ignorance, what's "a tradedoubler webbug"?
http://www.tradedoubler.com/pan/public should explain;
a webbug is merely an tag with a src pointing to some
kin
At 10:58 AM +0200 1/19/07, WeberSites LTD wrote:
If you can get the image to your server, try using one of these examples :
http://www.weberdev.com/AdvancedSearch.php?searchtype=title&search=thumb
berber
-Original Message-
From: Pablo L. de Miranda [mailto:[EMAIL PROTECTED]
Sent: Thurs
Here is part of my proxie tags to html tags translation array. Looks pretty safe
to me. There is other code to recognize paragraphs and lists, etc.
$translate_array= array(
'' => ''=> '',
'' => '" target="_blank">',
"" => ' => "
At 3:47 PM + 1/20/07, Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-20 09:22:00 -0500:
At 3:04 PM + 1/20/07, Roman Neuhauser wrote:
>One of my email addresses is
>[EMAIL PROTECTED]
Thanks, I'll add that to my kill list.
Vietnam vet... Old habits don't go away easily huh?
At 8:43 PM +0100 1/18/07, Otto Wyss wrote:
Paul Novitski wrote:
At 1/15/2007 01:52 PM, Otto Wyss wrote:
When values are entered on one of my page I submit the result back
to the same page (form action=same_page). Unfortunately each submit
adds an entry into the history, so history back doesn't
# [EMAIL PROTECTED] / 2007-01-20 09:22:00 -0500:
> At 3:04 PM + 1/20/07, Roman Neuhauser wrote:
> >One of my email addresses is
> >[EMAIL PROTECTED]
>
> Thanks, I'll add that to my kill list.
Vietnam vet... Old habits don't go away easily huh?
--
How many Vietnam vets does it take to screw
Hi.
Since this is a mailing list for web developers, I thought I might as
well post an o f f t o p i c request.
Does anyone know of any website where I can get a exe or jar sitemap
generating software? Particularly not GsiteCrawler as it uses too much
system resources. A java applet would be nic
At 3:04 PM + 1/20/07, Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-20 08:53:32 -0500:
I picked this up in my travels.
function validate_email($email)
{
// Create the syntactical validation regular expression
$regexp =
"^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0
Does anyone have recommendations for an open source php based,
'lightweight', scheduling app? I just want something clean that I can use
to schedule trainings within our company. I need to be able to put in
details for each training and then see a synopsis on a calender. Just a
basic scheduler
# [EMAIL PROTECTED] / 2007-01-20 08:53:32 -0500:
> I picked this up in my travels.
>
> function validate_email($email)
> {
>
>// Create the syntactical validation regular expression
>$regexp =
> "^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$";
One of my email
On Saturday 20 January 2007 07:35 am, Colin Guthrie wrote:
> Daevid Vincent wrote:
> > We have a fairly complex product that is all PHP based GUI.
> >
> > We're in need of some kind of "graphical tool" (web, stand alone, windows,
> > linux, osx whatever) that will take a directory tree, recursivel
On Thu, Jan 18, 2007 at 01:40:36PM -0700, Don wrote:
I'm trying to get this line to validate an email address from a form and it
isn't working.
if (ereg("[EMAIL PROTECTED]",$submittedEmail))
The book I'm referencing has this line
if (ereg("[EMAIL PROTECTED]",$submittedEmail))
Anyway.
At 5:54 PM +0200 1/19/07, WeberSites LTD wrote:
Top Ajax :
I meant that at the top of WeberDev.com there is an Ajax search box that you
can use
to search for "email validation" and see many related code examples to
choose from.
berber
berber:
Your original post was clear enough for me to unde
Daevid Vincent wrote:
> We have a fairly complex product that is all PHP based GUI.
>
> We're in need of some kind of "graphical tool" (web, stand alone, windows,
> linux, osx whatever) that will take a directory tree, recursively traverse
> all the files, look for 'includes' and 'requires' (and t
# [EMAIL PROTECTED] / 2007-01-19 16:52:49 -0800:
> We have a fairly complex product that is all PHP based GUI.
>
> We're in need of some kind of "graphical tool" (web, stand alone, windows,
> linux, osx whatever) that will take a directory tree, recursively traverse
> all the files, look for 'incl
# [EMAIL PROTECTED] / 2007-01-20 00:33:10 +0100:
> I have a tradedoubler webbug to implement in site
Pardon my ignorance, what's "a tradedoubler webbug"?
> I have an order processing page that is requested *directly* by an online
> payment service
> in order to tell the site/system that a given
You have several options:
1. using regular expressions
2. using arrays
3. using substrings
Sergiu
Wikus Moller wrote:
Hi.
I want to strip everything after a / in the HTTP_USER_AGENT for
example: Opera 9.10/blah/blah would become only Opera 9.10
Lets say
$user = $_SERVER["HTTP_USER_AGENT"
48 matches
Mail list logo