It may be possible to do something of the following:
I know that on rollovers, Javascript can preload the images needed to
rollover to... Hmm... Maybe you could have javascript load an image
during the unload event with the image's src pointing to a php script...
-Jason Garber
At 04:51 PM
Hi,
can someone give me script for syntax check of username for mail server ?
Thanks,
Rosen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECT
Dear Philip,
Thank you very much,
I have lost long time proving different alternatives that it's better
not to implement. I prefer a safe code.
Thanks again!.
Cheers
Silvia Mahiques
"Philip Olson" <[EMAIL PROTECTED]> escribió en el mensaje
Pine.BSF.4.10.10
Use this:
- Original Message -
From: "Ozgur Demirtas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 9:47 AM
Subject: [PHP] redirecting the browser
> Hi all,
>
> I have a PHP script and at one point of the script I am trying to redirect
> my browser to a c
Hi, you can use Javascript as follows:
document.location.href='somepage.php';");
//continue yr code...
?>
Hope it helps.
- Mak
- Original Message -
From: "Ozgur Demirtas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 2:47 PM
Subject: [PHP] redirecting
Hi all,
I have a PHP script and at one point of the script I am trying to redirect
my browser to a certaion page. I can't seem to find an easy way of doing
this. header() call is so much of a problem. There is no such function like
redirect("...") as in ASP?
PS: I am using PHP version 3.09 as an
Hello all,
I am just configuring up a new web server, and I want to be able to run php
only in the web servers main document root and in specified virtual hosts, I
have a fair understanding on how to go about this, but would really like
some feedback before I get to far into it. Basically the onl
>From what I can tell, the only way you can execute a PHP script is to have
the browser request it. This means using the same window that the document
is being "unloaded" in, or opening a new window.
You could open a new window, give focus to the current window, and in the
new window, have it clo
Hi everyone,
I can use javascripts onunload to run PHP file with a new window.
Is there anyway i can run PHP script file on ONUNLOAD with out opening a new window (
in the back ground).
Any one's help will be greatly appreciated.
Best regards,
Hasan
--
PHP General Mailing List (http://www.
Hi all,
I have a need for a package mechanism like that provided by TCL. We
write a
lot of code in reusable libraries and often encounter the situation in
which
an application uses a particular library but requires at least version X
or
greater.
The require(), require_once(), etc. functionality
Well, not sure if this is a solution for you but I've done it with
something like this:
If ($Page == "Form") {
// Form itself with hidden field Page=Mailer
} else if($Page == "Mailer") {
// Send the mail
header("Location: youraddress?Page=Form");
};
Hope this helps.
Ni
> > datCurrent, intCurrentMonthDays and intWorkDays are local
> This didn't totaly help. This line I can't figure out:
> intCurrentMonthDays= Day[DateAdd["d",-1, DateAdd["m",1, datCurrent]]];
>
> Basically it gets the number of days in the current month, How to do
> in PHP?
Mr.Baseball,
have a
my understanding (and i could be totally wrong) is varchar only accepts
values up to 255 (so does char). To get larger than that you have to use
'text' (i.e. create table ( text not null..);
-Original Message-
From: Franco Breciano [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 2
You need to make sure you have a few things configured on you SMTP Virtual
server.
Start IISAdmin and right click on 'Default SMTP Virtual Server' then choose
properties.
Ok, from here, things might not match perfectly because i'm running Windows
XP (no i didn't pirate it, i work for microsoft).
Hi there,
I installed PHP 4.0.6 on a Windows 2000 machine running Apache 1.3.22.
I followed all the instructions for installation - added the php.ini file
to the C:\winnt directory, added php to httpd.conf. I tried both the module
and the CGI versions and the following problem still persisted:
On Wed, 24 Oct 2001 11:18:04 +1000, James Cave wrote:
>
>> I gave it a try
>> NN4.7 and 6.1 both ignored the 'display: inline' css in my test
>
>There was actually an error in the HTML I posted, try this:
>
>1. form tag outside of
>cell
>2. form tag outside of
>cell
>3. form tag outside of
>cell
>
Hi,
Now that emacs has tty color support, I'm trying to get it to do php
syntax highlighting through a windows telnet/ssh client like
securecrt or teraterm but I haven't gotten it yet. Has anyone got
this working?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
I'm using php to retrieve a Query from a SQLServer 7.0 database.
My code is this one:
$base = mssql_select_db($db,$conexion);
$sql="SELECT MarcasSolicitante FROM Marcas";
$result = mssql_query($sql,$conexion);
while ($myrow = mssql_fetch_array($result))
{
$mensaje= $myrow["MarcasSolici
This is probably the most challenging question I've ever seen come across
this list.
Can we get back to you on this one, Franco?
At 07:52 PM 10/23/2001, Franco Breciano wrote:
>a
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>F
a
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
a
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
At 17:16 23/10/2001 -0500, Wandrer wrote:
>> C/ Use a development environment made from PHP like Zope,
>> Midgard, et. al.
>
>Use Textpad as my development environment.
Ditto. Very nice.
>> D/ Can share with us a new direction in PHP that will keep it
>> compet
On Tue, 23 Oct 2001 16:35, Grant Walters wrote:
> I'm going nuts trying to work out how to handle errors from data
> statement with single quotes. PHP 4.0.6 appears to be mangling
> something somewhere.
> All statements work with the Openlink odbctest program
> Any help appreciated
>
> $conn = o
I want to know how many data can a session hold?
The number of bytes... and if possible the max size of an - let's say -
array of ints. I need this to know how many IDs I can hold in the session...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://ww
I have a page that calls a image creating script lots of times... this
script takes two parameters... the type of graph to be created and an array
with data to fill the graph to be created...
now I'm doing it like this:
">
and it generates an output something like this:
it works just fine.
> I gave it a try
> NN4.7 and 6.1 both ignored the 'display: inline' css in my test
There was actually an error in the HTML I posted, try this:
1. form tag outside of
cell
2. form tag outside of
cell
3. form tag outside of
cell
4. form tag outside of
row
5. form tag outside of
row
6. form tag o
On Wed, 24 Oct 2001 10:02, brendan wrote:
> Uni runs solaris/unix
> faculty runs iis
> world of political pain and anguish..
>
> view source brings up a blank screen ..
> ta
> brendan
>
OK - bit of straw grasping; you do have URL-fopen-wrappers enabled; try
assigning the result of the include to
At 15:47 23/10/01 -0700, Rasmus Lerdorf wrote:
>I have a couple of free days in Toronto Monday and Tuesday next week.
>Anybody able to gather enough of a crowd of interested bodies for a PHP
>tutorial? I'd say at least 10 for it to be worth my effort.
>
>-Rasmus
how about Rio, Brazil??
:))
__
Uni runs solaris/unix
faculty runs iis
world of political pain and anguish..
view source brings up a blank screen ..
ta
brendan
David Robley wrote:
> On Wed, 24 Oct 2001 08:03, brendan wrote:
>
>>Hi,
>> I have an issue with including a file accross my web server from a
>>separate
On Wed, 24 Oct 2001 07:03, [EMAIL PROTECTED] wrote:
> Hi all, I've got a question that I'm sure can be answered, but I'm a
> little stuck right now...
>
> I've set up yelvington's excellent annotate script, and it works
> beautifully. My next step was to try to add an auto email function to
> noti
On Wed, 24 Oct 2001 08:03, brendan wrote:
> Hi,
> I have an issue with including a file accross my web server from a
> separate site on that server served on another port.
>
> - explanation
>
> my php website runs off IIS port :80 (unfortunately IIS is employers
> decision not mine )
Neat! Unfortunately it looks like it designed simply to be able
to generate unique ids - this isnt much use to me unless I
have a way to query whether the request that generated the id
is still active.
Doesn't matter.
At 09:11 23/10/2001 -0700, Christopher William Wesley wrote:
>On Tue, 23 O
Hello,
Looking for statically linked pre compiled ImageMagic binaries (convert,
mogrify, ect.) to run from the cgi, with PHP exec on FreeBSD.
thanks,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Wed, 24 Oct 2001 09:14:07 +1000, James Cave wrote:
>
>> if your form is inside a table .. hide the tags
>
>In my experience, this just "moves" the closing whitespace to the
>end of
>the table (just like if you insert text incorrectly between a
>and a
>).
>
>The previous post I've made using t
The best way to do this is not to call them pick1, pick2, etc.. but call
them all pick[].
Here's an example:
St. Louis
Washington
St. Louis
Washington
Then in your PHP code you can do it like this:
$value) {
echo $value.'';
}
?>
or, if you prefer more traditi
Try:
ereg_replace("[^a-zA-Z]", "", $string)
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"
> -Original Message-
> From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 24, 2001 9:02 AM
> To: Jay Paulson; [EMAIL PROTECTED
Try using urlencode function to make it "usable" on url, so char symbols
like & or / or . (dot) will be returned by this funtion like a % with the
hex ascii code near by...
I hope this helps...
- en español... transandino compañero phpero
Intenta codificando para url, empleando la función ur
Greetings. I have been playing around with PHP this week, programming a
football pool. I have hit a small snag that I would like some assistance
with, if anyone knows the answer -- it's probably very simple, but my Intro
to PHP book does not tell me how to do it.
I have an HTML form in a PHP pa
would need to check, but:
preg_replace("/[^a-zA-z]/",'',$data)
should about do it...
jack
-Original Message-
From: Jay Paulson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 6:50 PM
To: [EMAIL PROTECTED]
Subject: [PHP] anyone have...
anyone have a function that strips out
Sounds tempting. Are ultra newbies welcome
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 6:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] In Toronto Next week
I have a couple of free days in Toronto Monday and Tuesday next week.
Anybo
Hi Rasmus,
I could not resist...How about to be here in São Paulo. I read that you
lived in Brazil , is this true???
Regards
Alex Piaz
Webmaster
Global Map Internet Marketing
http://www.globalmap.com
"Be cool or be cast out"
RC1
Argh! Well farfinugen! My f word for the day... Well i expect to see more
announcements the next time someone is in my area :) Although it will
change to San Diego soon so keep me informed!
Rick
>
>> So Rasmus.. how about coming to Portland, Oregon? I havent seen a PHP
>> class, tutorial, a
> if your form is inside a table .. hide the tags
In my experience, this just "moves" the closing whitespace to the end of
the table (just like if you insert text incorrectly between a and a
).
The previous post I've made using the "display: inline;" style is in
fact W3C compliant.
--
PHP G
Was there 3 months ago... ;)
On Tue, 23 Oct 2001, Jack Dempsey wrote:
> ok, how about DC ? :-)
>
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 23, 2001 6:54 PM
> To: Richard Baskett
> Cc: PHP General
> Subject: Re: [PHP] Portland, Oreg
ok, how about DC ? :-)
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 6:54 PM
To: Richard Baskett
Cc: PHP General
Subject: Re: [PHP] Portland, Oregon
> So Rasmus.. how about coming to Portland, Oregon? I havent seen a PHP
> class, tut
> So Rasmus.. how about coming to Portland, Oregon? I havent seen a PHP
> class, tutorial, anything in this area.. and I would love to attend one :)
I was there 2 months ago.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
So Rasmus.. how about coming to Portland, Oregon? I havent seen a PHP
class, tutorial, anything in this area.. and I would love to attend one :)
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Does anyone know of any active projects to port phpMyadmin to odbc, or
anything similar?
cheers,
andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mai
I have a couple of free days in Toronto Monday and Tuesday next week.
Anybody able to gather enough of a crowd of interested bodies for a PHP
tutorial? I'd say at least 10 for it to be worth my effort.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
$new = preg_replace('/[^a-zA-Z]/','',$old);
On Tue, 23 Oct 2001, Jay Paulson wrote:
> anyone have a function that strips out all the characters in a string that
> are no a-z or A-Z?
>
> thanks...
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
anyone have a function that strips out all the characters in a string that
are no a-z or A-Z?
thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EM
Hi,
I have an issue with including a file accross my web server from a
separate site on that server served on another port.
- explanation
my php website runs off IIS port :80 (unfortunately IIS is employers
decision not mine )
- I have a web spider running off port :
both w
PHP is getting HUGE!! look at the stats on http://www.php.net/usage.php
Speaks for itself...
A) I dont use any templates... i reuse my own code sometimes, but i mostly
do it all by hand.
B) I dont even know what FastTemplates is, hehe =P
C) ??
D) haha, keep it competitive? It's pretty much
At 03:00 PM 10/23/01 -0700, you wrote:
>Anyone noticed more or less PHP usage in customers/providers?
More. Vastly more.
>How many of you, who write in PHP;
> A/ Use templates at all.
Definately use templates.
> B/ Use Fast templates or an equivilent.
Code just about everythin
Hello All,
I just joined the list and would love to get hold of the archives in Unix
Mailbox Format. Does anyone know of a source?
Would anyone be willing to upload theirs onto my server via ftp?
Thanks,
--
Kevin Diffily
InterNetWorkingSolutions
Enterprise Class Solutions for All Enterprises
Anyone remember when Windows 2000, or the latest IIS from redmond killed a lot
of the Kerboros exchanges between TLD servers? They were testing their
'Passport' infrastructure, and bastardizing a standard the 'same old way'.
I'd like to store my bookmarks on my personal web site and be able to up
I love PHP/Apache/Linux/(and all its all the new apps, YEAH)/etc.
But my provider now advertised, "ASP NOW available!" I really don't plan on
helping [EMAIL PROTECTED]
However, I had a question for all of you here, or should I say several?
Anyone noticed more or less PHP usage in customers/prov
Hi all, I've got a question that I'm sure can be answered, but I'm a
little stuck right now...
I've set up yelvington's excellent annotate script, and it works
beautifully. My next step was to try to add an auto email function to
notify me when someone has posted a comment, and send me the ent
the first url uses the http protocal and will be proccessed
by your web server (PWS) the second url is a path to a local file
and will be returned to you by the native file system , thus php/PWS
is never invoked. This is how it is supposed to work.
juliet wrote:
> I use PWS on a Win 95; to be ab
Is there a way to detect, using PHP, if mySql is installed on a server?
Can a version # be determined also? I know this can be done using
phpinfo, but I don't want to use that approach.
Thanks,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Kurt Lieber wrote:
> Regarding shell access being a "security risk", ssh is far, far more secure
> than FTP can ever hope to be.
This is why there's FTP over SSH, or sftp.
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+---
On Tuesday 23 October 2001 12:29, Chris Lee wrote:
> I use proftpd, I can setup a chroot for the user that logs in, chroot them
> to their vhosts dir, move the mysql passwd file out of that dir. now anyone
> that ftp's in can not read the passwd. as for telnet (shell) access, its
> rare a user nee
I wrote some code that will grab the selected items and place them at the
top of the list, then list below that all unselected items -- it actually
works pretty well and is (of course) browser independent.
If anyone is curious on how this is done -- I've put some sample code below
as an example:
david,
the syntax needs a single variable there...not a list, or multiple
vars...plus, if you look at http://php.net/list, you'll see it returns
void, and foreach($table as void) doesn't make much sense...
jack
- Original Message -
From: David Otton <[EMAIL PROTECTED]>
Date: Tuesday,
I´m using post to send a variable between pages.
I have a variable value like that 'Jeff&Company', so i have in the
header :
loginok.php?client_id=14&client_name=Jeff&Company
Loginok page take the value at client_name as Jeff. Truncate the real
value.
How in can fix that?
Thanks in advance.
G
I need to upgrade the PEAR files for my PHP installation. Currently PHP is
compiled as a Dynamic Shared Object (DSO) for Apache.
I've found three copies of the PEAR.PHP file on my system
/usr/share/php/PEAR.php
/usr/lib/php/PEAR.php
/usr/local/lib/php/PEAR.php
how can I tell which one is bein
On Mon, 22 Oct 2001 16:47:56 +0200, you wrote:
>On Monday 22 October 2001 14:28, David Otton wrote:
>> why does this work:
>>
>> foreach ($table as $row)
>> list ($a, $b) = $row;
>>
>> but this doesn't?
>>
>> foreach ($table as list ($a, $b));
>
>because the correct syntax
Hello Jason,
your resource name from the query is '$result' not '$results'
change '$results' to '$result' on both lines.
/Merle
Tuesday, October 23, 2001, 5:07:37 PM, you wrote:
J> Ok I made the changes and now I am getting these 2 errors...
J> Warning: 0 is not a MySQL result index in search
One solution is to depend upon your defaults in "/usr/local/lib/php.ini"
. Then just call mysql_connect() with no arguments or just call
mysql_db_query with out the connection parameter and PHP will connect
for you. If you are connecting to different MySQL servers this solution
is not appropriate
I use proftpd, I can setup a chroot for the user that logs in, chroot them
to their vhosts dir, move the mysql passwd file out of that dir. now anyone
that ftp's in can not read the passwd. as for telnet (shell) access, its
rare a user needs that anyhow, if you feel your customers do need that, we
Just wanted to announce that we released version 2 of our Xtreme Locator
(dealer and e-directory) coded with PHP and using mySQL.
You can demo it at
http://www.iqservices.com/xlocator.html
Dan Hensen
IQservices.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
On Mon, 22 Oct 2001 22:09:56 -0700, Nick Richardson wrote:
>Hey everyone,
>
>Anyone out there know how i could do this:
>
>I have a client who is an import car tuner. They would like to
>feature the
>cars they work on in their website. Instead of creating a new .html
>or .php
>file for every car
OK, is there a limit on set_time_limit? The host of the site has a limit
of 30 mails a second to stop spamming. so I need set_time_out of 60
seconds, that will give me 90 seconds to send all the mail.
Gary
Tim Zickus wrote:
> On Tue, 2001-10-23 at 15:34, Gary wrote:
>
>>On sending a large nu
http://www.php.net/manual/en/function.imagetypes.php
On Tue, 23 Oct 2001, Chris wrote:
> Before creating a graphic, I would like to detect what type of graphic
> files are supported. For example if GD is enabled and GIF Support is
> available I'll create an GIF image. I know phpinfo() will tell
On Tue, 2001-10-23 at 15:17, Vinicius Tavares wrote:
>
> What I have to do to make the PHP4 run the DOM XML???
http://www.php.net/manual/en/ref.domxml.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
On Tue, 2001-10-23 at 15:34, Gary wrote:
> On sending a large number of newsletters out, how would you stop php
> from timing out if you do not have access to the .ini file?
http://www.php.net/manual/en/function.set-time-limit.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
On Tuesday 23 October 2001 11:20, Matt Williams wrote:
> Move it outside the document root
>
> or put a .htaccess file inside the dir to deny access. This will still
> allow system access but will prevent other fopen.
Either solution still allows anyone with shell access to the machine to read
y
I've installed ActivePerl, which gives me a way to run .pl files,
i.e. :
c:\> perl someprogram.pl
Does the Win32 php installation give me a command-line
interpreter like that?
Here's why I'm asking. I have a set of pages that I want to convert
to php, but I will also need to drop those pages
On Tuesday 23 October 2001 11:13, Andy wrote:
> Problem is, that I cannot see any solution to protect the value of $sDBpsw.
> Of course I wont set the value of $sDBpsw in the same PHP script. I do
> that including a file pa/pa.php (protected area) but this file also has to
> have read access to a
On sending a large number of newsletters out, how would you stop php
from timing out if you do not have access to the .ini file?
TIA
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact t
Move it outside the document root
or put a .htaccess file inside the dir to deny access. This will still allow
system access but will prevent other fopen.
M:
> In a PHP application using MySQL i have to connect the database using
>
> $iDBhandle = mysql_connect( $sDBhost, $sDBuser, $sDBpsw );
Before creating a graphic, I would like to detect what type of graphic
files are supported. For example if GD is enabled and GIF Support is
available I'll create an GIF image. I know phpinfo() will tell me this
but I don't want to burden the user with this check.
Any Suggestions?
Chris
--
P
What I have to do to make the PHP4 run the DOM XML???
thanks
Vinicius
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi friends
In a PHP application using MySQL i have to connect the database using
$iDBhandle = mysql_connect( $sDBhost, $sDBuser, $sDBpsw );
Problem is, that I cannot see any solution to protect the value of $sDBpsw.
Of course I wont set the value of $sDBpsw in the same PHP script. I do
that i
I would say this comes in a close second as the "most oft-asked question on
php-general", with the first, of course, being "What's a good text editor for
PHP?"
So, couple of suggestions:
1. Search the archives. You'll find a ton of information there.
2. Check out squirrelmail.org
--kurt
O
I found the following code currently used on our website to match a url
expression. Unfortunately, when I added a question mark, the webpage that
contained the url with the question mark just "hung" and would not load into
my browser at all. Currently, the url links only up to the question mark.
As of yet I have tried all sorts for date formating for the search field to
work. I.E. 2001-10-23, 10/23/2001, 10/%/2001, 10%, %10%, etc. The date
field in the database is stored as 10/23/2001 and yet when a user enters the
date and clicks the search button it does not display the results. I am
I have a (multiple selection) select list on my web page -- My pages are
setup with Save & Go Back buttons (through sessions) -- in IE when I select
multiple items (or any item) then go forward to the next page, then go
back -- the items are still selected, but the select list starts at the
top --
It is possible to utilize a VALUE attribute with a FILE type input
field. Even the specs at Blooberry list "value" as an attribute of the
input type=file field. I double-checked at w3c.org to make sure, though,
and found the information repeated there. I even checked my O'Reilly book
on XHT
Hello :c)
Any one know a good prebuild php web base mail
client that runs on win and linux server??? (not using any DB)
Thanks
Chrisrtian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
This is not possible. Default values cannot be set with type=file as if it
were it would be quite a security risk.A little more information on
the capability of this html form element:
http://www.blooberry.com/indexdot/html/tagpages/i/inputfile.htm
And a related RFC :
http://www.faqs.or
So do I:
echo "Mkt: " . mktime(0,0,0,1,1,1970);
echo "GMT: " . gmmktime(0,0,0,1,1,1970);
produces
Mkt: 0
GMT: -3600
BTW I'm running PHP under WinNT4.0
mktime -- Get UNIX timestamp for a date
(http://www.php.net/manual/en/function.mktime.php)
Returns the Unix timestamp corresp
Hi,
I can't print a default value in a INPUT tag with TYPE=file. INPUT tag has value
attribute, but it not apear in window box.
.
How can I print a default value?
Thanks,
Silvia Mahiques
On Tue, 23 Oct 2001, Brian White wrote:
> process ID belongs to Apache. What I was wondering was there any kind
> of ID that was attached to a particular CGI request that I could
> access and use?
Yes. Use the Apache module, mod_unique_id, and then in your environment,
$UNIQUE_ID will be availa
Both require() and include() are identical in every way except upon
failure, require will shout a Fatal Error while include provides a
Warning.
Fatal warnings don't allow the code to continue, Warnings don't have such
an affect.
The current include/require docs reflect the status of pre 4.0.2
This would be very good to access a Singleton with one user, but how would
it be done for all users to acess the same object. Is it possible to hold
and open file pointer in this object ?
Thanks,
Victor
-Original Message-
From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
Sent: terça-feira,
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
> function begin_month($timestamp)
> {
> $a = getdate($timestamp);
> return mktime(0, 0, 0, $a["mon"], 1, $a["year"]);
> }
>
> function end_month($timestamp)
> {
> $a = getdate($timestamp);
> return mktime(0, 0, 0, $a["mon"] + 1, 0
Use sessions (like session_start() )
--
Andrey Hristov
Web Developer
Icygen Corporation
BUILDING SOLUTIONS
http://www.icygen.com
On Tuesday 23 October 2001 11:55 am, you wrote:
> I'd like to to make a Singleton object in PHP4.
> I'm trying to use a static variable in a function to do that
I'd like to to make a Singleton object in PHP4.
I'm trying to use a static variable in a function to do that.
Every time I use the reload in the Browser client, the file doesn't seem to
keep the information (I kind of expected that).
I could think only 2 ways to do t
Hi all
Thanks for all the help. told u my mistake was stupid!
looks like mysql dosent like ';' at the end of the
query! who would've guessed that!
thanks all (for being so patient)
Srinivasan Ranganathan
*NEW* Connect to Yahoo! Mess
1 - 100 of 143 matches
Mail list logo