On Sat, Mar 24, 2001 at 08:50:16AM +0100, Rol wrote:
> I did notice that the session id is also written to the /tmp folder. Linux
> mandrake.
If php doesn't set a cookie to save the session-registered variables it stores
them in the locatin set in the php.ini (which is by default /tmp)
> Things
but i am not talking about running a server, i am just using php on server
space that has php installed.
what code would i incluse to get rid of this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello!
I don't think that's the solution to my problem. I have a weeknumber, and I
need the dates of the days in that week. With strftime gives the weeknumber
for a certain date; its a bit clumsy to check all dates in a year to see if
the happen to fall in the week I need :). Any other solutions?
1) if you are running it on linux(web server ) it will cost you about 2000$
at least to connect it , and you will have to use odbc for linux,
2)if you are using ms web server then you have to enable support for that in
php3.ini but usualy this way is not good, i usualy had problems with that
and i
Hi,
that's my paht:
./Webpages/Kalender/php.php
The value of PHP_SELF in php.php is:
/Kalender/php.php/Kalender
How can I fix this Problem? I have PHP 4.04pl1 CGI, Windows ME.
THX Tommy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
> -Original Message-
> From: adam [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 24, 2001 1:43 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] i get this for some reason
>
>
> but i am not talking about running a server, i am just using php on server
> space that has php installed.
>
>
Actually, OpenLink's ODBC drivers can get you connected from any UNIX to MS
SQLServer, and start out at free of charge for 2 concurrent database
sessions. This also includes free support. The commercial pricing for
higher concurrent database connections starts at $675.
The free download is avail
Hello
Thanks t all people that reply my last message about a msSQL server,
But now I got a new problem, my server was running php3 and today i try
to update to php4 with apache 1.3.19 and all file .php3 and php4 don't
work, the php only make a echo with all code and the php3 ask for a
applicat
Is it possible using PHP to print a single line of text to a browser,
have a second or two delay and then print the next line, etc. etc.?
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To con
Hi,
I`m not sure if this is 100% the right method but you can try it and see.
Change httpd.conf to the following.
AddType application/x-httpd-php .php .php3
Ade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
In a message dated 24/03/2001 14:47:03 GMT Standard Time, [EMAIL PROTECTED]
writes:
<< Is it possible using PHP to print a single line of text to a browser,
have a second or two delay and then print the next line, etc. etc.?
Greg >>
Hi,
You can use the following commands:
sleep(seconds);
Well it work partial, the .php now works but .php3 doesn't work Any
other ideas?
Thanks
Mauricio Alarcon
[EMAIL PROTECTED] wrote:
> Hi,
>
> I`m not sure if this is 100% the right method but you can try it and see.
> Change httpd.conf to the following.
>
> AddType application/x-httpd-php
to go along with this, check out :
Output Control Functions :
http://www.php.net/manual/en/ref.outcontrol.php
and some interesting ones in the Misc section :
Miscellaneous Functions :
http://www.php.net/manual/en/ref.misc.php
links to a few tutorials are listed in ocf section. speaki
On Sat, Mar 24, 2001 at 10:49:57AM -0500, Mauricio Alarcon wrote:
> Well it work partial, the .php now works but .php3 doesn't work Any
> other ideas?
make two lines out of it:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
and so forth.
-fkr
--
gpg-fingerprint:
Is there an easy way to create random numbers and letters for a file example
http://www.mydomain.com/1w2e3rff.txt
and then after they download it have it be deleted off the server?
thanks
randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Hello Everyone!
We need something that is probably very simple.
Here is what we are doing.
We created a form that asks a series of questions about the product we
are looking at, such as : Name, Condition, Weight, etc. We then put all
of the information in a MySql database. Then sedn the varia
Hello,
I use a random password function to do just that,
function randomPassword($length = 8) {
// all the chars we want to use
$all = explode( " ",
"a b c d e f g h i j k l m n o p q r s t u v w x y z "
. "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z "
.
php-general Digest 24 Mar 2001 17:39:19 - Issue 586
Topics (messages 45411 through 45433):
i get this for some reason
45411 by: adam
45414 by: adam
45415 by: Rasmus Lerdorf
45418 by: adam
45422 by: Jason Lotito
Re: installation problem
45412
> You can use the following commands:
>
> sleep(seconds);
> usleep(microseconds);
I've tried those 2 functions, in an example like this:
PRINT "This";
SLEEP(2) ;
PRINT "Is a";
SLEEP(2);
PRINT "TEST";
But the way it works in the browser is to wait for a total of 4 seconds
and then it displays
I may be wrong about this, but I'm pretty sure that, being server side, PHP
sends the HTML to the browser all at once...also, the browser needs a static
HTML page to load up...it can't take a line and output as it goes...maybe
i'm wrong, but i thought that was basically how it works, so you couldn
Sure - use md5()
--Joe
On Sat, Mar 24, 2001 at 12:05:49PM -0500, Randy Johnson wrote:
> Is there an easy way to create random numbers and letters for a file example
>
>
> http://www.mydomain.com/1w2e3rff.txt
>
> and then after they download it have it be deleted off the server?
>
>
> than
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Greg Scott) wrote:
> > sleep(seconds);
> > usleep(microseconds);
>
> I've tried those 2 functions, in an example like this:
>
> PRINT "This";
> SLEEP(2) ;
> PRINT "Is a";
> SLEEP(2);
> PRINT "TEST";
>
> But the way it works in the browser is
Hello List!!
My intention is to read out the apache log files (like access.log etc) for
making stats about pages hits/visits. Surely, there are some scripts
(webalizer) to do this, but i can´t find scripts which are written in php.
Has someone a script example?
Thank you!
Andre
--
PHP General
> You might try using flush() after the prints.
>
I tried that too, but at least in Netscape 6, it still waits until
everything is done before displaying. I think Jack must be correct that
this isn't possible for browser display.
Thanks,
Greg
--
PHP General Mailing List (http://www.php.net
On Sat, Mar 24, 2001 at 08:04:56PM +0100, Andre wrote:
> My intention is to read out the apache log files (like access.log etc) for
> making stats about pages hits/visits. Surely, there are some scripts
> (webalizer) to do this, but i can´t find scripts which are written in php.
> Has someone a
Speaking off the top of my head, seems like a combination of html meta
refresh and a variable that increments based on HTTP REFERRER=PHP_SELF could
provide the effect you're looking for. Certainly you could meta refresh to
new pages in sequence. Or of course just use an animated gif if static tex
Hi
Is it possible to do text fading with PHP. For instance, I want to one line
of text fade in, have another line fade in later, and a third line after
that. Then all three lines will fade out at the same time and start over
with three different lines. Is this possible with php?
Thanks
Jamie
I don't know if this will be helpful but you can look at this
JavaScript code:
http://www.webdesigns1.f2s.com/js_typing_text.php
---
Jeff Oien
PHP >start here
http://www.webdesigns1.com/php/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Greg Scott) wrote:
> > You might try using flush() after the prints.
> >
> I tried that too, but at least in Netscape 6, it still waits until
> everything is done before displaying. I think Jack must be correct that
> this isn't possible for
Umm, what exactly are you talking about?? I'm not sure how you could have
gotten PHP confused with Flash, but if you want to "fade" text, you need a
graphics program, like flash, not PHP.
www.macromedia.com
jack
-Original Message-
From: Jamie Anderson [mailto:[EMAIL PROTECTED]]
Sent: Sat
H-
Go here.
http://www.dynamicdrive.com/
This site has a lot of free code that does fancy html stuff.
It'll even tell ya which browsers the code is compatible.
Later,
-Sterling
Jack Dempsey wrote:
>
> Umm, what exactly are you talking about?? I'm not sure how you could have
> gotten PHP
romolo Sat Mar 24 10:36:43 2001 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Solved bugs #9746 and #9937, pg_close was closing twice the default conn.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.93 php4/ext/pgsql/pgsql.c:1.94
-
cox Sat Mar 24 10:56:25 2001 EDT
Modified files:
/php4/pear/DB STATUS ifx.php
Log:
Minor fixes
Index: php4/pear/DB/STATUS
diff -u php4/pear/DB/STATUS:1.16 php4/pear/DB/STATUS:1.17
--- php4/pear/DB/STATUS:1.16Fri Mar 23 23:00:45 2001
+++ php4/pe
chregu Sat Mar 24 12:00:03 2001 EDT
Added files:
/php4/pear/Experimental/XML sql2xml.php sql2xml_ext.php
Log:
First Commit of the sql2xml classes.
This class takes a PEAR::DB-Result Object (or more than one) and returns a
xml-representation of it.
adaniel Sat Mar 24 13:09:00 2001 EDT
Modified files:
/php4/pear/HTML Common.php
Log:
removed extra whitespace
Index: php4/pear/HTML/Common.php
diff -u php4/pear/HTML/Common.php:1.6 php4/pear/HTML/Common.php:1.7
--- php4/pear/HTML/Common.php:1.6 Fri Ma
So tell us?
Mike
-Original Message-
From: Jesper Blomstrm [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 4:51 PM
To: [EMAIL PROTECTED]
Subject: SV: [PHP] PHP vs Servlet
I found out how to do it.
Thx anyway
/ J
Jesper Blomström <[EMAIL PROTECTED]> skrev i
diskussionsgruppsme
sbergmann Sat Mar 24 13:38:58 2001 EDT
Modified files:
/php4 php.ini-dist
Log:
Added php_dbx.dll.
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.74 php4/php.ini-dist:1.75
--- php4/php.ini-dist:1.74 Tue Mar 20 14:45:10 2001
+++ php4/php.in
Hello,
I recently wrote a (yet another) mailing portal which takes a certain
action based on the contents of a hidden form field (i.e. if state==deliver
then deliver mail to the recipient). Although I am certain the code
could be better etc. etc. it works fine. I tested it on a Linux box
runnin
sbergmann Sat Mar 24 13:40:26 2001 EDT
Modified files:
/php4/pear Makefile.in
Log:
Added missing files.
Index: php4/pear/Makefile.in
diff -u php4/pear/Makefile.in:1.73 php4/pear/Makefile.in:1.74
--- php4/pear/Makefile.in:1.73 Mon Mar 12 11:35:28 2001
++
jon Sat Mar 24 13:48:42 2001 EDT
Modified files:
/php4/pear Makefile.in
Log:
Install the Informix database implementation.
Index: php4/pear/Makefile.in
diff -u php4/pear/Makefile.in:1.74 php4/pear/Makefile.in:1.75
--- php4/pear/Makefile.in:1.74 Sat Mar
Use persistent connections it's a matter of performance of your script.
When you use persistent connections the next call to mysql_pconnect will
catch a opened connection if available. The mysql_connect command always
open a new connection which slower than get an opened one. Anyway you can't
use
TIA,
What you described is not possible. When you create that connection to the
mysql server, that connection dies when the script ends...
As far as persistent connections go, you will always call the code to create
the connection, but that connection lives on in that apache child process
until t
Hi,
point the link "save this..." to the same script with some trailling vars:
...
and then, in the beginning of this_script.php modify the mime type if
$HTTP_GET_VARS["save"] == 1
if ($HTTP_GET_VARS["save"] == 1) {
header("Content-type: application/octect-stream");
}
...thats it!
r
is there a way to get last inserted id from oracle as
mysql_inerted_id() or
SELECT @@IDENTITY AS LastId
in mssql server
i have a function that does only that, takes insert statement and returns
last id, but this function have to work for all tables (different triggers
in oracle) , right now the
i think you need DHTML or flash
almir
""Jamie Anderson"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
99is88$m8a$[EMAIL PROTECTED]">news:99is88$m8a$[EMAIL PROTECTED]...
> Hi
>
> Is it possible to do text fading with PHP. For instance, I want to one
line
> of text fade in, have another line fade i
is it realy everithing that you get from php or there is something missing ?
i mean usualy it helps basename() or base_name() cant remmember now
try it, but in your case it seems differently
almir
""Tommy"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
99i3q7$57q$[EMAIL PROTECTED]">news:99i3q7$57q
$text=stripslashes($text);
almir
""Jason Lotito"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > -Original Message-
> > From: adam [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 24, 2001 1:43 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re:
check if the area you are filling with another colour is realy closed,
maybe send a url to that it could help
almir
""Kevin Rose"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
000c01c0b3b7$87a071c0$8105a8c0@kevin">news:000c01c0b3b7$87a071c0$8105a8c0@kevin...
Hello,
I am using GD v. 1.8.3, freety
simply insert disk2 into flopy and press any key to continue
almir
""Chris Lee"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
99fq6b$acv$[EMAIL PROTECTED]">news:99fq6b$acv$[EMAIL PROTECTED]...
wow thats a vague question :)
are you trying to display them to the user?
echo "
";
or are
folks,
i installed php4 by a RPM, it wasn't compiled --enable-gd-imgstrttf ,
so, when I use a function like
ImageTTFText(), it returns me the text mirrowed (inverted like a mirror)
and the angulation doesn't work right...
but, when I try to compile the tar.gz php installation,
it don't let me com
write
insert into new_table (val1, val2)
select from old_table
val1, val2 where id=kdsaflkj
and execute it with php like any other statement
almir
ps. but checking mysql.com helps, there are lot of other interesting things
""YoBro"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
99e1q7$gv8$[EMAIL
hi all, I'm trying to change which function is called at runtime:
e.g.
page1.php:
include "functions_def.inc.php"; //contains definition for mod_news()
$module = "mod_news()"; //for example - gets assigned by case statement
include page2.inc.php
page2.inc.php:
the page shows "mod_news()"
$module = "mod_news";
echo $module();
i think that's it.
or:
$module = "mod_news()";
eval("echo ".$module);
I think the former is faster.
-aaron
At 7:16 PM -0500 3/24/01, Jaxon wrote:
>hi all, I'm trying to change which function is called at runtime:
>
>e.g.
>page1.php:
>
>include "functio
On Sat, 24 Mar 2001, Mauricio Alarcon wrote:
> I put this line in httpd.conf but dont'work
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3-source .phps
> AddType application/x-httpd-php .php
> Action application/php4script /cgi-bin/php
>
> What I'm doing wrong?
I sug
Is there anyway to include attachments in mail() function?
If you give a small example, it will be great.
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,
Hi,
I believe I am missing some configuration regarding my apache becouse
I can only get php to work inside a file .php.
If my page extension is .html, nothing happend with the php script; but
just changing from .html to .php everthing works fine.
Anyone? Anyhelp?
I'm new over php. I usually d
Apache needs to be told what files should be parsed as php. If php is the
only one working, then that means you have only php (maybe php3) listed in
your apache configuration. If you wanted parse every single html file (which
has been discussed in this list before--check the archives) then you wou
thanks a bunch ^^ it works great
--
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]
Yes, I have. And I wouldn't mind getting rid of that :-)
> -Original Message-
> From: Kevin Rose [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 9:37 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Image background bleeding through text
>
>
> Hello,
>
> I am using GD v. 1.8.3,
I'm not sure about including them in the mail function as such, but it can
certainly be done using one of several mime_mail classes that are around.
I don't have one handy right now but you can find them by searching the
php archives
and/or the annotated php manual. I know the one by Schumann and
Hi,
i'm running php3 3.3.0.18 on Debian (but i had the same problem with
Red Hat) w/ Apache 1.3.14.
(the same code with php3 3.3.0.16/15 was working finethen did i
uppgrade... I had too:-( )
I had a simple, or what i expect to be simple.., call:
(it just check temperature in a city..
I've defined all the variables in the form, and have all the files..
Submit News
Your news has been processed and added to the main page. Thanks!
See any problems? It won't dump $frmName onto the .txt file.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAI
php-general Digest 25 Mar 2001 06:01:39 - Issue 587
Topics (messages 45434 through 45470):
Re: [PHP-DB] connection id
45434 by: JJeffman
Re: Delaying Printed Output
45435 by: Greg Scott
45436 by: Jack Dempsey
45438 by: CC Zona
45441 by: Greg Scott
Here's what you wrote, 01.03.24:
>Hi
>
>Is it possible to do text fading with PHP. For instance, I want to one line
>of text fade in, have another line fade in later, and a third line after
>that. Then all three lines will fade out at the same time and start over
>with three different lines. I
I guess its for make use of cookie's secure option. (Send cookie only when
encryption (SSL) is enabled)
I haven't look into code, so I can be wrong.
--
Yasuo Ohgaki
"Michael Champagne" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I noticed the setting sess
if($formSubmit) {
echo "form submitted: $frmName"; //<= have you tried this to make sure
$formSubmit is true?
$newsSubmit = file("news.txt"); //RTM, your not using file() the way it's
inteneded.
$fp = fopen("news.txt", 'a'); //looks good
fwrite($fp, $frmName); //looks good, but does $frmNam
I've been trying to compile php4 on Windows.
Almost there, but I haven't figured out how to resolve this, except to yank
COM stuff out of the source.
Haven't figured out how to compile oci8 either, but that's secondary to the
initial obstical.
With RC1 and the latest snaps, there are unresolved
67 matches
Mail list logo