On Jan 5, 2008, at 3:09 PM, Casey wrote:
Try adding "target="_top"" or "target="_parent"" to the form element
in HTML.
On 1/5/08, Bastien Koert <[EMAIL PROTECTED]> wrote:
this would be an html / js issue...
why have a popup login in this case? just show the logon in the main
window
and t
On Jan 5, 2008 5:14 AM, Yang Yang <[EMAIL PROTECTED]> wrote:
> hi,everyone,i am a newbuy for php world
>
> and i have a problem when i study php
>
>
> i want to make a script,it works for:
> a mysql table,like
>
> title authorcontentdate
> a1a2 a3 a4
> b1b
Hello;
I am running a server that is using UTC
and I want to be able to convert to
clients local time in some display presentations.
Is this indicated by $_SERVER["REQUEST_TIME"]?
If not, is there a way to get the requesting host's
time zone so I can offset the servers clock value correctly?
Thank
Hello,
I found it myself...
I just start php in command line with "--php-ini " where I set
safe_mode Off.
Bye :)
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
--
PHP General Mailing List (http://www.php
Hello,
I am trying to execute this script (from command line):
function getMailboxSize($domain, $mailbox){
// Maildirectories are stored under /var/qmail(mailnames/domain/mailuser
$path = "/var/qmail/mailnames/" . $domain . "/" . $mailbox;
$size = shell_exec("cd " . $path . ";du -bc * | grep t
> -Original Message-
> From: John Gunther [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 05, 2008 8:57 PM
> To: php-general@lists.php.net
> Subject: [PHP] Re: HTML form upload works, CURL fails when uploading
> file from c:
>
> Well, I think I understand the problem now: CURL is
> op
Well, I think I understand the problem now: CURL is
operating from the server so it knows nothing about C: on the client!
So how do I solve my problem? I want to upload multiple files from C: to
the server based on a single wildcard spec typed into an HTML form by
the user.
John Gunther wro
On Jan 5, 2008 5:04 PM, Nisse Engström <[EMAIL PROTECTED]> wrote:
[snip!]
>The page encoding is determined by the HTTP
> `Content-Type:´ header. Period.
[snip="again"]
Negative. If that were the case, what would be the sense in
providing browser encoding translation? Have you noticed, fo
On Jan 5, 2008, at 639AM, A.smith wrote:
I'm having a problem getting .phtml files to display in a web
browser. I
can successfully display a test.php page as per PHP install
instructions but
the phtml files show up blank
(in firefox or IE).
A blank page often means that there's an error o
PHP 5.2.1 on Apache/Linux. Client is Firefox and IE7 on Windows XP.
Uploading C:\boot.ini works great from an HTML type="file" form element
but fails using what should be the equivalent:
curl_setopt($ch,CURLOPT_POSTFIELDS,array('peru'=>'@C:/boot.ini'));
CURL error is "failed creating formpost
Try adding "target="_top"" or "target="_parent"" to the form element in HTML.
On 1/5/08, Bastien Koert <[EMAIL PROTECTED]> wrote:
>
> this would be an html / js issue...
>
> why have a popup login in this case? just show the logon in the main window
> and then do the redirect...
>
>
> bastien
>
>
On Jan 5, 2008, at 10:50 AM, "A.smith" <[EMAIL PROTECTED]> wrote:
Hi Bastien,
thanks for the suggestion, unfortunately I still have no page
displayed...
thanks Andy.
- Original Message
From: Bastien Koert <[EMAIL PROTECTED]>
To: A.smith <[EMAIL PROTECTED]>, php-general@
On Saturday 05 January 2008 22:06:47 Yui Hiroaki wrote:
> HI!
>
> I try to login and read ad email in server.
> Does any one know how to do this?
> Below does not run correctly.
right, the line:
if( !eregi("OK", $line) ) // login faile?if( !eregi("OK", $line) ) //ogin
faile?
it looks just like t
On Sat, 5 Jan 2008 01:08:13 -0500, tedd wrote:
> At 1:41 AM +0100 1/5/08, Nisse Engström wrote:
>>On Fri, 4 Jan 2008 09:16:54 -0500, tedd wrote:
>>
>>> At 10:33 AM +0100 1/4/08, Nisse Engström wrote:
On Thu, 3 Jan 2008 12:39:36 -0500, tedd wrote:
>>>
>> > Nisse:
>
> Thanks again for your ti
HI!
I try to login and read ad email in server.
Does any one know how to do this?
Below does not run correctly.
Regards,
Yui
p.s
I try to see pop3 email.
I can not find the example!
>
>
> >
> > 2008/1/1, Richard Lynch <[EMAIL PROTECTED]>:
> >>
> >> PHP's IMAP module will cheerfully use POP if
Daniel Brown wrote:
if(!isset($key=='1')) //caused parse error
That's because isset() isn't able to eval() an expression.
Got it, I see the mistake now.
Remove the !isset() part, or the =='1' part and that will remove
the parse error.
I changed it to if(!isset($key)) and yo
On Jan 5, 2008 1:50 PM, A.smith <[EMAIL PROTECTED]> wrote:
> Hi Bastien,
>
> thanks for the suggestion, unfortunately I still have no page displayed...
>
>thanks Andy.
Are you restarting Apache after you've made the changes? Every
time you modify php.ini or httpd.conf, you have to resta
Hi Bastien,
thanks for the suggestion, unfortunately I still have no page displayed...
thanks Andy.
- Original Message
From: Bastien Koert <[EMAIL PROTECTED]>
To: A.smith <[EMAIL PROTECTED]>, php-general@lists.php.net
Subject: RE: [PHP] PHTML files showing as blank pages
D
this would be an html / js issue...
why have a popup login in this case? just show the logon in the main window and
then do the redirect...
bastien
> To: php-general@lists.php.net
> From: [EMAIL PROTECTED]
> Date: Sat, 5 Jan 2008 10:17:55 -0800
> Subj
Andy,
try this
AddHandler php5-script .php .phtml
#AddType text/html .php .phtml
AddType application/x-httpd-php .php .phtml .html .htm
bastien
> Date: Sat, 5 Jan 2008 14:39:49 +
> To: php-general@lists.php.net
> From: [EMAIL PROTECTED]
> Subject
Hello;
I have a login panel that is opened as a javascript window.
In the processing script, a successful login uses the
header function to send the user to the restricted content
index page.
But this page is loading into the javascript window instead
of the opener window of the browser. Is it po
- Original Message
From: Daniel Brown <[EMAIL PROTECTED]>
To: A.smith <[EMAIL PROTECTED]>
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHTML files showing as blank pages
Date: 05/01/08 17:48
>
>
> A decent HOWTO to setup Apache2 and PHP5 on *nix systems:
> http:/
On Jan 5, 2008 9:39 AM, A.smith <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having a problem getting .phtml files to display in a web browser. I
> can successfully display a test.php page as per PHP install instructions but
> the phtml files show up blank
> (in firefox or IE).
>
> I have added these
Hi,
I'm having a problem getting .phtml files to display in a web browser. I
can successfully display a test.php page as per PHP install instructions but
the phtml files show up blank (in firefox or IE).
I have added these entries to my apache httpd.conf:
LoadModule php5_module modules/libphp5.s
Hi,
I'm having a problem getting .phtml files to display in a web browser. I
can successfully display a test.php page as per PHP install instructions but
the phtml files show up blank
(in firefox or IE).
I have added these entries to my apache httpd.conf:
LoadModule php5_modulemodules/
On Jan 5, 2008 11:50 AM, Reese <[EMAIL PROTECTED]> wrote:
> Daniel Brown wrote:
>
> > Do you expect the value of $key in this condition to be a literal zero?
> > $twoyears = array('alphanumeric_code1', 'alphanumeric_code2',
> > 'alphanumeric_code3', 'alphanumeric_code4',
>
On Jan 5, 2008 12:06 PM, Alain Roger <[EMAIL PROTECTED]> wrote:
> Hi,
>
> let's imaging we have the following thing :
>
> www.mywebsite.com/company/index.php
> www.mywebsite.com/company/profile.php
> www.mywebsite.com/services/index.php
>
> how can i detect in which address am i ?
>
> for example h
Get the various parts from the $_SERVER superglobal variable:
1) scheme (e.g. http://) from $_SERVER['HTTPS'] (https if "on")
2) host:port (e.g. bucksvsbytes.com) from $_SERVER['HTTP_HOST']
3) /path/page?query part (e.g. /catalog/index.php?pid=444) from
$_SERVER['REQUEST_URI']
John Gunther
Alai
On Jan 5, 2008 12:05 PM, Børge Holen <[EMAIL PROTECTED]> wrote:
> On Saturday 05 January 2008 16:31:49 Daniel Brown wrote:
> > Had everything gone as it was supposed to, I think it would've
> > been welcomed with open arms. Unfortunately, my stupid ass flipped
> > the wrong flag while testing
On Jan 5, 2008 11:41 AM, peeyush gulati <[EMAIL PROTECTED]> wrote:
> Thank you will do that
>
> Ok can i redirect the response to the browser from the layer after my layer
> has recieved the response from the application.
Absolutely. That's the same premise under which the PayPal IPN
works.
Hi,
let's imaging we have the following thing :
www.mywebsite.com/company/index.php
www.mywebsite.com/company/profile.php
www.mywebsite.com/services/index.php
how can i detect in which address am i ?
for example how to retrieve www.mywebsite.com/services or
www.mywebsite.com/company
--
Alain
On Saturday 05 January 2008 16:31:49 Daniel Brown wrote:
> Had everything gone as it was supposed to, I think it would've
> been welcomed with open arms. Unfortunately, my stupid ass flipped
> the wrong flag while testing for approximately an hour, which sent
> posts to the list every minute f
On Jan 5, 2008 11:20 AM, Afan Pasalic <[EMAIL PROTECTED]> wrote:
> That was my thought too, but, when I create new folder - it will
> automatically create php.ini inside and there is no point of deleting them.
>
> HOW insecure it is? Because, since you know there is php.ini you can
> easy open ever
Thank you will do that
Ok can i redirect the response to the browser from the layer after my layer
has recieved the response from the application.
On Jan 5, 2008 10:05 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Jan 5, 2008 11:14 AM, peeyush gulati <[EMAIL PROTECTED]> wrote:
> > Thank y
this is how i solved my issue :-)
On Jan 5, 2008 4:28 PM, jeffry s <[EMAIL PROTECTED]> wrote:
>
>
> On Jan 5, 2008 7:36 PM, Alain Roger <[EMAIL PROTECTED]> wrote:
>
> > ok, maybe i did not write my question well.
> > i already used it because i setup the DirectoryIndex to index.php,
> > index.htm
On Jan 5, 2008 11:14 AM, peeyush gulati <[EMAIL PROTECTED]> wrote:
> Thank you for the reply
>
> But i am not asking for simple rediredtion. I am aware of the
> (header:"Location:url");
>
> From a layer i am sending a http_request to an existing application, now the
> application will response back
That was my thought too, but, when I create new folder - it will
automatically create php.ini inside and there is no point of deleting them.
HOW insecure it is? Because, since you know there is php.ini you can
easy open every of them (http://mydomain.com/gallery/images/php.ini) and
look. Isn't
On Jan 5, 2008 2:35 AM, Afan Pasalic <[EMAIL PROTECTED]> wrote:
> hi,
> after my host moved my account from old server (shared hosting) with php
> 4.4.7, mysql 4.x to new one with php 5.x and mysql 5.x. nice. they did
> it fast and without problems.
> but then I realized that every folder has it's
It's advisable as the page you will be redirected to will be relative to the
one the browser actually requested, so it's a good habit to get into.
On Jan 5, 2008 4:05 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Jan 5, 2008 10:59 AM, Dave Goodchild <[EMAIL PROTECTED]> wrote:
> > Also, supply
On Jan 5, 2008 10:59 AM, Dave Goodchild <[EMAIL PROTECTED]> wrote:
> Also, supply an absolute URL when using header redirects.
That's not necessary, as far as I know. Relative redirections
have always worked just fine.
--
Daniel P. Brown
[Phone Numbers Go Here!]
[They're Hidden From View!]
Also, supply an absolute URL when using header redirects.
On Jan 5, 2008 3:44 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Jan 5, 2008 9:06 AM, peeyush gulati <[EMAIL PROTECTED]> wrote:
> > Greetings on New Year :)
>
>To you, as well!
>
> > We have a script, say layer.php, which uses HTTP
On Jan 5, 2008 9:06 AM, peeyush gulati <[EMAIL PROTECTED]> wrote:
> Greetings on New Year :)
To you, as well!
> We have a script, say layer.php, which uses HTTP_REQUEST package to
> authenticate a user to an existing application (viz., wordpress,
> mediawiki etc.)
>
> I would like help on the
On Jan 5, 2008 9:03 AM, Balasubramanyam A <[EMAIL PROTECTED]> wrote:
> Hi all,
Hi!
[snip]
> while ($line = mysql_fetch_array($resultset, MYSQL_ASSOC)) {
[snip]
Just a side note: wouldn't it be easier to just use
mysql_fetch_assoc() ? It does the exact same thing, with less typing.
--
Had everything gone as it was supposed to, I think it would've
been welcomed with open arms. Unfortunately, my stupid ass flipped
the wrong flag while testing for approximately an hour, which sent
posts to the list every minute for one hour. However, they weren't
coming through at the time, a
Balasubramanyam A wrote:
> Hi all,
>
> I'm searching names from MySQL and printing it on a browser. Also,
> I've provided checkbox for all the rows and a delete button for a
> page. I want to delete the selected rows from MySQL when I click on
> the "Delete" button. How do I do that?
You process
Greetings on New Year :)
We have a script, say layer.php, which uses HTTP_REQUEST package to
authenticate a user to an existing application (viz., wordpress,
mediawiki etc.)
I would like help on the following two fronts:
1. How do I return the cookies, headers etc. from the layer (which are
bein
Hi all,
I'm searching names from MySQL and printing it on a browser. Also, I've
provided checkbox for all the rows and a delete button for a page. I want to
delete the selected rows from MySQL when I click on the "Delete" button. How
do I do that?
Here is the code which I used to print the rows a
Now i have chage the php scripts with the bellow script but appears the
bellow error.
Can anybody helps me please. I don't know how can i solve mi proble for
sending emails using php againts one postfix into one SuSE linux.
Thnaks
//script
' . "\n" .
'Reply-To: [EMAIL PROTECTED]' . "\n" .
Unless I misunderstand your question, this is normal behavior. The page
designer purposely enters the link in the simpler form:
http://www.zend.com/en/company
because the web server is configured to assume that index.htm is the
default page in that folder and correctly displays it.
Alain Roger
On Jan 5, 2008 10:36 PM, Alain Roger <[EMAIL PROTECTED]> wrote:
> ok, maybe i did not write my question well.
> i already used it because i setup the DirectoryIndex to index.php,
> index.html
>
> my concern for now, how to have the same behavior on my local computer
> (development computer) ?
> my
ok, maybe i did not write my question well.
i already used it because i setup the DirectoryIndex to index.php,
index.html
my concern for now, how to have the same behavior on my local computer
(development computer) ?
my computer has IP 200.170.1.2 (for example)
so in my brower i type : 200.170.1.
On Jan 5, 2008 10:23 PM, Alain Roger <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Serveral web sites have a menu and when you pass your mouse over a link, the
> browser statusbar only shows the folder where is located the file link, not
> the complete address including the file link.
>
> i mean if you take
Hi,
Serveral web sites have a menu and when you pass your mouse over a link, the
browser statusbar only shows the folder where is located the file link, not
the complete address including the file link.
i mean if you take web site : http://www.zend.com/en/
when you pass your mouse cursor over "Co
On Jan 5, 2008 9:14 PM, Yang Yang <[EMAIL PROTECTED]> wrote:
> hi,everyone,i am a newbuy for php world
>
> and i have a problem when i study php
>
>
> i want to make a script,it works for:
> a mysql table,like
>
> title authorcontentdate
> a1a2 a3 a4
> b1b2
> Once it settles down, it will run every Friday at 4:00p to
> summarize the week. For bragging rights, to keep track of how much
> time you've spent doing "community service" or whatever else.
Why? Does anybody really care how many emails they send to the list?
While I don't doubt your good
hi,everyone,i am a newbuy for php world
and i have a problem when i study php
i want to make a script,it works for:
a mysql table,like
title authorcontentdate
a1a2 a3 a4
b1b2 b3b4
..
and i want to use php ,select
56 matches
Mail list logo