On Tuesday 25 January 2005 03:01, Ben Edwards wrote:
> Being trying to work out haw to handle dates. Basically I need a
> function to convert a Date to a String and another function to convert
> a string to a date.
>
> Exactly what format the date is held in is not relevant as long as it
> is so
> $id_num = $_POST["id_num"];
$id_num = $_GET['id_num'];
RTFM -> diffrent between _GET & _POST
You can also use $_REQUEST['id_num'] if you don't care
how the variable gets there (GET, POST, or COOKIE).
Note that if the value is set in more than one input (say both a
GET and a COOKIE set id_num
В сообщении от Вторник 25 Январь 2005 04:31 Dmitry написал(a):
> How?
>
> Dont tell me about simple solutions such as
> $_SERVER["HTTPS"] .
> $_SERVER["REMOTE_ADDR"] .
> $_SERVER["SERVER_PORT"] .
> $_SERVER["PHP_SELF"] .
> $_SERVER["QUERY_STRING"]
>
> I want get really good solution.
>
> Thanks.
h
> $id_num = $_POST["id_num"];
$id_num = $_GET['id_num'];
RTFM -> diffrent between _GET & _POST
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Let's say I have 100 rows in the database, I need to loop throw them
ten at a time and for each set grab the max and min ages...I then need
to return a multi-dimensional array of all the ranges...I basically
want to do this but of course this query won't work:
***this is just pseudo code***
I wou
My configure
'./configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu'
'--target=i386-redhat-linux' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr
Steve Marquez wrote:
If I do the following, it gives me a blank page. However, instead of using
the variable, if I put in $id_num = "191" Then it will display the
information.
view
Use $_GET['id_num'] instead of $id_num and read up on the
register_globals setting.
--
---John Holmes...
Amazon Wi
Hi there,
Originally, I installed php 5.0.3 and httpd 2.0.51, it's fine, but when I
upgrade httpd to 2.0.52, php doesn't work, I try to re-configure php, got
errors below,
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not ins
jEdit is one of the bestdownloadable PHP parser to check for
errors, recognizes syntax perfectly, and is free.
www.jedit.org
I LOVE IT!
On Mon, 24 Jan 2005 13:41:55 -0800, Christopher Fulton
<[EMAIL PROTECTED]> wrote:
> [quote]
> > I am looking for a relieable, stable and quick PHP/HTML edi
* Jason Barnett <[EMAIL PROTECTED]>:
> Matthew Weier O'Phinney wrote:
> > * Phillip S. Baker <[EMAIL PROTECTED]>:
> ...
> > The object *instance* only gets to access the overridden method (assuming
> > it's an instance of the child class):
> >
> > $instance->someMethod();
> >
>
> This is 100%
Greetings!
If I do the following, it gives me a blank page. However, instead of using
the variable, if I put in $id_num = "191" Then it will display the
information.
Does anyone know what I am doing wrong? I hope you understand my question...
Thank you in advance!
Here is the link I use to t
Dmitry wrote: in Re: [PHP] Get full url
How?
Dont tell me about simple solutions such as
$_SERVER["HTTPS"] .
$_SERVER["REMOTE_ADDR"] .
$_SERVER["SERVER_PORT"] .
$_SERVER["PHP_SELF"] .
$_SERVER["QUERY_STRING"]
I want get really good solution.
What does that even mean?
Possibly SCRIPT_URI + '?' + Q
>
> Wish List: PHP 6 uses E_ALL by default install.
>
I wish E_ALL | E_STRICT
Regards,
Jordi.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dmitry wrote:
How?
Dont tell me about simple solutions such as
$_SERVER["HTTPS"] .
$_SERVER["REMOTE_ADDR"] .
$_SERVER["SERVER_PORT"] .
$_SERVER["PHP_SELF"] .
$_SERVER["QUERY_STRING"]
I want get really good solution.
I want a million dollars and hot redheaded twin mistresses... we don't
always get
How?
Dont tell me about simple solutions such as
$_SERVER["HTTPS"] .
$_SERVER["REMOTE_ADDR"] .
$_SERVER["SERVER_PORT"] .
$_SERVER["PHP_SELF"] .
$_SERVER["QUERY_STRING"]
I want get really good solution.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Ben Edwards wrote:
The format I am
interested in is DD-MM- which is the way dates are specified in
the UK, strtodate() cant handle this.
Ben, there is no (built in) string->timestamp function that takes a
format. strtotime() is pretty smart about interpreting your input, but
it's limited to
On Tuesday 25 January 2005 08:09, Ben Edwards wrote:
> > Well, you could always write some extensions to PHP to cover it, as soon
> > as you learn to spell does :)
>
> That is awfull grammer. Ime dyslexic, whats your excuse.
Does is spelt 'does' not 'douse', that grammar looks OK to me.
> Was w
On Mon, 24 Jan 2005 20:15:15 -, 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
>
> On 24 January 2005 19:01, Ben Edwards wrote:
>
> > On Mon, 24 Jan 2005 12:58:52 -0500, [EMAIL PROTECT
On Tuesday 25 January 2005 08:07, Ben Edwards wrote:
> As I have said in a previous email to date function takes a format
> string and the strtodate douse not. Therefore the strtodate() only
> works on a small subset of what date() can produce. The format I am
> interested in is DD-MM- which
On Mon, 24 Jan 2005 13:32:36 -0600, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> [snip]
> On Mon, 24 Jan 2005 12:58:52 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
> > How about the strtotime() function?
> > http://us4.php.net/manual/en/function.strtotime.php
>
> No good, it douse not take
On Mon, 24 Jan 2005 19:22:40 -, 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
>
>
> On 24 January 2005 17:04, Ben Edwards wrote:
>
> > On Mon, 24 Jan 2005 10:38:03 -0600, Jay Blancha
> On Mon, 24 Jan 2005 16:22:23 -0500, Matt <[EMAIL PROTECTED]> wrote:
>> /tmp is not it's own partition... but I have 6Gig free on the / drive.
>> Right now I have 401 sessions and am pushing 2Gig on the /tmp directory.
Re-reading this...
If you've got 2Gig in /tmp, on a 6Gig free drive, I'd say
Matt wrote:
> [EMAIL PROTECTED] tmp]$ cat /proc/sys/fs/file-max
> 52403
To be 100% certain this ain't the problem, do something like:
exec("ls /tmp/ | wc -l", $result, $error);
if ($error){
error_log("Attempt to count number of sessions failed: $error" .
implode("", $result));
}
else{
error_lo
Matt wrote:
> That's actually a great idea... I know how to log sessionId... but how
> would I go about logging why the session couldn't be started (I'm sure
> that would lead me on somewhat of a track of the issue...)... like is
> there a variable I should read, or where do I get that information
> Do these methods seem reasonably secure? Am I missing something? The
> risk is minimized by the fact that the HTML the user enters is
> displayed to their own customers, whom they presumably don't want to
> attack (and if they did they could just do it on their own web site).
> But I still want
Matthew Weier O'Phinney wrote:
* Phillip S. Baker <[EMAIL PROTECTED]>:
...
The object *instance* only gets to access the overridden method (assuming
it's an instance of the child class):
$instance->someMethod();
This is 100% correct, but just to clarify: it is possible to do
something like thi
>> >>I know that if I spent time on it, I would be able to do it, but I have
>> >>A very close deadline and if anyone else has been through this I would
>> >>*really* appreciate the help...
>> >
>> >Are you using MySQL? If so you can start with the DATE_ADD and DATE_SUB
>> >functions. http://www.my
[EMAIL PROTECTED] wrote:
I am a consultant developing a PHP-based site (fully operational now,
we're adding some new features).
One thing I need to do is allow resellers of my client's services to
edit HTML which will then be used on the web pages their customers see.
In other words they get to
I am a consultant developing a PHP-based site (fully operational now,
we're adding some new features).
One thing I need to do is allow resellers of my client's services to
edit HTML which will then be used on the web pages their customers see.
In other words they get to customize the appearance
That's actually a great idea... I know how to log sessionId... but how
would I go about logging why the session couldn't be started (I'm sure
that would lead me on somewhat of a track of the issue...)... like is
there a variable I should read, or where do I get that information
from?
--
PHP Gener
[EMAIL PROTECTED] tmp]$ cat /proc/sys/fs/file-max
52403
On Mon, 24 Jan 2005 15:39:08 -0600, Greg Donald <[EMAIL PROTECTED]> wrote:
> On Mon, 24 Jan 2005 16:22:23 -0500, Matt <[EMAIL PROTECTED]> wrote:
> > /tmp is not it's own partition... but I have 6Gig free on the / drive.
> > Right now I have
[quote]
> I am looking for a relieable, stable and quick PHP/HTML editor.
>
> Can anybody suggest a good one? I tried phpdesigner, but it seems to
> have lots of bugs and is quite slow.
>
[/quote]
Just a suggestionA mailing list may not be the best place to find
the answer for this question.
On Mon, Jan 24, 2005 at 03:54:45PM -0500, [EMAIL PROTECTED] wrote:
> This construct:
>
> list($v1, $v2, $v3) = explode($sep, $string, 3);
>
> will generate NOTICE level errors if there are not enough parts of the
> string to fill all the variables in the list. What I really want is
> for
Matt wrote:
> /tmp is not it's own partition... but I have 6Gig free on the / drive.
> Right now I have 401 sessions and am pushing 2Gig on the /tmp directory.
>
> At the moment I am not having any session issues. Ok.. if it isn't a
> /tmp issue (and maybe it isn't)... whatelse should I look at?
On Mon, 24 Jan 2005 16:22:23 -0500, Matt <[EMAIL PROTECTED]> wrote:
> /tmp is not it's own partition... but I have 6Gig free on the / drive.
> Right now I have 401 sessions and am pushing 2Gig on the /tmp directory.
What does
cat /proc/sys/fs/file-max
say?
--
Greg Donald
Zend Certified Engine
/tmp is not it's own partition... but I have 6Gig free on the / drive.
Right now I have 401 sessions and am pushing 2Gig on the /tmp directory.
At the moment I am not having any session issues. Ok.. if it isn't a
/tmp issue (and maybe it isn't)... whatelse should I look at? It's
definately SOM
Mike,
Thanks for the information. The php4-200501241930 snapshot works much
better... It looks like Joe Orton's ap_rflush() fix works with output
buffering turned on (output_buffering = 4096).
Regards,
JP
-Original Message-
From: Ford, Mike [mailto:[EMAIL PROTECTED]
Sent: Monday, Janu
On Mon, 2005-01-24 at 12:26, Merlin wrote:
> Hi there,
>
> I am now using Homesite 4.5.x since a few years since I found it the
> most relieble editor arround.
>
> Now I would like to have a look around to see if there are better
> solutions nowadays.
>
> I am looking for a relieable, stable
This construct:
list($v1, $v2, $v3) = explode($sep, $string, 3);
will generate NOTICE level errors if there are not enough parts of the
string to fill all the variables in the list. What I really want is
for list() to set the variables that have a corresponding array
element, and then
PHP Question wrote:
> After my provider decided to upgrade PHP to version 5, i'm getting the
> following error:
>
> Warning: array_merge() [function.array-merge]: Argument #2 is not an
> array.
>
> This is the line where it gets stuck:
>
> $_SESSION['aanhefmr'] = array_merge($_SESSION['aanhefmr'],
On Tuesday 25 January 2005 04:07, Mikey wrote:
> *PLEASE NOTE*
>
> >>I know that if I spent time on it, I would be able to do it, but I have
> >>A very close deadline and if anyone else has been through this I would
> >>*really* appreciate the help...
> >
> >Are you using MySQL? If so you can start
Dear all,
After my provider decided to upgrade PHP to version
5, i'm getting the following error:
Warning: array_merge() [function.array-merge]:
Argument #2 is not an array.
This is the line where it gets stuck:
$_SESSION['aanhefmr'] =
array_merge($_SESSION['aanhefmr'], $_POST['aanhef
Mikey wrote:
> I have a page that is for booking attendance to events, and instead of
> using
> a date picker, I want to display drop-down selects which cover the ranges
> of
> dates that the event is occurring at. My question is, is there an easy way
> to determine the dates in between the date fr
[snip]
*PLEASE NOTE*
>>I know that if I spent time on it, I would be able to do it, but I
have
>>A very close deadline and if anyone else has been through this I would
>>*really* appreciate the help...
>Are you using MySQL? If so you can start with the DATE_ADD and DATE_SUB
>functions. http://www.
Ben Edwards wrote:
> On Mon, 24 Jan 2005 12:58:52 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
>> How about the strtotime() function?
>> http://us4.php.net/manual/en/function.strtotime.php
>
> No good, it douse not take a format string. What if I wanted to
> convert the timestamp to 'DD-
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 24 January 2005 19:01, Ben Edwards wrote:
> On Mon, 24 Jan 2005 12:58:52 -0500, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > How about the strtotime() function?
> > http://
Matt wrote:
> I have a high load server which will have anywhere between 500 and 700
> session files in the /tmp directory at max load times. I've also
> noticed that session information seems to get lost sometimes during
> high load times... like a "remember me" function won't work... or
> you'll
On Mon, 2005-01-24 at 14:07, Mikey wrote:
>
> *PLEASE NOTE*
> >>I know that if I spent time on it, I would be able to do it, but I have
> >>A very close deadline and if anyone else has been through this I would
> >>*really* appreciate the help...
>
> >Are you using MySQL? If so you can start with
Potter, Jeff wrote:
> is still broken on others. The content generated from the virtual()
> call inside a page ends up in the browser
> before the opening tag. See the simplified example below:
Work-Around:
Until you get this hammered out, you could use file_get_contents() with a
URL instead
Has anyone else noticed this?
When I install php5.0.3 with:
make clean &&
./configure --prefix=/usr/local --with-mysqli=shared,/usr/bin/mysql_config
--enable-soap --enable-cli --with-pear --with-apxs2=/usr/bin/apxs2
--enable-xmlrpc --no-create --no-recursion --with-soap --with-xmlrpc
--with-xs
Phillip S. Baker wrote:
> Due to style sheet stuff I need to modify the nl2br (IE create or use a
> different function).
>
> I am pulling data from a database and using nl2br, which does the
> standard.
>
> some text copy
>
> Some more copy
>
> What I want instead is
> Some text copy
>
> some more
> PHP Notice: Use of undefined constant HOST - assumed 'HOST' in
> /home/hegedus/bin/hae_chng.php on line 4
This *always* means you typed HOST where you needed 'HOST' or "HOST"
Most PHP installations "hide" this "Notice" message from you by the
default php.ini settings.
Course, that also means
On Mon, 2005-01-24 at 11:03, Ben Edwards wrote:
> On Mon, 24 Jan 2005 10:38:03 -0600, Jay Blanchard
> <[EMAIL PROTECTED]> wrote:
> > [snip]
> >
> > String to Date Function
> >
> > return date stringToDate( str Date, str Format )
> > e.g. $todayDt = stringToDate( '01/01
>Marten Lehmann wrote:
>> Is noone compiling PHP5 on its own, but just using preconfigured rpm's?
>> Can't a developer og php have a look on this?
>It's far more likely that noone is using SOAP... :-^
>Try posting the error messages and your exact configure line to
>php-install for the maximum o
Jordi Canals wrote:
> On Fri, 21 Jan 2005 09:43:38 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]>
> wrote:
>
>> Thus my point remains:
>> On a shared server, I don't need to resort to calling this function to
>> hijack your Cookie/session. PHP can read the raw session files. I can
>> write a PHP
*PLEASE NOTE*
>>I know that if I spent time on it, I would be able to do it, but I have
>>A very close deadline and if anyone else has been through this I would
>>*really* appreciate the help...
>Are you using MySQL? If so you can start with the DATE_ADD and DATE_SUB
>functions. http://www.mysql.
Dmitry wrote:
> Greetings.
>
> If i run this code (php5):
> --
> class a {
> function say() { echo "A"; }
> function run() { $this->say(); }
> }
> class b extends a {
//> function say() { echo "B"; }
function say() { parent::say(); echo "B";}
> func
Dmitry wrote:
> Hello!
> How disable error messages when i send incorrect data into gzip* "extract"
> functions, such as gzinflate or gzuncompress?
>
> For example:
>
> function _pack($data) {
> $data = serialize($data);
> $data = gzdeflate($data,9);
> $data = base64_encode($data);
> $data = ur
[snip]
I have a page that is for booking attendance to events, and instead of
using
a date picker, I want to display drop-down selects which cover the
ranges of
dates that the event is occurring at. My question is, is there an easy
way
to determine the dates in between the date from and to that is
[snip]
On Mon, 24 Jan 2005 12:58:52 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> How about the strtotime() function?
> http://us4.php.net/manual/en/function.strtotime.php
No good, it douse not take a format string. What if I wanted to
convert the timestamp to 'DD-MM-YYY', display it on a
Jochem Maas wrote:
Gerard Samuel wrote:
Im trying to evaluate a string representation of the output of
var_export(),
as an array.
To make a long story short, Im using curl to fetch another php page,
that uses var_export to echo out php data structures.
The fetched data via curl, is a string. Some
Hi NG,
I have a page that is for booking attendance to events, and instead of using
a date picker, I want to display drop-down selects which cover the ranges of
dates that the event is occurring at. My question is, is there an easy way
to determine the dates in between the date from and to that is
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 24 January 2005 17:04, Ben Edwards wrote:
> On Mon, 24 Jan 2005 10:38:03 -0600, Jay Blanchard
> <[EMAIL PROTECTED]> wrote:
> > [snip]
> >
> > String to Date Function
> > ---
On Mon, 24 Jan 2005 12:58:52 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> How about the strtotime() function?
> http://us4.php.net/manual/en/function.strtotime.php
No good, it douse not take a format string. What if I wanted to
convert the timestamp to 'DD-MM-YYY', display it on a form,
Reza Milan wrote:
> Dear sir,
>
> When I use setcookie command I recieve the following message error:
>
> Warning: Cannot modify header information - headers already sent by
> (output started at C:\Inetpub\wwwroot\test.php:9) in
> C:\Inetpub\wwwroot\test.php on line 15
>
> WinXp - IE 6
> On Localho
Ralph Frost wrote:
> I had a php routine on a shared server running as a CGI script that
> encrypted and sent email text.
>
> It was running fine under PHP version 4.3.6. Then the ISP upgraded to
> 4.3.10 on December 16, 2004 and several of the features in the gpg
> encryption script running in cg
Ahmed Abdel-Aliem wrote:
> hi, i have a script that parses data from xml document
> my problem is sometimes i get error when getting file content from xml
> file fails
> so how can u make the script ignore that part when it fails to pull
> the data from the xml file.
>
> here is the script :
>
> $x
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 24 January 2005 16:42, Potter, Jeff wrote:
> Hi Mike,
>
> I would seem so, but the patch (in snapshot php4-200501201930) only
> seems to work when the output_buffering is set to
Hi,
I have a high load server which will have anywhere between 500 and 700
session files in the /tmp directory at max load times. I've also
noticed that session information seems to get lost sometimes during
high load times... like a "remember me" function won't work... or
you'll log in and go rig
Marten Lehmann wrote:
> Is noone compiling PHP5 on its own, but just using preconfigured rpm's?
> Can't a developer og php have a look on this?
It's far more likely that noone is using SOAP... :-^
Try posting the error messages and your exact configure line to
php-install for the maximum odds of
Gerard Samuel wrote:
Im trying to evaluate a string representation of the output of
var_export(),
as an array.
To make a long story short, Im using curl to fetch another php page,
that uses var_export to echo out php data structures.
The fetched data via curl, is a string. Something like ->
array
How about the strtotime() function?
http://us4.php.net/manual/en/function.strtotime.php
>
> From: Ben Edwards <[EMAIL PROTECTED]>
> Date: 2005/01/24 Mon PM 12:03:34 EST
> To: Jay Blanchard <[EMAIL PROTECTED]>
> CC: PHP General List
> Subject: Re: [PHP] String to Date and Date to String Functions
Im trying to evaluate a string representation of the output of
var_export(),
as an array.
To make a long story short, Im using curl to fetch another php page,
that uses var_export to echo out php data structures.
The fetched data via curl, is a string. Something like ->
array ( 'foo' => 'bar', )
Merlin wrote / napísal (a):
Hi there,
I am now using Homesite 4.5.x since a few years since I found it the
most relieble editor arround.
Now I would like to have a look around to see if there are better
solutions nowadays.
I am looking for a relieable, stable and quick PHP/HTML editor.
Can an
Hi there,
I am now using Homesite 4.5.x since a few years since I found it the
most relieble editor arround.
Now I would like to have a look around to see if there are better
solutions nowadays.
I am looking for a relieable, stable and quick PHP/HTML editor.
Can anybody suggest a good one? I t
On Mon, 24 Jan 2005 10:38:03 -0600, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> [snip]
>
> String to Date Function
>
> return date stringToDate( str Date, str Format )
> e.g. $todayDt = stringToDate( '01/01/2003','DD/MM/' );
>
> Date to String Function
> --
Hi Mike,
I would seem so, but the patch (in snapshot php4-200501201930) only
seems to work when the output_buffering is set to 0. With
output_buffering set to the default 4096, the virtual() calls are sent
to the browser out of order. The concern with turning the output
buffering off is that the
[snip]
Being trying to work out haw to handle dates. Basically I need a
function to convert a Date to a String and another function to convert
a string to a date.
Exactly what format the date is held in is not relevant as long as it
is some type of standard (i.e. Unix Timestamps).
Both the func
Is noone compiling PHP5 on its own, but just using preconfigured rpm's?
Can't a developer og php have a look on this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Being trying to work out haw to handle dates. Basically I need a
function to convert a Date to a String and another function to convert
a string to a date.
Exactly what format the date is held in is not relevant as long as it
is some type of standard (i.e. Unix Timestamps).
Both the functions w
On Mon, 24 Jan 2005 07:24:19 -0800 (PST), Reza Milan
<[EMAIL PROTECTED]> wrote:
> Dear sir,
>
> When I use setcookie command I recieve the following message error:
>
> Warning: Cannot modify header information - headers already sent by (output
> started at C:\Inetpub\wwwroot\test.php:9) in C:\In
On Mon, 24 Jan 2005 10:28:09 -0500, Jason Barnett
<[EMAIL PROTECTED]> wrote:
> Tony Di Croce wrote:
> > Is it even possible to connect to a postgres server (thats running on
> > linux) from a windows CLI php script?
Yup.
> > I'm seeing a pg_connect() error... FATAL: no pg_hba.conf entry for
> >
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 January 2005 16:35
To: php-general@lists.php.net
Subject: [PHP] Important m$6h?3p
See the ghg5%&6gfz65!4Hf55d!46gfgf
Yoiks!
When did this list decide that gibberish was the default language? Have I
missed
See the ghg5%&6gfz65!4Hf55d!46gfgf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tony Di Croce wrote:
Is it even possible to connect to a postgres server (thats running on
linux) from a windows CLI php script?
I'm seeing a pg_connect() error... FATAL: no pg_hba.conf entry for
host 192.168.1.100
Any ideas?
The easiest way to get PG up and running on a Windows system is cygwin.
Dear sir,
When I use setcookie command I recieve the following message error:
Warning: Cannot modify header information - headers already sent by (output
started at C:\Inetpub\wwwroot\test.php:9) in C:\Inetpub\wwwroot\test.php on
line 15
WinXp - IE 6
On Localhost and Server
Thanks
Reza M
Thanks Matthew,
I appreciate your feedback. I'll be working on it this morning, and I
might take a look at Smarty too.
Thanks,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas wrote:
Jeffery Fernandez wrote:
Jochem Maas wrote:
...
Yes the example sent by Kurt Yoder worked for me. I coudn't work out
the errors with the class you sent me. I realised it was written for
PHP5 in mind ?... or maybe I wasn't patient enough to spent time
debugging it :-(
I d
Jeffery Fernandez wrote:
Jochem Maas wrote:
...
Yes the example sent by Kurt Yoder worked for me. I coudn't work out the
errors with the class you sent me. I realised it was written for PHP5 in
mind ?... or maybe I wasn't patient enough to spent time debugging it :-(
I did change it for php
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 21 January 2005 22:01, Potter, Jeff wrote:
> Hello,
>
> Could someone help me understand why later versions of PHP (4.3.9,
> 4.3.10, & 5.0.3) do not maintain the same
> ordering
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 23 January 2005 22:37, Jeffery Fernandez wrote:
> Kurt Yoder wrote:
>
> > Use usort (stealing from php docs):
> >
> >
> >
> > function cmp($a['score'], $b['score'])
That sho
Jochem Maas wrote:
...
This won't work for me as I have 500+ records to sort based on the
score key.. looking at jochem's class now. Thanks
which wont help much - assuming what you say is true
(why wont it work? have you tried it).
sort method from the class:
function sort()
{
if
...
This won't work for me as I have 500+ records to sort based on the
score key.. looking at jochem's class now. Thanks
which wont help much - assuming what you say is true
(why wont it work? have you tried it).
sort method from the class:
function sort()
{
if(count($this->sortKe
Devraj Mukherjee wrote:
We are evaulating the idea of writing a PHP application server. Its aimed
to be a stateful environment for writing PHP applications and we believe
it will be quite advantegous to the entire community.
Any ideas if there are a similar solutions that already exists out there,
Sam Webb wrote:
I've installed Apache 2 and PHP 5 on Windows XP, and I'm having some
issues with sessions. Everything else I've tried to do in PHP works
fine, but for some reason every time I try to use session_start() i
get the following errors:
Warning: session_start() [function.session-start]:
o
Hi,
How about this
foreach ($data as $key => $row) {
$scores[$key] = $row['scores'];
}
array_multisort($scores, SORT_ASC, $data);
Abdul-Wahid
On Mon, 24 Jan 2005 00:39:17 +1100, Jeffery Fernandez
<[EMAIL PROTECTED]> wrote:
> I have the following multi-dimentional
96 matches
Mail list logo