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 compil
... 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
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. Onc
Torsten,
Whatever the combination, it echos "February 02-2005February
02-2005February 02-2005". What is wrong with it?
";
echo date('F', $firstDayTs) . ' ' . date('m', $firstDayTs) . '-' .
date('Y',$lastDayTs) ."";
?>
John
Roehr wrote:
> "John Taylor-Johnston" <[EMAIL PROTECTED]> wrot
--- 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: http:/
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 -> sa
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
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
> > simultane
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 v
$_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
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
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 f
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 compil
The sample is attached!
--
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 i
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
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 Taylor-Johnst
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
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 L
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 ser
"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 "myDevice";
> print_r($myDevice);
>
> To get:
>
> myDevice
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
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: http://www.php.net/u
"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]='Mi
"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"
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 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
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, wh
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?
--- "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 req
* 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 f
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 entir
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
indeed, you must includ
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 to
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
valgri
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
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
all
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 betwe
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
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.
http://ibWebAdmin.lsces.co.uk/Fire
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,
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 rath
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 Genera
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 b
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 <> (lon
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
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
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 (http://www.php.ne
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 er
MySQL don't know what is "UNION"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
В сообщении от Пятница 14 Январь 2005 16:48 Stuart Felenstein написал(a):
> When using $_POST vars is it required that a form is
> used ?
exactly
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
get_stats();
$songbook->populate_manu();
$songbook->populate_series();
if
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
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 w
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 ge
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 (http://www.php.ne
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
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 to
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
Which gives me this:
_POST[userange] => Array
(
[] => range_1
[] => range_2
)
_POST[usescanner] => Array
(
[] => scanne
Mike Ford wrote:
Just off the top of my head (and untested!), I'd try something like
/]*)?>/
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 (http://www.php.net/)
To
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 "myDevice";
print_r($myDevice);
To get:
myDevice
Array
(
[] => Array
(
[range] => range_3
[scanner] =>
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
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
--
PH
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 brow
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
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 atta
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 a
67 matches
Mail list logo