ahh so it's for classes, then i'm fine because i haven't fount a use for
that yet.
-Adam
--
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]
QaDRAM 1.0 FIELD TEST 1 BUILD 342
Hello:
I proud to announce the next release of QaDRAM! You can download it from
http://www.qadram.com in the Downloads section.
In a few days I will publish some samples I have made on the usage of each
object. Feel free to send me any question you have.
The main
this is the sort of thing I usually do ...
$result = mysql_query($db, "SELECT * FROM filename...")
while ($array = mysql_fetch_array($result)) $category[$array["category"]][]
= $array["title"];
foreach ($category as $cat=>$title_array)
{ echo("Category $cat");
foreach ($title_array
Couldn't you just do something like:
$last)
print "$row[category]\r\n";
print "$row[title]\r\n";
$last = $row[title];
}
?>
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Messag
I run the php script as following:
php < test.php - I can get the output
in the browser: http://localhost/test.php - I cannot see any output
However,
I can both get the output in the console and browser.
Does anybody know the reasons?
Thank you very much!
--
PHP General Mailing List (http
Problem solved, thanks to Lasse.
(There was white space in the field, and trim sorted it out)
Thanks very much for your help.
---
Regards
John Patterson
Patterson Liddle
Bath
phone & fax
+44 1225 426722
[EMAIL PROTECTED]
www.pattersonliddle.com
Thank for your reply BUT the solution you proposed me does NOT apply, because
eval() is for evaluating strings as if they were codes, moreover the
somescript.php would have to be readapted : please note that the script takes
the arguments via argc (commandline arguments).
Eval() is not suitabl
[EMAIL PROTECTED] (Jack) wrote:
> 1. (*) text/plain
>
> Dear folks I was told that http referer can tell me where the user
> come from. But it does not work all the time, is there anything else
> that work better than this? Jack [EMAIL PROTECTED] "Love your
I should work if the user have
Problem solved, thanks to Lasse.
(There was white space in the field, and trim sorted it out)
Thanks very much for your help
---
Regards
John Patterson
Patterson Liddle
Bath
phone & fax
+44 1225 426722
[EMAIL PROTECTED]
www.pattersonliddle.com
I have a problem with session thing. I have one script for logging into some
user pages. But many users tell me that the script is... "lossing" the
session_variables which are set. It's very strange because this is not for
certain users, or browsers. It's very randomly. Today this happent for me
a
Hello!
My ISP is running PHP 4.0.1pl2 and it is set in safe mode. I want to have a
form to upload images from any browser, but the safe mode restrictions seems
to deny this. I have tried many different scripts, but no luck so far.
PS. I checked the configuration with phpinfo() and here is the li
For who knows about bugs with session in PHP, I have:
PHP Version 4.0.4pl1
"Marian" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a problem with session thing. I have one script for logging into
some
> user pages. But many users tell me that the script
On 11-Jul-01 Henrik Hansen wrote:
> [EMAIL PROTECTED] (Jack) wrote:
>
> > 1. (*) text/plain
> >
> > Dear folks I was told that http referer can tell me where the user
> > come from. But it does not work all the time, is there anything else
> > that work better than this? Jack [EMAIL PROT
At 18:02 Uhr -0700 10.07.2001, Marcus James Christian wrote:
>Hello,
>
>How do I change the value of the "TO:" in a mail() function to a value
>of Bcc: ?
>
>Or at least trick the mail to a Bcc:So the recipients emails aren't
>shown?
Hi Marcus,
$headers="Bcc:[EMAIL PROTECTED]\n";
$headers.=
The simplest way I could think of would be to use a regex:
/^(.*Jim.*)$/g (g=global)
and then using $1 (the content of the parenthesis), this would give you the
whole line containing "Jim".
Greets,
remo
ps: is perl syntax, needs to be adjusted for php...
> Hi there:
>
> I wanna select a line
this is why I want to know if there is anyone know the better way than
http_referer?
Jack
[EMAIL PROTECTED]
"Love your enemies, it will drive them nuts"
- Original Message -
From: Maxim Maletsky <[EMAIL PROTECTED]>
To: 'Henrik Hansen' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesda
Hello,
I'm trying to relate four tables within a single query and am running into
difficulties. Heck, I don't even know if it is possible. Most of the
explainations I see are for two tables, not four...
So I'm trying to do something like this:
SELECT address.city,
address.state,
Hi,
when I open a web page within my php-script with fopen(...) I only want
to get back the title of the page. How can I do this?
Heiko
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
I'm afraid you'll have to run your upload script as a cgi.
try adding this to the top of your page:
#!/usr/bin/php
you'll probably have to change the file extention to .cgi and put the script
in your cgi-bin
(not sure about that).
you should change ISP ,unless it's a free one you're using.
--
[EMAIL PROTECTED] (Don Read) wrote:
> On 11-Jul-01 Henrik Hansen wrote:
>> [EMAIL PROTECTED] (Jack) wrote:
>>
>> > 1. (*) text/plain
>> >
>> > Dear folks I was told that http referer can tell me where the user
>> > come from. But it does not work all the time, is there anything else
>> >
', '',
eregi_replace('.*', '', $s));
?>
> -Original Message-
> From: Heiko Wilms [mailto:[EMAIL PROTECTED]]
> Sent: 11 iulie 2001 13:32
> To: [EMAIL PROTECTED]
> Subject: [PHP] Getting the title of a web page
>
>
> Hi,
>
> when I open a web page within my php-script with fopen(...) I
(.*)\<\/title\>/i", implode("",
file("http://www.php.net/";)), $title);?>
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Heiko Wilms <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTE
SELECT
WLPaddress.city,
WLPaddress.state,
WLPbib.publisher,
WLPbib.title,
WLPbib.publicationDate,
WLPprofile.firstName,
WLPprofile.lastName,
WLPprofile.organization,
WLPcountry.languageName
FROM
WLPbib
LEFT JOIN
WLPprofile
ON
WLPprofile.profileID = WLPbib.profileID
LEFT JOIN
WLPaddr
> I though every browser supported it, do you have an example on one
> that does not?
I Opera the user can choose to disable the use of referer
/Soeren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Hi tere,
Imagine that someone does the following post:
---8<-
POST /bla.php HTTP/1.0
host: bla.com
content-type: text/xml
content-length: ##
---8<-
With what function, variable, server variable or whatever do I have access
to that
[EMAIL PROTECTED] (Soeren Nielsen) wrote:
>> I though every browser supported it, do you have an example on one
>> that does not?
>
> I Opera the user can choose to disable the use of referer
ohh I did not know that, maybe be because I never tried it :)
now i know :)
--
Henrik Hansen
--
Hi all.
This is the first time I write something to newsgroups. I've this
problem:
After upgrading PHP3 ->PHP4 and changing the variables to array
($file_type -> $HTTP_POST_FILES['file']['type'] )
The variables that are automatically created when uploading a $file have
all worked properly exept
As far as I know, you don't. :-(
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Gustavo Carreno <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 6:5
Once I was looking for a similar solution and found none enough powerful
to my needs.
Anyway this was the only satisfactory that I found:
http://php.vamsi.net/show_source.php?url=htpasswd_admin.php
Also if you have Perl/CGI, you can use this one (much better, including
admin interface,
I asked the ISP if I could do that, but they said: nope...
Life is hard (and then you die).
AH
"Adrian Murphy" <[EMAIL PROTECTED]> wrote in message
003101c109f5$4b6f2fe0$02646464@ade">news:003101c109f5$4b6f2fe0$02646464@ade...
> I'm afraid you'll have to run your upload script as a cgi.
> try a
I would do it this way .
Marc van Duivenvoorde
At 04:21 PM 7/11/2001 +0800, you wrote:
>I run the php script as following:
>//test.php
> system("/usr/bin/sudo /usr/bin/quota -v test")
>?>
>php < test.php - I can get the output
>in the browser: http://localhost/test.php - I cannot see any o
Hi All,
I have an e-mail message stored in the var $message How can I grep for
say the From lines and such in $message using PHP. I tried using preg_grep,
but I could not seem to get it to work. Thanks
Jim G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
hhhm, I played around a little and found another solution which you might
find usefull
\n";
$num++;
}
?>
This way you can execute any command and put the output to an array, in the
while loop you can print any line in the array.
Marc van Duivenvoorde
At 01:38 PM 7/11/2001 +0200, M
I am adding a feature to my site where members can download their
information from the database. What is the best way to accomplish this?
Create a text file every time a member wants to download their info?I
thought about this ..how would I handle deleting the text files when I was
finished
Is there a function that returns me the name of the user that is logged in the
operating system?
I wanaa put in my database the users name when he try to login thee application.
thanks a lot
Thiago
___
Mensagem enviada com Globa
Here is the function, but there is nothing wrong with the function I don't
think.
Here is the function:
function GetURLImageSize($urlpic) {
return GetImageSize($urlpic);
}
Here is how we call it:
GetURLImageSize
("http://www.domainname.com/admin/showimg.php?s=17&type=category&image=70";
I'd like to set a cookie that never expires or at least one that lasts a month, how
can I set it? Does it have to be with time?
I am using SetCookie.
Jeff
int setcookie (string name [, string value [, int expire [, string path
[, string domain [, int secure])
expire = time() + 3600*24*30;
Note that 'expire' is the client relative to GMT time. So, if the client
has the local time set to 01/01/1985, your cookie will be born dead ;)
> -Origina
Hi Jeff,
Yes, use time()
Example 86400 seconds in a day. 3600 in an hour. Use some basic
maths:
$cookie_expire = time() * 86400 * 365; // Sets cookie for a year (365 days).
James.
"Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
006101c10a08$874f93c0$76a1a8c0@LEWISJCIT">news:006101c10
Hy,
i would like to use the gettext functions but i have no hint, where i
have to put the locale files and how to tell php where they are.
Is ther any sample implementation available for this?
Daniel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
you probably mean
$cookie_expire = time() + 86400 * 365;
> -Original Message-
> From: James Holloway [mailto:[EMAIL PROTECTED]]
> Sent: 11 iulie 2001 16:02
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Cookie Expiry Dates?
>
>
> Hi Jeff,
>
> Yes, use time()
>
> Example 86400 secon
You're right, I did...
Still suffering from the effects of a manic dentist this morning. ;)
James
- Original Message -
From: "Adrian Ciutureanu" <[EMAIL PROTECTED]>
To: "James Holloway" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 1:58 PM
Subject: RE: [PHP
Ok, I've used cookies before and have never had a problem with them but for some
reason this doesn't seem to be setting! Here is the start of the file called after
logging in to my site. In another file I have echo $wwblCookie and have also tried
echo $HTTP_COOKIE_VARS["wwblCookie"] but no lu
Thanks Rehuel:
Yes I guess that is the name has not been typed the $user_name will be empty
and the line is
if($HTTP_POST_VARS["user_name"]) {
do something...
}
but I received this error
Warning: Undefined index: user_name in H:\tenjo\public_html\sales\login.php
on line 98
for the if line!
Hi everybody
Does anybody knows what means "Undefined index" error? I couldn't find it in
docs neither in php online doc site.
Thank you
Ivo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
Bob,
Why doesn't odbc_fetch_into give you what you want?
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers
> -Original Message-
> From: Bob Horton [mailto:[EMAIL PROTECT
If I know well, "Undefined index" is a warning, not an error.
If you have
error_reporting = E_ALL
in php.ini (not error_reporting = E_ALL & ~E_NOTICE)
$a = array('a' => 'xxx', 'b' => 'yyy');
and you try to access $a['c'], then PHP will report that you are trying
to access an undefined index array.
I have been looking around for this for all day, now I need your help.
I just compiled php 4.0.6 with those extension:
./configure --enable-track-vars --with-gd=../gd-1.8.3
--with-swf=../php4-swf --with-mysql --enable-xslt
--with-xslt-sablot=../Sablot-0.60 --with-apxs
--enable-sablot-err
Actually, nevermind. I got it. I was calling a function and sent the
variable with the function so it worked :)
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: "Magnus Hammar" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 9:38 AM
Subject: Re: [PH
How do you associate a temp file with a session so PHP automatically deletes
it when garbage collection occurs
-Original Message-
From: Chris Lambert - WhiteCrown Networks [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 11:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] deletion of
Some things to keep in mind:
1. The cookie can't be read untill the next time you access a page.
2. The cookie can only be red in the same level as it is set (I guess), that
means that if you set a cookie in "/my/pages/index.php" you can't read the
cookie from a page in "/my/index.php".
3. To r
Statistics, hard data - yeah!
Thanks, Don!
Kirk
> -Original Message-
> From: Don Read [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 3:54 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: http referer [ stats !!! ]
>
> mysql> select conv(PASSWORD('[NO REFERRING URL]'),16
Does it cost money to participate in the Microsoft vs RedHat Open Source
Debate and other events, or is the entrance free? I am also interested
in participating in this event. I would also like to participate in the
entire conference, but the prices are so high... Just the General
Conference Fee i
Hi,
Try upgrading to 4.0.6. I think there are known pb with 4.0.4 and mcrypt.
Regards,
--Gildas.
--
/-*-\
| Systèmes & Technologies | Tél: +33 2 96438787 |
| Informatiques du Ponant | Fax: +33 2 96438788 |
| 27, rue
Um, been using PHP for awhile now and don' even know how to grab these:
http://wwbl.hyrum.net/send_email.php?to=4;from=25
I have usually only passed one variable before so all I've need to do is $toID=$to but
how do I get from? I know I should know this but I am either having a major brain
fa
"Chris Lambert - Whitecrown Networks" <[EMAIL PROTECTED]> wrote in
message 000b01c109fc$1857cb60$6401a8c0@server">news:000b01c109fc$1857cb60$6401a8c0@server...
> As far as I know, you don't. :-(
And as far as you know, you are wrong :))
If there is no variables on the post the whole content o
To my knowledge you *only* get $HTTP_POST_RAW_DATA when the content-type is
unknown.
Not if there are nor vars in the POST (which is possible as empty vars are
not being send)
Bolke
-Oorspronkelijk bericht-
Van: Gustavo Carreno [mailto:[EMAIL PROTECTED]]
Verzonden: Wednesday, July 11, 20
Sebastian,
Thanks and do you know of a place where I can get a printed book of the
actual PHP manual, already printed?
I hate printing out those huge PDF files and I can't stand reading on screen
directions while trying to learn them.
Thanks,
Marcus
Sebastian Wenleder wrote:
> At 18:02 Uhr -0
When using PHP to generate a download file, the PHP program generates the
headers and the actual text content of the file and this all works just
fine. However, after the file download is complete, positioning the mouse
anywhere over the browser (still showing the previous page) it appears as an
odbc_fetch_into gives me an array but it doesn't give the column names.
While many might consider that a small point I find that it helps
substantially in making my code self documenting.
$row[2] is much less readable than $row[Name]
> -Original Message-
> Bob,
>
> Why doesn't odbc_fetch
If you want to pass more than one variable via GET, you need to use an
ampersand (&) character for the variables after the first one (still using a
question mark for the first).
So in your case, you can have this:
http://wwbl.hyrum.net/send_email.php?to=4&from=25
Then within your send_email.ph
I see mkstemp() mentioned in the tempnam page in the online manual but
cannot find it anywhere? Where is the docs for this?
--
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
When generating a download file from PHP to IE (Netscape is not used by my
client base) the browser prompts with an option to download the file or open
the file where it is. Opening the file fails and I am forced to download
the file to my local drive before receiving another prompt to open the
Bob,
Perhaps use odbc_field_name or even odbc_specialcolumns with
odbc_fetch_into?
I do agree that mysql_fetch_array is quite useful.
Dan - what do you think?
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Data In
Bob,
Perhaps use odbc_field_name or even odbc_specialcolumns with
odbc_fetch_into?
I do agree that mysql_fetch_array is quite useful.
Dan - what do you think?
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Data In
How do I rename a file on Linux in PHP?
Thanks
Randy
--
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]
Well, if you noticed the function I wrote and included as part of my
original post ... it already uses odbc_field_name but I'm not sure how I
would use it in connection with odbc_fetch_into.
My 2 key questions were:
1) Is there some function that I missed that does the equivalent of
mysql_fetch_
try putting an .htaccess file into that directory.
or (as someone else already suggested) tell apache
to disallow access to *.inc files (or to the entire
directory)
> -Original Message-
> From: Noah Spitzer-Williams [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] how to hide dbconnect file if
mv filename newfilename
- Original Message -
From: "Randy Johnson" <[EMAIL PROTECTED]>
To: "Randy Johnson" <[EMAIL PROTECTED]>; "Chris Lambert - WhiteCrown
Networks" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 12:53 PM
Subject: [PHP] Rename a File?
> How do I ren
If one has :
$arr = array('a','b','c');
And calls upon the following :
$arr[b] (as opposed to $arr['b'])
Then the following will result :
Warning: Use of undefined constant b - assumed 'b' in ./tmp.php on line 13
Warning: Undefined index: b in ./tmp.php on line 13
Always use quotes ar
[EMAIL PROTECTED] (Randy Johnson) wrote:
> How do I rename a file on Linux in PHP?
>
you mean using a php function?
php.net/rename
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Ideally I could just have php do the info gathering and send the input,
user and pass, to apache for authenticating them. But I really don't
know what is best. If I set up an index file to ask for a password that
still does not secure (or at least ask for a password) anything else in
the directo
Ack! The travesty! Opportunities for OOP are literally
everywhere!
=> =>
Ben
-Original Message-
From: Adam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 12:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] What the heck is this
ahh so it's for classes, then i'm fine because
Are you sure? I tested posting to a script which simply did a
print_r($GLOBAL), and didn't see the posted data listed.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Gustavo
> Are you sure? I tested posting to a script which simply did a
> print_r($GLOBAL), and didn't see the posted data listed.
Yeaps, if the content-type is known the $HTTP_RAW_POST_DATA is empty
and does not show on the $GLOBALS.
Try this C program in Linux and you'll get surprised:
-- htt
Hello,
I'm making some headway on joining three MySQL tables. (Thanks to responses
from this list early this morning)
However, when I run this query:
mysql_query("SELECT
WLPbib.bibID,
WLPbib.title,
WLPbib.publisher,
WLPbib.publicationDate,
WLPa
not to give you the solution, but there's something you can simplify in your
query:
USING(field)
mysql_query("SELECT
WLPbib.bibID,
WLPbib.title,
WLPbib.publisher,
WLPbib.publicationDate,
WLPaddress.city,
WLPaddress.state,
WLP
If you want it to automatically be saved to disk, send the
header("Content-type: octet/stream");
If there is a problem with the open I would think its on the client side
since theres nothing mor the server can do but specify a content type.
-Original Message-
From: Warren Vail [mailto:[
On Tue, 10 Jul 2001, Robert V. Zwink wrote:
>http://www.phpwizard.net/ has something called phpAds. Seems to cover your
>requests.
on my italian portal I'm using phpAdsNew. It's cool... on
sourceforge.com
bye
--
Il 50% della vita e' cercare la giusta domanda...
l'altro 50% e' non trovare la r
Ok, after a lot of R'ing TFM, I'm more confused than I was before... Seems
MySQL plays pretty loose with most datatypes and stores half the numeric
types as strings, so
I want e.g. a 16 bit field where I can use the individual bits for various
flags. How should I set the MySQL datatype and attri
Mike Gifford wrote:
> However, when I run this query:
>
> mysql_query("SELECT
> WLPbib.bibID,
> WLPbib.title,
> WLPbib.publisher,
> WLPbib.publicationDate,
> WLPaddress.city,
> WLPaddress.state,
> WLPprofile.firstName,
>
Hi Max,
Maxim Maletsky wrote:
> not to give you the solution, but there's something you can simplify in your
> query:
> USING(field)
I like the idea of using USING... however I've run into some problems.
> mysql_query("SELECT
>WLPbib.bibID,
> WLPbib.title,
> WLPb
I have a logout page that sends this cookie
setcookie("membership")
So that "membership" shoud be empty. However, if you login so that the cookie
membership is created, and then try to logout without restarting the browser, it wont
delete the cookie. But if you restart the browser and try to
Hi,
I have a problem with fasttemplate class. I am doing a list page which
contains dynamic block to list the rows from my db. Everything is ok until
there are no records on my db. If there are no records on my db,
fasttemplate class doesn't delete the dynamic block and it remains like
this:
On 11-Jul-01 Lasse wrote:
>
> Ok, after a lot of R'ing TFM, I'm more confused than I was before... Seems
> MySQL plays pretty loose with most datatypes and stores half the numeric
> types as strings, so
>
> I want e.g. a 16 bit field where I can use the individual bits for various
> flags. How
Hi,
Is there a way to create a counter to count the number of accesses for a apecific
page using PHP or Javascript?
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 adm
Has anybody heard if this will affect PHP in any way?
Copied from the "Unix Guru mailing list":
-=-=-=-=-=-=-=-=-=-=-=-
The unix time() value becomes
10 digits for the first time on
Sun Sep 9 01:46:40 2001
For the first time in modern
computer history, the timestamp
will be something besid
if you dont specify an expiration time, the cookie
will hang around in memory until the browser is
closed... even if it's an empty cookie. (AFAIK)
if you really want it deleted, when the user "logs out"
setcookie("membership", "", time()-1);
that'll set the expire time to one second in the past,
Hi,
Has anyone tries any test loading PHP pages into IE 5.x and Netscape
4.7x?
As an experiment, I have a page that issues a phpinfo(). WIth I.E. 5.5,
it takes about 3 seconds. With Netscape 4.77, it takes almost 20
seconds.
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To
of course ;)
try this method:
link to the counter with an IMG from your page
have counter.php increment a log file and
output an image showing the current number
of hits that "pagename" has gotten, so that
the IMG SRC will be digits.
(although, this is like reinventing the wheel,
there are pl
http://www.devshed.com/ClipScripts/results/l_2/c_6/
-Original Message-
From: Zhu George-CZZ010 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 9:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] counter using PHP or Javascript?
Hi,
Is there a way to create a counter to count the
Netscape is notoriously slug-like when it comes to loading large tables
(i.e. the output of phpinfo()).
- Tim
> As an experiment, I have a page that issues a phpinfo(). WIth I.E. 5.5,
> it takes about 3 seconds. With Netscape 4.77, it takes almost 20
> seconds.
--
PHP General Mailing List
Sorry if this has been brought up 100 times.
I want to do this:
$y = "1";
while ($y <= "$Number_Children") {
if (!$C_Last_Name$y) {
error stuff;
$y++;
}
}
The form submitting information to this code has field name like
C_Last_Name1 C_Last_Name2
> if (!$C_Last_Name$y) {
> The form submitting information to this code has field name like
> C_Last_Name1 C_Last_Name2 depending on how many Children
> are signing up for something. So I need $y to represent the number.
You want this:
if (!{$C_Last_Name}{$y}) {
The {} surrounding the var
you should change the form field names to
$Children_Last[1], $Children_Last[2]
instead of hardcoding $Children_Last1
to make iteration thru the form easier
and handling of the data easier...
you can handle it all like this:
$Number_Children = 5;
$i = $Number_Children;
while ($i--) {
i
You could use an array:
like
Way better this way
and you oculd do:
$y=1;
while($y
> Sorry if this has been brought up 100 times.
>
> I want to do this:
>
> $y = "1";
>
> while ($y <= "$Number_Children") {
> if (!$C_Last_Name$y) {
> error stuff;
> $
are you setting the cookie expire time and blanking
out the cookie's value properly when the user logs off?
even if you have the user "logged in", to the browser,
it's just another webpage, and the browser shouldnt
handle cookies any differently no matter what type of
HTML you give it...
>
hmm, still no luck. The problem is not that the cookie in in memory, the
problem is that its still on the hard drive. for example: User Logs On, User
Logs off = cookie still on hd (even if you close the browser) example2:
User restarts browser, User does not log on (cookie info still on hd), Us
Don wrote:
> Has anyone tries any test loading PHP pages into IE 5.x and Netscape
> 4.7x?
This is in no way related to PHP.
It's just the old Netscape taking lots of time for +rendering large
pages, especially with nested tables.
regards
Wagner
--
Madness takes its toll. Please have exact cha
Hi,
Does someone know how I can call a function in a PHP script using a
hyperlink with
text
The function is in the same PHP script as the link.
Many thanks,
Geer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
1 - 100 of 221 matches
Mail list logo