Yep, that's pretty much what I got, except I haven't been able to find a
list of what modules are thread safe, except mysql.
Jochem Maas wrote:
Jason Morehouse wrote:
Hello,
Just wondering if anyone is using the apache worker module with php?
I've complied php5 with zend threadsafe support, and
You need to post some code
#are you using phpMailer - makes emails a doddle
http://phpmailer.sourceforge.net/
Afan Pasalic wrote:
I have a form and once the form is submitted, php code build csv file
with entered information and store it on server in temp file. Then send
this file as an
Tom wrote:
...
It correctly updates 4 rows, but returns 1 as the count.
I think that this may actually be a mysql issue - I've put the same
php/apache configs onto another similar box, the only difference being
that the second box is mysql 5.0.1, whereas the problem is reported
against 5.0.0
Stuart Felenstein wrote:
When using $_POST vars is it required that a form is
used ?
In other words I can create an href link and echo
variable and pick them up using $_GET in the following
page.
No so with $_POST ?
in order to create POST vars the proper request headers need to sent to
the
I had been using Zend Studio, but I've just about made the switch to
Eclipse with the TruStudio PHP plugin.
Eclipse: http://www.eclipse.org
TruStudio: http://www.xored.com/trustudio/
Mostly running it in Linux (Fedora Core 3), but I've used that
combination in Windows and OSX, too.
--Rick
--
Hello Gaetano,
Thursday, January 13, 2005, 5:53:04 PM, you wrote:
So i must do all manually
i write this
[snip]
where $corpo is a variable for the name of the file.
if the file not existe the page have a blank body
I don't know of another way to do what you asked, which was to include
only
I suggest a slight but useful change to these two functions, or possibly an
alternate parameter.
I find myself always having to do this annoyance:
echo BmyDevice/BBR;
print_r($myDevice);
To get:
myDevice
Array
(
[] = Array
(
[range] = range_3
[scanner] =
Mike Ford wrote:
Just off the top of my head (and untested!), I'd try something like
/b(\s+[^]*)?/
Cheers!
Mike
That pretty much seems to work the best. Thanks all!
--
Jason Morehouse
Vendorama - Create your own online store
http://www.vendorama.com
--
PHP General Mailing List
I have a lot of data I want to associate with a single line item in table of
data. The current method (which feels messy to me) is to do this
INPUT TYPE=HIDDEN VALUE=range_1 NAME=userange[]
INPUT TYPE=HIDDEN VALUE=scanner_1 NAME=usescanner[]
INPUT TYPE=HIDDEN VALUE=record_1
Greetings all,
I am runnign into a strange problem.
I am working on a Linux box.
Running PHP 4.2.2
Apache 2.0
And it has MySQl installed on it (not sure of the version.
I ran a quick script to check to make sure the connection to the DB is
working fine as this is a very secure connection (have
Collin Davis wrote:
Hi,
Long time reader, first time poster. I've been using Dreamweaver to
generate my PHP (I know - but I'm a designer... most of this makes
absolutely zero sense to me), but I've run into something that I know could
be done better. If you look here: http://pastebin.com/228804
Hi All,
I'm looking for a PHP training course within the US, and I'm wondering
if have any recommendations.
Specifically, I want to know if there's any courses that will cover
using Kerberos through PHP, though I don't have too much hope in that.
D
--
PHP General Mailing List
I am having trouble with PHP 5.0.3. I am running Apache 1.3.29. I am
running Solaris 9 x86 on an Intel box.
I get no errors when I start Apache. I get no errors when I run configtest.
My problem is mail() does not work. It does invoke sendmail as there is
activity in sendmail log.
When I
Greg Donald wrote:
On Thu, 13 Jan 2005 13:53:30 -0800, Brian Dunning
[EMAIL PROTECTED] wrote:
Could anyone point me to a web page or other documentation that
shows a SIMPLE example of encryption?
I know absolutely nothing about encryption. There are like 6 people
in the entire world who
Jason Morehouse wrote:
Hello,
Just wondering if anyone is using the apache worker module with php?
I've complied php5 with zend threadsafe support, and apache2 with the
MPM worker module on a Linux box. Everything seems sweet.
mysqli_thread_safe() reports true... anyone know if this configuration
I have RTFM and TTFE and still am having a heck of a time getting my
objects to play well between pages
The only real examples are in the notes for classes objects
http://us2.php.net/manual/en/language.oop.php
Basic usage
?
include_once(config.inc);
include_once(class.php);
$songbook = new
14 2005 16:48 Stuart Felenstein (a):
When using $_POST vars is it required that a form is
used ?
exactly
MySQL don't know what is UNION
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Luke Barker wrote:
Hi,
This maybe a PHP problem, but is associated with Apache too - so my
apologies if it is slightly off topic. My web hosts use a CGI wrap
version of PHP 4.3.10
I have made a 404 custom error handler, using .htaccess in a directory
- it is usppoed to route all unfound pages to
Hi All,
I'm looking for a PHP training course within the US, and I'm wondering
if have any recommendations.
Specifically, I want to know if there's any courses that will cover
using Kerberos through PHP, though I don't have too much hope in that.
D
--
PHP General Mailing List
On Friday 14 January 2005 21:48, Stuart Felenstein wrote:
When using $_POST vars is it required that a form is
used ?
Better worded as if you want to pass values from one page to another and you
want said values to be available in $_POST then yes, you *have* to use a
form.
--
Jason Wong -
Hello,
on 01/14/2005 03:00 PM Afan Pasalic said the following:
I have a form and once the form is submitted, php code build csv file
with entered information and store it on server in temp file. Then send
this file as an attachment to me. Code to send an attachment is included
in main code.
The
I'd posted this link yesterday on the geographic search engine thread,
but it has not appeared.
Richard Lynch wrote:
Is anybody aware of any existing world-wide data-collection effort of
postal codes in relation to geogrpahical coordinates (long/lat)?
Just:
country_code + postal_code
I'm working on a web spider application where the server has
considerable latency in serving the information I require, but
simultaneous requests do not have a significant performance hit. I have
a nice little class that handles all the sessions, cookies, etc
perfectly. What's the best way to
I am converting a site to use includes instead of a Dreamweaver template. I
want the URLs to look like this: www.my-site1234.com/contact instead of
www.my-site1234.com/default.php?p=contact.
I found some tutorials on editing the .htaccess file but where do I find it
on the server?
--
PHP
For those who were asking about UK post code mapping
http://ibWebAdmin.lsces.co.uk/FirebirdFederationDataArchive.html
I've added the GB_POSTAREA table with some 3000 primary postal area
entries, all with XY coordinates which can be used on www.multimap.com
As yet these are a local metric grid
Richard Lynch wrote:
Is anybody aware of any existing world-wide data-collection effort of
postal codes in relation to geogrpahical coordinates (long/lat)?
Just:
country_code + postal_code (long, lat)
in a one-to-one relationship, as crude as that might be.
I've tried to post this twice now,
Richard Lynch wrote:
Is anybody aware of any existing world-wide data-collection effort of
postal codes in relation to geogrpahical coordinates (long/lat)?
Just:
country_code + postal_code (long, lat)
in a one-to-one relationship, as crude as that might be.
Hello,
on 01/15/2005 12:59 AM Kelly said the following:
I am having trouble with PHP 5.0.3. I am running Apache 1.3.29. I am
running Solaris 9 x86 on an Intel box.
I get no errors when I start Apache. I get no errors when I run
configtest.
My problem is mail() does not work. It does invoke
Cere Davis wrote:
Geeze,
That was obnoxious.
you have to admit (well no you don't actually!) tho, it was damn
tempting to just answer yes :-) anyway...
Luckily google helped me out eventually:
if (basename($argv[0]) == basename(__FILE__)) {
...so that bit of code allows you to differentiate
Hi,
I have this problem:
Linux Red Hat 7.3 server and PHP 4.3.8 MySQL 4. When I Try to execute
linux command - nothing happens and in Apache logs I see Access denied.
This is about permissions in executing this command.
My question is can I execute a linux command via PHP ( this is command
Kelly wrote:
I am having trouble with PHP 5.0.3. I am running Apache 1.3.29. I am
running Solaris 9 x86 on an Intel box.
I get no errors when I start Apache. I get no errors when I run
configtest.
My problem is mail() does not work. It does invoke sendmail as there
is activity in sendmail
Greg Donald wrote:
On Fri, 14 Jan 2005 18:47:14 +0100, Jochem Maas [EMAIL PROTECTED] wrote:
in addition there is the xdebug extension by Derick Rethans its at
version 2 but I might suggest starting with 1.3 as its alot simpler to
use than 2 (then again if you have experience of things like
Jochem Maas wrote:
Stuart Felenstein wrote:
When using $_POST vars is it required that a form is
used ?
In other words I can create an href link and echo
variable and pick them up using $_GET in the following
page.
No so with $_POST ?
in order to create POST vars the proper request headers need
David OBrien wrote:
I have RTFM and TTFE and still am having a heck of a time getting my
objects to play well between pages
The only real examples are in the notes for classes objects
http://us2.php.net/manual/en/language.oop.php
(are you on php4 or php5 btw?)
Basic usage
?
Michael Sims wrote:
Greg Donald wrote:
On Thu, 13 Jan 2005 13:53:30 -0800, Brian Dunning
[EMAIL PROTECTED] wrote:
Could anyone point me to a web page or other documentation that
shows a SIMPLE example of encryption?
I know absolutely nothing about encryption. There are like 6 people
in the entire
* Josh [EMAIL PROTECTED]:
I am converting a site to use includes instead of a Dreamweaver template. I
want the URLs to look like this: www.my-site1234.com/contact instead of
www.my-site1234.com/default.php?p=contact.
I found some tutorials on editing the .htaccess file but where do I find it
--- Ford, Mike [EMAIL PROTECTED] wrote:
To view the terms under which this email is
distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
-Original Message-
From: Stuart Felenstein
Sent: 14/01/05 13:48
When using $_POST vars is it required that a form
Dears,
How can I remove empty cells/places in an array. For
example:
a[1]='John';
a[2]='Mike';
a[3]='Lisa';
a[4]='';
a[5]='';
How can I remove a[4] a[5], so the array is only
a[1]='John';
a[2]='Mike';
a[3]='Lisa';
=
Regards,
OOzy
What is the purpose of life?
Thanks guys/gals,
The header (.utf-8) thing worked ok.
--- Jochem Maas [EMAIL PROTECTED] wrote:
OOzy Pal wrote:
Dears,
My html templates are encoded using utf-8. When
the
browser reads the files as .html it encodes it
fine
and my characters looks fine. However, when php
reads
I might be doing this backwards, but how do I extract the date from $week5 and
display $week5 + 4 days. I would like to create a function so when I pass
echo displaydate($week5);
it echos February 14-18
$week0 = 2005-01-10;
$week1 = 2005-01-17;
$week2 = 2005-01-24;
$week3 = 2005-01-31;
$week4
On Sat, 2005-01-15 at 11:57, Rosen wrote:
Hi,
I have this problem:
Linux Red Hat 7.3 server and PHP 4.3.8 MySQL 4. When I Try to execute
linux command - nothing happens and in Apache logs I see Access denied.
This is about permissions in executing this command.
My question is can I
John Taylor-Johnston [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I might be doing this backwards, but how do I extract the date from $week5
and display $week5 + 4 days. I would like to create a function so when I
pass
echo displaydate($week5);
it echos February 14-18
$week0
OOzy Pal [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dears,
How can I remove empty cells/places in an array. For
example:
a[1]='John';
a[2]='Mike';
a[3]='Lisa';
a[4]='';
a[5]='';
How can I remove a[4] a[5], so the array is only
a[1]='John';
a[2]='Mike';
a[3]='Lisa';
On Fri, 14 Jan 2005, Donald Wong wrote:
Specifically, I want to know if there's any courses that will cover
using Kerberos through PHP, though I don't have too much hope in that.
No chance.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Galen wrote:
I'm working on a web spider application where the server has
considerable latency in serving the information I require, but
simultaneous requests do not have a significant performance hit. I have
a nice little class that handles all the sessions, cookies, etc
perfectly. What's the
Daevid Vincent [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I suggest a slight but useful change to these two functions, or possibly
an
alternate parameter.
I find myself always having to do this annoyance:
echo BmyDevice/BBR;
print_r($myDevice);
To get:
myDevice
Array
(
what about using $_SESSION arrays ?
On Fri, 14 Jan 2005 19:28:24 -0500, Al [EMAIL PROTECTED] wrote:
George Schlossnagle addresses exactly your requirement in his book Advanced
PHP
Programming.
Josh Whiting wrote:
Dear list,
My web application (an online classifieds server) requires
On Wed, 12 Jan 2005 04:13:17 -0800, Galen [EMAIL PROTECTED] wrote:
What do you all do to handle situations
like this?
If you need threads then use a language that has threads. I'd go with
Java or Perl.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List
Santa wrote:
MySQL don't know what is UNION
http://dev.mysql.com/doc/mysql/en/UNION.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Don't know where my other post went, but I corrected it:
echo date('F', $firstDayTs) . ' ' . date('d', $firstDayTs) . '-' .
date('Y',$firstDayTs)
echo date('F', $firstDayTs) . ' ' . date('d', $lastDayTs) . '-' .
date('Y',$firstDayTs)
Thanks,
John
Torsten Roehr wrote:
John
how can I can send http request with my chosen REMOTE_ADDR is there a class
to do that or method in php ?
--
Alawi Albaity
Jeddah - KSA
Mobile : +966506660442
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Im currently using php 5.0.3 on a dev box,
trying to figure out how to correctly use
exceptions in my code.
Per chance, I was monitoring the __autoload() function,
and Im noticing that calls are being made to
exception classes that I've setup.
But nothing is being actually thrown.
As I understand
The sample is attached!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Guys.
Maybe somebody lese has been having or had this problem while upgrading
apache, mod_perl and php.
I just upgraded from apache 1.3.29, mod_perl 1.29 and php 4.3.6 (due to the
security issues) to apache 1.3.33, mod_perl 1.29 and php 4.3.10.. But I can
get mod_perl to work... Everything
On Fri, 2005-01-14 at 13:46 -0500, Josh wrote:
I am converting a site to use includes instead of a Dreamweaver template. I
want the URLs to look like this: www.my-site1234.com/contact instead of
www.my-site1234.com/default.php?p=contact.
I found some tutorials on editing the .htaccess file
is there a php function out there that can get the operating system of
the user...Mac/PC/Linux
suppose I could do it with java, but wanted to see if I could do it all
in php :)
g
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$_SESSION is same as it use serialize/unserialize, alghough there're
some difference
On Sat, 15 Jan 2005 10:06:58 +0100, Zouari Fourat [EMAIL PROTECTED] wrote:
what about using $_SESSION arrays ?
On Fri, 14 Jan 2005 19:28:24 -0500, Al [EMAIL PROTECTED] wrote:
George Schlossnagle
On Fri, 2005-01-14 at 07:48, Stuart Felenstein wrote:
When using $_POST vars is it required that a form is
used ?
In other words I can create an href link and echo
variable and pick them up using $_GET in the following
page.
No so with $_POST ?
You could probably create hidden vars and
nonblocking sockets wont work with select, blocking is ok
On Sat, 15 Jan 2005 19:30:14 +0100, Marek Kilimajer [EMAIL PROTECTED] wrote:
Galen wrote:
I'm working on a web spider application where the server has
considerable latency in serving the information I require, but
simultaneous
I hope someone can help with this frustratingly simple (I assume!)
question I have.
I run this mysql query: select sum(quantity)*price,price from sale
where dvd_id=1 group by price;
I get this result:
sum(quantity)*price price
450.00 15.00
29.99 29.99
I
I'm trying to write an object oriented system for saving my uploaded
files to a blog.
I am using php to resize the original photos and save a thumbnail .
When I get all done, I want to do something like this:
$tempImageData = imagejpeg( $imageResource, '', 75 );
$outputHandler -
--- dAniel hAhler [EMAIL PROTECTED] wrote:
I'm looking for a PHP Unit Test framework and found so far:
SimpleTest: https://sourceforge.net/projects/simpletest/
PEAR PHPUnit:
- http://pear.php.net/package/PHPUnit
- http://pear.php.net/package/PHPUnit2
Sourceforge PHPUnit:
Torsten,
Whatever the combination, it echos February 02-2005brFebruary
02-2005brFebruary 02-2005. What is wrong with it?
?php
$week5 = 2005-02-14;
$firstDayTs = strtotime($week5);
$lastDayTs = $firstDayTs + (4 * 86400);
echo date('F', $firstDayTs) . ' ' . date('m', $firstDayTs) . '-' .
Hello,
I just wanted to send my apologies to anyone who got bounce-backs from me
repeatedly. I upgraded my hosting package at my webhost and they switched
servers on me without letting me know. Everything of mine was down and just
now came back up, and I could not unsubscribe from the list.
... I dont know why .. is this mysql bug ?
It's a known bug in MySQL. Since this is a PHP list, I leave it up to
you to check what version fixed it.
IIRC, it's possible to work around by making sure the first statement
has the longest data type.
--
More views at http://www.thorslund.us
--
PHP
Guys.
Maybe somebody lese has been having or had this problem while upgrading
apache, mod_perl and php.
I just upgraded from apache 1.3.29, mod_perl 1.29 and php 4.3.6 (due to the
security issues) to apache 1.3.33, mod_perl 1.29 and php 4.3.10.. But I can
get mod_perl to work... Everything
67 matches
Mail list logo