Thanks... thing is, it can be anything from c:\whatever.exe to
c:\program files\program name\bin\program.exe. I'll write a function
that goes to each directory in a string and does a dir /x if I have to,
but isn't there a simpler way?
Michael Sims wrote:
On Tue, 31 Dec 2002 01:12:47 -0500, you
see at http://verisign.com
two services are available:
payflo link & payflow pro
regards,
--
"Few are those who see with their own eyes and feel with their own
hearts."
Albert Einstein
--
I sure hope this is the correct mailing list. I have been struggling with
this problem for quite some time.
Does anyone know a way to verify credit card information in real time with
your bank over the internet in say a shopping cart?
Joey Peters
hi i've just started a job and they are sadly using php3 , what is the work
around for the session handling limitation ? i have an authentication class
which will not work now beause it cant handles sessions :|
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
On Tuesday 31 December 2002 03:52, Andras Kende wrote:
> Hello,
>
> I'm trying to upgrade to php4.3 on a cobalt raq4
> I have 4.1.2 with gd 1.6, but would like to use gd 2.0
>
> Compiled 4.3 from source, everything seems to be fine
> except the JPG Support.
>
> http://www.kende.com/phpinfo.php
>
>
NOW what am I doing wrong??
function setCurrentDevGroup($devID)
{
$query = "SELECT dev_group FROM tracking WHERE (computer = $devID)";
$sth = $adb->prepare($query);
if($sth)
{
$res = $sth->execute();
if I wanted to read a very large object into a blob field, is there a way i
could do it in 1MB chunks. using and UPDATE statement "field = field+'$data'".
and just use fread to read 1MB at a time into $data.
--
Mike Brancato
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
I'm trying to run some (often user-defined) files on my windows server.
Thing is, it seems to want short names (like
C:\PROGRA~1\WHATEVER\PROG.EXE). Is there any way to get the short name
from a long name?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
Are you using a WRAP attribute on your TEXTAREA? You'll want to set it
to OFF or NONE, probably. I can't remember the exact values, it can
take, but I think it's PHYSICAL, VIRTUAL, and NONE/OFF.
Thank you. Problem solved.
Better put "thank you" on some sort of macro because it
> When i retrieve the text i have on my database, which was taken
from
> a
> form textbox, i have line breaks ate the end of each line in the
textbox.
> Ah, hard to explain!
> My textbox is small, and everytime, while writing a text in it,
the
> line
> ends and we continued writing on t
Hi,
When i retrieve the text i have on my database, which was taken from a
form textbox, i have line breaks ate the end of each line in the textbox.
Ah, hard to explain!
My textbox is small, and everytime, while writing a text in it, the line
ends and we continued writing on the next one, t
I was able to successfully install the php on my win2k server. I am,
however, getting an error any time I try to initialize a variable. This is
the error I am getting:
Notice: Undefined index: adv_auth in ...\mysql\lib.inc.php on line 132
I am not sure as to whether I forgot to do something when
Build a file on the disk and use a shell to send it with lpr.
*** REPLY SEPARATOR ***
On 30/12/2002 at 11:59 PM Larry Brown wrote:
>Does anyone know where I might find specific information on methods of
>sending documents to a printer from the web server to an attached printe
My apologies, this is Linux RH8 to be exact.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 12:05 AM
To: 'Larry Brown'; 'PHP List'
Subject: RE: [PHP] printing documents on printer
> Does anyone know where I might find specific information on methods of
> sending documents to a printer from the web server to an attached
printer.
> My PHP and Perl books don't even touch on the capability for some
reason.
On windows you can use the Printer Functions...
http://www.php.net/manu
Does anyone know where I might find specific information on methods of
sending documents to a printer from the web server to an attached printer.
My PHP and Perl books don't even touch on the capability for some reason.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
--
PHP General Mai
i dont finally understand mate what do need, load the values already
filled, when the form is not sent because of an error?
you can try something like this
for($i=0;$1<5;$i++)
{
}
if that is what you need, if no, you can write to me in spanish, and
explain better in spanish ;)
regards
Eocene is an OO (Object Oriented) Web development framework that
incorporates many proven software development practices to provide a
foundation for building Web applications. It uses PHP for foundation classes
and xml-based text files for application configurations. It is a simple and
easy to use
hi.. i have this and i cant get it work!!..
HERES THE CODE
---
for ($i=1;$i<11;$i++){
echo"
TEXT
";
}
> We are almost at the end of 2002, and it seemed appropriate to look
back
> on the development issues of the past year. So starts the first PHP
Look
> Back! You can find it @ http://www.derickrethans.nl/20021230.php, and
if
> you have any comments,feel free to post them with the
I don't think there's anything wrong with the queries themselves. Are
you trying to run them all at once? You're getting an error because
MySQL is reaching a semi-colon somewhere and that's causing a parse
error... Show how you're trying to run all of these queries. Bottom
line, you must do them on
Derick Rethans wrote:
>
> We are almost at the end of 2002, and it seemed appropriate
> to look back on the development issues of the past year. So
> starts the first PHP Look Back! You can find it @
> http://www.derickrethans.nl/20021230.php, and if
> you have any comments
Hi,
Tuesday, December 31, 2002, 2:55:39 AM, you wrote:
>> In the test function, if I just serialize the $xml, return it and then call
>> xmldoc_open_mem on the unserialized return string, it works fine.
>> But it doesn't like it if I do the above. I'm getting the error:
>>
>> Warning: dump_mem(
I need a way to keep the script running on the server, but control to
the user. I'm doing some lengthy processes on the server, and it seems
stupid to keep the user waiting pointlessly. I'm trying to do something
like:
if(array_key_exists('secondrun',$_GET)){
print "Processing complete!";
At 07:59 AM 12/30/02 -0600, Michael Sims wrote:
On Mon, 30 Dec 2002 04:11:02 -0700, you wrote:
>, or the types SET and ENUM.
I'm not sure what SET is, never used it,
Color set( 'red', 'green', 'blue' ) can contain only the following
values:
NULL;'blue'; 'green'; 'green,blue';
'
I just tried this in MySQL and it inserted no problem
INSERT INTO c_emotes VALUES (6, ':-)');
Mike
*** REPLY SEPARATOR ***
On 30/12/2002 at 7:14 PM Stephen wrote:
I'm having some troubles. I have an install script which runs a lot of SQL statements
to create tables then i
I'm having some troubles. I have an install script which runs
a lot of SQL statements to create tables then insert info into them. One of them
is an emoticons table. Here's the error I'm getting:
You have an error in your SQL syntax near '; INSERT INTO c_emotes VALUES
\(':\)', 'emotes/smile
there's a nice article in this months (Feb. 2003!!!) PC world (UK) (www.pcw.co.uk) on
this.
see www.nigelwhitfield.com for details.
Best Wishes & Happy New Year
Paul Roberts
[EMAIL PROTECTED]
- Original Message -
From: "Michael J. Pawlowsky" <[EMAIL PROTECTED]>
A friend of mine had an uncle who taught dancing to middle-aged couples.
One day he visited some lessons and noticed that all the couples were
fussing, stepping on each other's feet and arguing. When he asked, "what
gives?" his uncle told him, "if you're not fighting, you're not dancing."
(It may
Just a heads-up.
I was having problems doing a MySql infile insert with a flat file uploaded
from an html form. I discovered that ascii character 10 (new line \n,\r) is
being changed to ascii character 13 (charriage return) when it is uploaded.
MySql didn't recognize the ascii-13 character as a
Actually, it is like that. I just copied one part, forgot you'd probably
want the file variable and pasted that but accidently below. I read this:
$file = $HTTP_GET_VARS['file'].".html";
chmod($file, 0666);
- Original Message -
From: "Chris Garaffa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
On Monday, December 30, 2002, at 04:34 PM, Stephen wrote:
I'm running the CHMOD function and I get this error:
Warning: chmod() [function.chmod]: Permission denied in
c:\inetpub\wwwroot\chatness2\admin\save.php on line 13
I'm running IIS 5 which may be causing it. Here's my code:
chmod($file
I'm running the CHMOD function and I get this
error:
Warning: chmod() [function.chmod]: Permission denied
in c:\inetpub\wwwroot\chatness2\admin\save.php on line
13
I'm running IIS 5 which may be causing it. Here's my
code:
chmod($file, 0666);
$file = $HTTP_GET_VARS['file'].".html";
Ple
i'm having trouble with using php to upload files to be used as resources over
the web via php and a backend db. i don't prefer to store them on the
filesystem, but i guess thats an ultimate solution. either way, my code works,
in theory, and literally. but not on file above 799KB. why? got
Thanks,
I tried it and don't get a blank line but it still shows all the code when
opened in word. Forgive how lengthy it is but here is the actual code: I
tried escaping the special characters in the string but that doesn't help
either.
Thanks,
Eddie
-Original Message-
From: gami
Hello!
We are almost at the end of 2002, and it seemed appropriate to look back
on the development issues of the past year. So starts the first PHP Look
Back! You can find it @ http://www.derickrethans.nl/20021230.php, and if
you have any comments,feel free to post them with the link at the
"Edward Peloke" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ok,
>
> I took a word document, saved it as an rtf then opened the document in a
> text editor so that I could see all the rtf code. I then added this code
to
> my script
> $fp=fopen("documents\off
I think i did not make question clear.
What i mean by 'any circumstances' is not using fopen('php://stderr', 'w')
or STDERR (ver >= 4.3.0) but getting something in stderr when some function
call like fopen(), mysql_connect(), ftp_connect() fails. I tried these
calls and they dont result in a
I found that http://designdiscussions.com is backonline with a new url.
They use to have a pretty nice PHP forum going. They need a mod for their
PHP forum too...
bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok,
I took a word document, saved it as an rtf then opened the document in a
text editor so that I could see all the rtf code. I then added this code to
my script
$fp=fopen("documents\off.rtf",w);
$outputstring="";
fwrite($fp, $outputstring);
For the outputstring, I simply cut and paste the rtf
On Mon, 30 Dec 2002, Doug Coning wrote:
> However, I want to add another form in the same page. My current form acts
> upon itself (i.e. Action = the same page). If I set up another form to do
> the same, how would my PHP determine with action submit button was acted
> upon?
Give your submit bu
> I have an update page that has a form in it.
>
> However, I want to add another form in the same page. My current form
> acts
> upon itself (i.e. Action = the same page). If I set up another form
to do
> the same, how would my PHP determine with action submit button was
acted
> upon?
>
> Curr
You should be able to insert a hidden field in your form and that check
against that in your PHP script to determine which (if any) of your form
was submitted:
in your script:
--- Begin Message ---
Hi all,
I have an update page that has a form in it.
However, I want to add another fo
- Original Message -
From: "Doug Coning" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 3:26 PM
Subject: [PHP] Multiple forms
> Hi all,
>
> I have an update page that has a form in it.
>
> However, I want to add another form in the same page. My
Hi all,
I have an update page that has a form in it.
However, I want to add another form in the same page. My current form acts
upon itself (i.e. Action = the same page). If I set up another form to do
the same, how would my PHP determine with action submit button was acted
upon?
Currently, fo
Sorry,
I forgot to add the group by clause. Both will work fine.
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You cannot mix grouping columns without a group by clause. This would
work:
>
> SELECT * FROM MYTABLE order by ifield desc limit
Hi,
This is more of a unix/linux question. but i guess somebody will be able
to help me here.
Can a command-line PHP script result in a stderr output in any
circumstances, or does it only generate only stdout ?
One can use 2>&1 to redirect stderr to stdout, will this work with PHP
command-lin
To see the error in action go to http://www.moorhouse.co.za/test.php
Please help!
Thanks
"Elna Moorhouse" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
What I want to do is very simple, I have a txt file on a ftp server, that contains
the number of visit
- Original Message -
From: "Omar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 1:32 PM
Subject: [PHP] problem including a file
> I have an include line in all the php files i write
> something like --> include('connection.inc');
> The include path is d:\inc
Hello,
I'm trying to upgrade to php4.3 on a cobalt raq4
I have 4.1.2 with gd 1.6, but would like to use gd 2.0
Compiled 4.3 from source, everything seems to be fine
except the JPG Support.
http://www.kende.com/phpinfo.php
'./configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-gd'
'
You cannot mix grouping columns without a group by clause. This would work:
SELECT * FROM MYTABLE order by ifield desc limit 1
Elna Moorhouse wrote:
TRY:
SELECT id,Max(ifield) from MYTABLE.
What I don't understand is why you specify id=$id in the where clause. If
you already specify the id
I have an include line in all the php files i write
something like --> include('connection.inc');
The include path is d:\includes. (win nt 4, php 3.0.11) It worked fine
before but today failed to open the include file.
Does anyone has a clue about what could cause this problem?
Thank you.
--
PH
TRY:
SELECT id,Max(ifield) from MYTABLE.
What I don't understand is why you specify id=$id in the where clause. If
you already specify the id as let say 1 then the max for that id will be 100
from your example below.
"Richard Fox" <[EMAIL PROTECTED]> wrote in message
003901c2b034$0c563740$0700a
Nevermind, I found the bug.
End of the code should be:
# Now rotate the @teams array
# Save the last team as the pivot for the polygon
if ($even) {
$last_team_save = array_pop($teamarray);
}
$last_team = array_pop($teamarray);
array_unshift($teamarray, $last_te
.. and compilation aborts.
ps. i forgot to tell You - sorry !
greetz
gnu is not unix
Copy of first message:
I have problem with php-4.3.0 i can not install it on my 3 different rh7.0 servers.
./configure --prefix=/usr --with-config-file-path=/etc --disable-debug
--enable-pic --enable-shared --e
Ok, after some more fiddling, I'm really close to getting this to work.
The script seems to correctly generate a schedule if an odd number of teams
are specified:
Given an array of 5 teams, A through E, the following pairs are generated:
Round 1 - A/E, B/D
Round 2 - D/E, A/C
Round 3 - C/D, B/E
R
Hi,
What would be a query to select a single record from a number of records in
a table, depending on which one has the biggest value in an integer field?
e.g something like:
MYTABLE
id ifield
1100
2200
3150
SELECT * FROM MYTABLE WHERE id=$id and MAX(i
Jason Wong wrote:
> On Monday 30 December 2002 22:07, Michael Sims wrote:
>> On Mon, 30 Dec 2002 14:48:13 +0100, you wrote:
>> >function setCurrentDevGroup($devID)
>> >{
>> >// start original routine
>> >$query = "SELECT dev_group FROM tracking WHERE (computer
>> >
Just use absolute paths.
If your webserver is looking at the root directory, /index.phtml and
index.phtml are the same file
Matt
- Original Message -
From: WMB <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 12:03 PM
Subject: [PHP] Continued story on : PHP inclu
Like you say it works (with the correction) "." for which my thanks, but:
if one my includes is a menu.php where there are links inside, how should
these work from rootdirectory and from subdirectories.
for rootfilelinks they now just say f.i. index.php, but when called from
inside a subdirectorie
Hi, original messagethread on dec 6, 2002, but still have following question
on same/continued subject by Tom Rogers:(see below)
Like you say it works (with the correction) "." for which my thanks, but:
if one my includes is a menu.php where there are links inside, how should
these work from root
> In the test function, if I just serialize the $xml, return it and then call
> xmldoc_open_mem on the unserialized return string, it works fine.
> But it doesn't like it if I do the above. I'm getting the error:
>
> Warning: dump_mem() [function.dump-mem]: Underlying object missing
> or of inv
Keywords: Multiple, Language, PHP, $HTTP_ACCEPT_LANGUAGE
I'm just shooting this one up here for the Archives.
Since I could not find a built in PHP function to access the preferred languages on a
user I came up with this.
The original version acted as a http server in that you needed to have a
Never mind.
http://www.agner.org/messageboards/docs/read-me.txt says that if there is a
space before the http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can't have any text output to the browser before a redirect. Make sure
you have nothing abouve line 58 echoing out text (specifically whatever is
in line 2, judging by your error) .. I believe I've had the problem when
I've included a file where the 1st line was blank, so you may want to check
still you forgot " ;-)
Print "Organisation name : ".$row[OrgName]."\n";
R'twick Niceorgaw wrote:
Print "Organisation name :
size=\"5\">.$row[OrgName]."\n"."";
- Original Message -
From: "Denis L. Menezes" <[EMAIL PROTECTED]>
To: "PHP general list" <[EMAIL PROTECTED]>
Sent: Monday
Hi everyone,
I'm using Dreamweaver to create an insert page and after the record is
inserted I receive this error:
Warning: Cannot add header information - headers already sent by (output
started at
/home/virtual/site8/fst/var/www/html/admin_gs/products_insert.php:2) in
/home/virtual/site8/fst/va
Besides what Michael and jason said, you seem not have the $tracking
initialized (it is not an object).
You need to call $tracking=new tracking(); somewhere in your code.
Martin S wrote:
I'm trying to redo a db lookup into a function. The function is placed in a
class called tracking and declar
Print "Organisation name : .$row[OrgName]."\n"."";
- Original Message -
From: "Denis L. Menezes" <[EMAIL PROTECTED]>
To: "PHP general list" <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 11:10 AM
Subject: [PHP] php+html help
Hello friends,
I have the following php output line that
I have problem with sending pages directly(by Send->Page
by E-mail...) from browser(ie6) with Outlook 2002. It
tells:"The current document type can not be sent as
mail.Would you like to send a Short cut instead?". The
pages use php sessions and https with 128 bit
encryption. I found that it is caus
Hello friends,
I have the following php output line that works fine :
Print "Organisation name : ".$row[OrgName]."\n"."";
However, I want this line to be in bold, red and size=5. I tried the following code
but fails. Can someone please tell me what is wrong?
Print "Organisation name : .$row[Or
I was trying to find a script to do round robin pairings for a sports
schedule generator.. I was able to come across one in Perl, and am in the
process of trying to convert it to PHP, but since my perl knowledge is a bit
(well, a lot) lacking, I was hoping someone could help..
Perl script:
http:
I'm writing a PHP chat script and I'm rather stumped on this.
I either want the chat window to refresh when there's a new message or refresh
every few seconds but not with meta refresh, rather something with less noise
(the infamous IE clicking sound) and/or something faster. The only thing I
thanks, I will give it a shot!
Thanks,
Eddie
-Original Message-
From: Marco Tabini [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 10:26 AM
To: Edward Peloke
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] creating a .doc file in php
Yep. There should be a few SMTP/Email composing c
Yep. There should be a few SMTP/Email composing classes that can help
you with the attachment part. Just remember to delete your temp file
once you're done and you should be fine.
Cheers,
Marco
--
php|architect - The Monthly Magazine for PHP Professionals
Come check us out on t
As an array. However, you can test this in the page that receives the
post with fallowing code:
foreach($_POST as $val => $key) {
echo $val." => ".$key."";
}
Regards,
Sumarlidi E. Dadason
SED - Graphic Design
_
E-mail: [EMAIL PROTE
php-general Digest 30 Dec 2002 15:34:19 - Issue 1793
Topics (messages 129623 through 129672):
Re: Dropping Tables
129623 by: Steve Buehler
Re: imap_set_quota function
129624 by: Michael Sims
Re: PHP 4.3 unable to load php_domxml.dll in WinXP Apache 2.0.43
129625 by:
Thanks Marco,
So I would just create the .rtf file with php, then store it on the server
and attach it to the e-mail?
Thanks,
Eddie
-Original Message-
From: Marco Tabini [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 9:17 AM
To: Edward Peloke
Cc: [EMAIL PROTECTED]
Subject: Re
Hi,
I am sending information from Flash to PHP and ideally I just want to send
an array. Would php treat the info as an array or a string? If it is the
latter, is there a way that I can convert the information into an array? In
Flash you can use the .split action but I'm not too sure of the PHP
> Either you're confused or I'm confused :)
It's me. This just hasn't been a good week for me. :p
One time I'll get it right!
> mysql_tablename() is used in conjunction with mysql_list_tables() to get the
> names of the tables defined in the specified database. It cannot "get the
> table name
On Monday 30 December 2002 22:07, Michael Sims wrote:
> On Mon, 30 Dec 2002 14:48:13 +0100, you wrote:
> >function setCurrentDevGroup($devID)
> >{
> >// start original routine
> >$query = "SELECT dev_group FROM tracking WHERE (computer =
> >
On Monday 30 December 2002 21:57, Chris Boget wrote:
> > >o Pg doesn't have DATE_FORMAT()
> >
> > to_char() accomplishes the same thing, for example:
> > select to_char(lastlogin, 'FMMM-DD- FMHH:MI AM') as lastloginf
> > from users;
>
> Unless I missed something, that function doesn't work with
I have a similar question/problem. However, I want to use an external
"email template" as it were, so that the sales guys can edit it as they
like and simply shuffle the three variables around that they need
$username, $password, $code (either with or without the tags).
I don't want them mucking
> Anyone seen this before? Any suggestions/things to try? It's driving
> me mad...
I would strongly suggest using Apache 1.3.x instead of Apache 2.
Apache2+PHP simply is nowhere near stable.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
> To convert TO a unix timestamp:
> To convert FROM a unix timestamp:
Excellent. Thank you very much for the info!
> And there is the major benefit of using Postgres...
Why do you think I decided to move to Postgres? :P
> not to mention sub-selects, views, unions, etc.
Indeed. And I'm goin
My guess is that your best bet is creating either an HTML or RTF
documents, both of which are readable by MS Word. RTF is well documented
and it should be fairly easy to work with--you can save a template with
placeholders and simply replace them, since it's entirely text-based.
Cheers,
Marco
--
On Monday 30 December 2002 21:33, Chris Boget wrote:
> Due to writing this email *way* too early in the morning, I got
> everything mixed up and didn't say what I meant. The below
> is what I really meant.
>
> > Not sure what you're getting at here. Surely for any particular
> > query, _you_ would
I am creating a 'vacation' scheduling webpage for my company. Currently,
when we want a day off, we fill out a document in word and send it to our
supervisor. The page I am working on will have a calendar that displays who
is off when. I would like for the employees to click on a date, enter the
I don't see any errors there, just a couple of rather harmless warnings.
On Mon, 30 Dec 2002, [EMAIL PROTECTED] wrote:
> Hello !
>
> I have problem with php-4.3.0 i can not install it on my 3 different rh7.0 servers.
>
> ./configure --prefix=/usr --with-config-file-path=/etc --disable-debug
> --e
On Mon, 30 Dec 2002 07:57:04 -0600, you wrote:
>> >o Pg doesn't have DATE_FORMAT()
>> to_char() accomplishes the same thing, for example:
>> select to_char(lastlogin, 'FMMM-DD- FMHH:MI AM') as lastloginf
>> from users;
>
>Unless I missed something, that function doesn't work with unix timestam
On Mon, 30 Dec 2002 14:48:13 +0100, you wrote:
>function setCurrentDevGroup($devID)
>{
>// start original routine
>$query = "SELECT dev_group FROM tracking WHERE (computer =
>
> >o Pg doesn't have DATE_FORMAT()
> to_char() accomplishes the same thing, for example:
> select to_char(lastlogin, 'FMMM-DD- FMHH:MI AM') as lastloginf
> from users;
Unless I missed something, that function doesn't work with unix timestamps.
Is there anythin internal to PG that allows you to
On Mon, 30 Dec 2002 04:11:02 -0700, you wrote:
>The things that bothered me the most:
>
>o Pg doesn't have DATE_FORMAT()
to_char() accomplishes the same thing, for example:
select to_char(lastlogin, 'FMMM-DD- FMHH:MI AM') as lastloginf
from users;
>, or the types SET and ENUM.
I'm not sure
Hello,
I have a multi-lingual site and was wondering if anyone knew of a PHP function to
detetct a browser's preferred laguages.
I know I can parse it in the _SEREVR var [HTTP_ACCEPT_LANGUAGE] => fr, fr-ca;q=0.75,
en-us;q=0.50, en;q=0.25
But I was just wondering if somewhere PHP already had a f
I'm trying to redo a db lookup into a function. The function is placed in a
class called tracking and declared thus:
function setCurrentDevGroup($devID)
{
// start original routine
$query = "SELECT dev_group FROM tracking WHERE (computer =
Due to writing this email *way* too early in the morning, I got
everything mixed up and didn't say what I meant. The below
is what I really meant.
> Not sure what you're getting at here. Surely for any particular
> query, _you_ would know what table(s) is/are being used?
That's not necessarily
hi all,
i jus can't get php to work.i've installed apache web
server in windows 2000 platform and tried to run a php
script which is in
d:/work/sample.php.but the browser prints out a
http:404 error saying that the page cannot be
displayed.
in the httpd.conf file,
i 've given the scriptAlias
as Sc
Hello !
I have problem with php-4.3.0 i can not install it on my 3 different rh7.0 servers.
./configure --prefix=/usr --with-config-file-path=/etc --disable-debug
--enable-pic --enable-shared --enable-inline-optimization --with-apxs=/usr/sbin/apxs
--with-exec-dir=/usr/bin --with-regex=system --wi
Hi all,
First of all, apologies if this is a question that has already been
asked and answered, but a quick search of the archives didn't turn up
anything - perhaps because it's hard to think of good keywords...
I'm experiencing a bizarre problem with PHP 4.2.2 and Apache 2.0.40 -
both the versio
> Sorry, you've lost me. In your OP you say you wanted the
> "table name", but now you're talking about the "dbname"?
> For dbname, you can use (oddly enough) pg_dbname().
Eeep, I'm ever so sorry. That's what I get for responding
at 4:30a when trying to battle insomnia.
Yes, I am looking for th
1 - 100 of 119 matches
Mail list logo