Of course, you have this code:
> while ($prescene2 == 0) {
> $i=$i+1;
> }
Where $prescnene2 is not modified, hence you get an
endless loop. When you increase the timeout, that loop
just gets longer to run.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
That's becuase the cookie variable is not available to PHP until the next
page load. It's a limitation of cookies/HTTP not PHP.
On Mon, 29 Jan 2001, Eugene Yi (InfoSpace Inc) wrote:
> Thank you for your feedback! I tried it but it didn't make a d
$today = getdate();
$month = $today[month];
$mday = $today[mday];
$year = $today[year];
print "$month $mday, $year";
-Brian
**
> -Original Message-
> From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 28, 2001 2:32 PM
> To: [EMAIL PR
Thank you for your feedback! I tried it but it didn't make a difference. I
printed the var right after the set and it returns null.
setcookie("cbcookie1",$domain,0,"/","mydomain.com");
$domain = $HTTP_COOKIE_VARS["cbcookie1"];
echo "domain($domain)";
> -Origin
Well if your using .inc then your probably including
this into a php file via include "config.inc";
in which case it will become part of a php file so
yes it will be parsed.
If your trying to run it as a standalone then that
will depend on your web server config and which
files you've told it to
Hey, have you tried just a static .html file, no php anywhere?
-Jonathan
-Original Message-
From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 28, 2001 12:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Apache/PHP Configuration Problem on NT5
I have set up an ErrorDocument 4
andrei Mon Jan 29 14:28:34 2001 EDT
Modified files:
/php-gtk/test gtk.php
Log:
Test.
Index: php-gtk/test/gtk.php
diff -u php-gtk/test/gtk.php:1.1.1.1 php-gtk/test/gtk.php:1.2
--- php-gtk/test/gtk.php:1.1.1.1Mon Jan 29 14:15:58 2001
+++ php-gtk
andrei Mon Jan 29 14:28:18 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
D'oh.
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.62 CVSROOT/avail:1.63
--- CVSROOT/avail:1.62 Mon Jan 29 14:26:11 2001
+++ CVSROOT/avail Mon Jan 29 14:28:18
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 29 Jan 2001, Eugene Yi (InfoSpace Inc) wrote:
> I set up a cookie using the following command and it works fine under IE but
> not in Netscape. Am I doing something wrong?
>
> setcookie("mycookie[1]",$domain,"","/","mydomain.com");
Should
andrei Mon Jan 29 14:26:12 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
Karma for php-gtk.
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.61 CVSROOT/avail:1.62
--- CVSROOT/avail:1.61 Sat Jan 27 19:36:22 2001
+++ CVSROOT/avail Mon Jan
> Does anyone know why the list keeps going down ?
It hasn't happened for a while until now - I wouldn't worry myself
too much over it :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
hi all,
when i am trying to calculate the number of rows with a '0' in a
particular column using the following code, it is giving the 'Maximum
execution time exceeded' message, eventhough after i gave
set_time_limit(60), it didn't worked, infact now it is even worse the
browser is getting siezed.
I want to put the php.ini in /etc/php
Which argument do I have to attach to ./configure --?=/etc/php to accomplish
this ?
THX
--
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 admi
John,
There are various reasons why what you suggested will not happen, if you
really want to see why look in the archives there are plenty of posts. You
have a delete key so use it.
Rasmus already has Spam filters for the list but they only block certain
email address' these are added, blocking
I was wondering if anyone has set it up from a website. the problem i am
having is it does send the comfirmation back
i have
mail("$majordomo", "", "$action $list $email","From: $email");
where $action is subscribe or unsubscribe and $list is oe they pick
Thanks
ALan
Does anyone know why the list keeps going down ?
The last PHP List email I received was at 6 o clock my time Sunday morning,
until a few minutes ago. Its not the first time it has happened.
Has the list gone down for anyone else ?
Adrian
--
PHP General Mailing List (http://www.php.net/)
To
You have to set up the webserver to accept .inc files as php scripts.
The example you gave isn't actually running the function it's just
defining it.
If you include the .inc file in a .php file, it'll run whatever's in it
as if it were part of the php file.
If you directly call the .inc file fro
Take a look at the domxml extension code, for one example. There are other extensions
that do this as well.
John
On Mon, 29 Jan 2001 [EMAIL PROTECTED] wrote:
> Hello,
>
> Does anyone know how to take a PHP class and move it directly into PHP's C
> code, OR (even better) to move it into C co
sniper Mon Jan 29 14:13:38 2001 EDT
Modified files:
/php4/ext/zziplib .cvsignore
Log:
a little cleanup..
Index: php4/ext/zziplib/.cvsignore
diff -u php4/ext/zziplib/.cvsignore:1.1 php4/ext/zziplib/.cvsignore:1.2
--- php4/ext/zziplib/.cvsignore:1.1 Tue No
> There's a very cool service out there, you can go to for instance
> ba.whois-servers.net to find server for .ba.
>
> So you can basically go to ${TLD}.whois-servers.net to find server for
> $TLD.
The trouble is that it's not really current.
[jason@phpdev jason]$ nslookup es.whois-servers.net
I don't know if anybody is curious or not, but I found my own problem...
I changed the following code:
$cVar = addslashes( $qrNews[$cContentField . "Text"] );
eval( "" );
to:
$cVar = $qrNews[$cContentField . "Text"];
eval( $cVar );
SO basically I removed the addslashes() (which I thought were
I have searched the archives, php.net and zend.com, and cannot seem to come
up with an answer as to why this isn't woking...
I have the following code snippet stored in a database, and I'm trying to
eval it with this line of code:
$cVar = addslashes( $qrNews[$cContentField . "Text"] );
eval( ""
I haven't received any emails from this list in over 24 hours... is it down
or it it me just not receiving them
Joseph E. Sheble
[EMAIL PROTECTED]
Wizaerd's Realm
http://www.wizaerd.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
Does anyone know why the list keeps going down ?
The last PHP List email I received was at 6 o clock my time Sunday morning,
until a few minutes ago. Its not the first time it has happened.
Adrian
$file_name is just a name that scripts offers to the users in 'save as' dialog.
If you want to let them download a 'real' file, you have to use
fopen()/fpassthru() (or anything else you can think of, in order to open a file
and print it's content)
and fopen can take URL as an argument.
HTH,
Boj
Are you including php.h or zend.h? Those macro's should be defined and they
are used in lots of places. Look at zend.h
Let me know of your progress.
Thanks,
Andi
At 03:41 AM 1/28/2001 +, Harald Radi wrote:
>phanto Sat Jan 27 19:41:43 2001 EDT
>
> Removed files:
> /php4/ext/co
Anyone out there that can help before my brain gets to hot?
http://www.sakshaug.net/phps/loop.phps
I have tried many different ways, but i'm for sure that you have to use
recursive function for make this one...
for ($iamgoingtomakeit=1; ;;) { echo "I'm going to make it!!!"; }
*take c
I set up a cookie using the following command and it works fine under IE but
not in Netscape. Am I doing something wrong?
setcookie("mycookie[1]",$domain,"","/","mydomain.com");
Please help me. Thanks much in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Frank Joerdens wrote:
> On Fri, Jan 26, 2001 at 11:01:14AM +, Nuno Silva wrote:
> [ . . . ]
>
>> i ran across this transaction problem vs. persistent conn in pgsql some time ago.
>>
>> I found two workaround methods:
>> - don't use persistent conn's :-) or;
>> - start every conn with the us
Hey all, I've come to the realization that if I intend to be able to write
a file to disk AS it's being uploaded via http, I will need to modify the
PHP source directly. Just wondering, anyone know in what source file I
should be looking for the HTTP UPLOAD handling code, I've looked through
q
phanto Mon Jan 29 13:54:53 2001 EDT
Modified files:
/php4/ext/dotnetdotnet.cpp
Log:
use *_EXTERN_C() and PHP_WIN32
Index: php4/ext/dotnet/dotnet.cpp
diff -u php4/ext/dotnet/dotnet.cpp:1.2 php4/ext/dotnet/dotnet.cpp:1.3
--- php4/ext/dotnet/dotnet.cpp:1.2
phanto Mon Jan 29 13:54:10 2001 EDT
Modified files:
/php4/ext/com typedef_VARIANT.c php_typedef_VARIANT.h php_COM.h
conversion.h conversion.c COM.cpp
Log:
use *_EXTERN_C() and PHP_WIN32
Index: php4/ext/com/typedef_VARIANT.c
diff
Can anyone tell me why this piece of code is not working - I'm finding that
if I pass values rather then the HTTP_COOKIE_VARS["cookiename"] to the
function it seems to work but I want to have this value a variable cookie
(for obvious reasons). I cannot seem to find any more information on this
fu
This isn't going to work the way it's set up now. Javascript is
processed by the visitor's browser, while PHP is processed by the server
before the page is ever sent.
So in essence, PHP doesn't care one bit what anything outside of the
tags does. Therefore, you're instructing PHP to do this:
ma
On Sunday 28 January 2001 03:57, [ rswfire ] wrote:
> 1. Why does $PHP_SELF include /php/php.exe in the variable? How can I
> stop it from doing that?
You're using PHP as CGI. Try using the shared module.
> 2. Same thing with $SCRIPT_NAME as $PHP_SELF except it does not
> include the filenam
I haven't received mail from the PHP list since the 27th. Is it down?
Please respond to:
[EMAIL PROTECTED]
Thank you.
Karl
--
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 admin
Is this a never expiring cookie, or a "per" session cookie? I want to
create a never expiring cooky.
SetCookie ("MyNeverExpiringCookie", "This cookie should never expire");
Thanks!
Karl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
I normally solve this problem by doing a "< 10" test, on the assumption it
is quicker. Something like
for ($i=00;$i<$daysinmonth;$i++)
{
$str_i= (string) $i;
if ( $i < 10 ) { $str_i = "0$str_i"; }
if ($i == $day)
{
echo("$str_i\n");
}
e
When doing this does the $file_name have to be in the current directory or
can it be a URL?
- Original Message -
From: Bojan Gajic <[EMAIL PROTECTED]>
To: Natasha <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 27, 2001 2:13 PM
Subject: Re: [PHP] Sending Download Head
Thanks a lot. I knew that, but last night I was just really tired :). I wasn't
actually copy-pasting the code I had, so what I had at the time was correct as for
case. As for assigning the ereg_replace to a variable, I figured that out about 20
minutes after i sent out my last mail last nigh
hi all,
can .inc file run scripts...
example...
//config.inc
function watever()
{
//do something
$var = something;
return $var;
}
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Changes:
- added ability to specify template and compile directory locations
independently.
- misc documentation updates & additions
http://www.phpinsider.com/php/code/Smarty/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
1.
$date = "20010101";
How could I output 01 01 2001 (or make it 3 variables, like day, month, year)?
2.
What is the best way to encrypt (using PHP and MySQL)?
Could you please answer me directly by mailadr. ([EMAIL PROTECTED]), because I'm
currently not a member of this list at home!
--
Does anyone know of a script that will take data from XML/RDF news feeds and
automatically INSERT into a MySQL database? I have a news script that I can make
changes to, but I would also like to be able to automatically insert data into the
database that my news script is running on.
Hello,
Does anyone know how to take a PHP class and move it directly into PHP's C
code, OR (even better) to move it into C code that compiles in a separate
binary object (e.g. myobj.o), and is then linked to the php executable (or
httpd executable)?
For example, how can I move this code into
Hello, I know this question is out of PHP, but I'll very appreciate if some
guru here could help me out.
I have a link, which will pop up a new window, but the problem is: I don't
know how to resize the new popped-up window.
My code is like this:
intel connection
Thank you very much in ad
Hey all,
I heard somewhere (I think) that it's possible to import a Microsoft Access
file (when saved as a delimited text file) into a MySQL table Just
wondering whether or not this is true, and if it is, where I might find a
tutorial / some literature on how I might go about doing it.
Than
Hi!
i still have'nt found the php_oracle.dll file !
i've checked in php4win.de but in vain!
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/
Hi,
We are currently configuring PHP4.0.4 with MySQL and Apache.
We *need* to access MySQL via ODBC as well.
Which is the best thing to do? There are many options of different ODBC drivers that
can be configured, like 'iodbc' or 'openlink' from Openlink or unixODBC.
Which driver is best? Wh
I have set up an ErrorDocument 404 in httpd.conf to point to a PHP file in
the root of my documents. It was working, now suddenly it has stopped
working. Here's the scenario:
When I attempt to view a page that is not there, I receive a 500 Internal
Error Message, as follows:
===
G'day PHP'ers
I am trying highlight the results from a search, so far I have this working but only
if the string is an exact match ie: case sensitive, for example:
" . $val . "";
$replaced = ereg_replace($val, $hilite, $data);
}
echo $replaced;
?>
Now as metioned this seems to work only for "
Hi!
What's best ? using client script while validating form inputs(javasript or
vbscript) or using php for validating!
with the first way, i can trigger alert ! however with the second one, i
have to show up a whole page for just saying that there are errors, go back
to the form !
any ideas ?
t
Hi
is the following right?
ereg("[a-zA-Zéêèë\sbàäïüöûâç-]", $firstname)
cause even when i type a number it accepts it ! however i want only letters
- and space !
thanks
_
Get Your Private, Free E-mail from MSN Hotmail at htt
I am about to build my own shopping cart but would like some feedback on the
following:
1. Using arrays stored in a PHP4 session vs. a database for storing cart
details.
2. What is the best method of passing session data if cookies disabled.
I hope you can help...
Matthew
--
PHP General Mail
hi!
do someone knows how to trigger a php file from outlook?
i have an html file where user adds his email address, if the email does not
exist, a mail undelevery will be recieved in a certain email address, so
what i like to do, is that, once an email is received, the email address
will be sen
Greetings:
I'm using RH6.2, DB2 V7.1, PHP-4.0.4pl1, Apache 1.3.14, and Pgsql 7.0.3.
I've been able to ./configure successfully support for apache, pgsql, &
db2 but come time to compile, make ends with the following error:
In file included from internal_functions.c:38:
/usr/local/php-4.0.4pl1/e
Hello everybody !
Is it possible to send mail using PHP and a mail server that is
different from the Web Server ?
I would appreciate any help.
Thank you.
Sam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
There's something wrong with the PHP list...
I was wondering if you could help me with a problem I'm having...
I set up an ErrorDocument 404 in my httpd.conf file to point to a local
file. For awhile, this was working fine, but now I'm receiving a 500
Internal Error message and the following
a listmember claiming to be Jon Shoberg wrote:
> I have PHP-4.0.1 running on my Win200 Pro devel box though the IIS DLL and
> SMTP services running. I have SMTP enabled on this machine and have outlook
> express configured to send mail though the local SMTP service. I simply told
> O.Express t
My apologies if you receive this message twice, I'm not sure if it went
through the first time.
I've set up an ErrorDocument 404 in httpd.conf to point to a local PHP file.
When I attempt to access a page that doesn't exist, rather than seeing this
page, I get an Internal Error 500.
If I go i
Hi!
I am facing a very big Proble,m with this javascript
below:
I have gotten a form validation script. Please copy
the script save as .php and try it out..It doesn't
server the purpose...Can anybody point me to right
direction:
***
Damn, cvs.php.net is down so I can't commit changes.
Best to change the #if WIN32|WINNT to #ifdef PHP_WIN32
Also you should use BEGIN_EXTERN_C() and END_EXTERN_C()
I know it's picky, but it's good for consistency.
Andi
At 03:41 AM 1/28/2001 +, Harald Radi wrote:
>phanto Sat Jan 27 19
hi!
i got the following error whe i try to connect to an oracle dbs :
unable to load dynamic librabry "c:\php/php_oracle.dll" this module is not
found !
please help!
_
Get Your Private, Free E-mail from MSN Hotmail at http:
Hi again!
I still did not fix my prob :
I want to check, in a form, that the name input may include an alphabetical
letter a- z, A-Z, or a space, or -, or à, or ä or ü etc
how can i do that ? i used ereg("([a-z,A-Z][ë,à]?)",$name) then
(!ereg("([a-z,A-Z,é,ê,è,ë,-,\t,à,ä,ï,ü,ö,û,â,ç])", $name))
php-general Digest 29 Jan 2001 21:29:50 - Issue 481
Topics (messages 37091 through 37102):
confused about getenv arguements
37091 by: Noel Akins
37094 by: Rasmus Lerdorf
Thankz...
37092 by: [ rswfire ]
IIS and PHP authorization
37093 by: Shane McBride
"PHPTriad for Windows installs a PHP server environment on Windows
platforms. The basic installer installs PHP, MySQL, Apache and PHPMyAdmin.
The most recent version of PHPTriad is 1.4 and was released at the end of
December, 2000."
http://www.phpgeek.com/phptriad.php
> -Original Message
At 10:50 AM + 1/29/01, Tim Ward wrote:
> > -Original Message-
>> From: Steve Edberg [mailto:[EMAIL PROTECTED]]
>> Sent: 25 January 2001 22:02
>> To: Matt; [EMAIL PROTECTED]
>> Subject: Re: [PHP] VAR and variables
>>
>>
>> At 3:00 PM -0600 1/25/01, Matt wrote:
>> >I have a questi
Hi All:
Would anyone tell me how to correct the code in mail( ) function? Thanks a
lot.
function askEmailAddress( ){
var inputedData = prompt("The email address you want send to:"," ");
if(confirm("The email address you want send to is" +
101 - 168 of 168 matches
Mail list logo