Brace count mismatch.
You are missing a '}'.
God knows where it is...inconsistent spacing and code too lengthy.
Functionise/objectise your code!
AndrewH
- Original Message -
From: "ReDucTor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 4:17 PM
Subject: [PHP] Ca
Only typed it up in like 20 min, i normaly do that after :)
- Original Message -
From: Andrew Halliday <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 5:26 PM
Subject: Re: [PHP] Can any one spot the Parse error Here
> Brace count mismatch.
> You are missing a '}'.
HI,
I want to show an image from a database but to do that I am using :
$result = @mysql_query($sql);
$data = @mysql_result($result, 0, "PICTURE");
$type = @mysql_result($result, 0, "FILETYPE");
Header("Content-type: $type");
echo $d
> We regularly use PHP to send messages to a 100,000+ member
> mailing list. No
> problem. I did insert some periodic pauses to give the mail
> server some
> breathing room. :)
Are you using the mail() function for this? Or talking direct to an smtp
server?
--
Richard Heyes
--
PHP General
> Only typed it up in like 20 min, i normaly do that [code tidying] after :)
hehe tisk tisk...the merits of design havent been hammered through you yet?
you are lucky!!!
But, this does raise an interesting issuegood PHP code structure/form.
What do people consider good PHP form?
Ive coded i
Many of my other scripts i use functions, and classes, first time i used
cases and switchs..was fun but i still like to use loops and functions more
:) hehehee
- Original Message -
From: Andrew Halliday <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 6:29 PM
Subject
Hi,
SQL newbie...
What is the most efficient way to get the highest value of a key value using
the odbc_* functions/SQL syntax?
E.g. if I have a table with key values 1,2,3...1567 I need the higest value:
1567 so I can create a new record and assign key value 1568.
I don't want to read the who
Hi,
SELECT MAX(column_name) FROM table_name
Though for what youre trying to do its better to use an autoincrementing
field.
That way the database will automaticly increment the key when you do an
insert
regards,
wieger
Kraa de Simon wrote:
>
> Hi,
>
> SQL newbie...
>
> What is the most effi
Hi,
can somebody tell me how to change user password using passwd with php?
--
Moise Bertrand TACHAGO
Computer scientist
Intern SDNP Cameroon, 506 Hajal Center Building, Yaounde CAMEROON
phone (237)22 24 90
E_mails [EMAIL PROTECTED]
[EMAIL PROTECTED]
Hello,
i have apache 1.3.19 configured with php 4.
i think is configured ok because /usr/local/apache/logs/error_log says:
Apache/1.3.19 (Unix) PHP/4.0.6 configured -- resuming normal operations
When i connect to machine via web, the browser (netscape) don't show me
the text and
Hello,
i have apache 1.3.19 configured with php 4.
i think is configured ok because /usr/local/apache/logs/error_log says:
Apache/1.3.19 (Unix) PHP/4.0.6 configured -- resuming normal operations
When i connect to machine via web, the browser (netscape) don't show me
the text and
sorry i might miss the discussion bout setuid
can anyone give me an help on how to run suid root
while i have script that run by apache
i had alread set the file like this
-rwsr-xr-x 1 root www 384 Jul 2 16:36 test
but no luck
Thanks in Advance
--
PHP General Mailing List (http://ww
What's happend??
I can't understand the words...
How i manage to see it okay??
>ºÜ¸ßÐËÊÕµ½ÄãµÄÓʼþ£¡
>
>
> ===
> Ãâ·Ñµç×ÓÓÊÏä http://home.sina.com.cn
>
+-++---
I have a login form (look below) It works just perfict in IE but in
Netscape it gives me this error Not Found The requested URL /build3.0/user/ was not
found on this server.
It can not find the page the thing is the page that it needs to find
is the same page the login form is on and the path to
> I have a login form (look below) It works just perfict in IE but in
> Netscape it gives me this error Not Found The requested URL
> /build3.0/user/ was not found on this server.
^ try an "echo" here.
--
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"W
> > I have a login form (look below) It works just perfict in IE but in
> > Netscape it gives me this error Not Found The requested URL
> > /build3.0/user/ was not found on this server.
>
>
>^ try an "echo" here.
>
dont think so.
--
PHP General Mailing List (h
Hello Jason,
No that does not make it work any different
Monday, July 02, 2001, 3:08:58 AM, you wrote:
>> I have a login form (look below) It works just perfict in IE but in
>> Netscape it gives me this error Not Found The requested URL
>> /build3.0/user/ was not found on this server.
Jason M
its because I have a php file that needs a password to view - that file
contains 'includes' to another script that gets images from a database and
displays them. I need to make it so that only that particular php file can
access these image-viewing scripts.
-petur
> No that does not make it work any different
What did you actually *do*, though?
--
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Fixed it.
Seems I had to copy a file php4ts.dll to c:\windows\system.
Found the answer here;
http://www.faqts.com/knowledge_base/view.phtml/aid/5495/fid/336
Cheers,
Dave
- Original Message -
From: "Dave Stewart" <[EMAIL PROTECTED]>
To: "PHP (General)" <[EMAIL PROTECTED]>
Sent: Monda
Here is a solution I've found for my problem. I use join to convert my array
into a string. Then, I use exec to run the c program, having a pipe passing
the result from an echo. I would like to know if this solution is a good
one (in term of speed, security...), and would appreciate your comments
Richard Heyes wrote:
>
> > We regularly use PHP to send messages to a 100,000+ member
> > mailing list. No
> > problem. I did insert some periodic pauses to give the mail
> > server some
> > breathing room. :)
>
> Are you using the mail() function for this? Or talking direct to an smtp
> serve
Have you some program for convert Microsoft Access Database (*.mdb) to the
MySQL database ?
Thanks
Roman
--
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 administ
Access is bloated and slow. Mysql is MUCH faster.
> -Original Message-
> From: rm [SMTP:[EMAIL PROTECTED]]
> Sent: Sunday, July 01, 2001 11:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Why does it take so long?
>
> FWIW, i run php.40, apache and mysql on both my
> desktops
What is going on in this sub-culture? Now I see this
as a row of penguins. Is this a kind of Kilroy Was Here
phenomenon -- like Linux Was Here or something?
Somebody please enlighten me on this new
er, ASCII art, "social phenomenon".
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTE
Don,
Thanks for the info.
I'm a bit confused,
When I call the function, what is the syntax as it applies to my form?
ie:
openpost ("dps2.usairways.com, /cgi-bin/fi, FltNum=2972 page=fi");
I know this doesn't work, but do you see what I mean?
Forgive my ignorance, I'm still learning :-)
Also, ho
I am having a problem with the PHP mail() function. Here is the code:
if (mail ("[EMAIL PROTECTED]", "Quote Request", $message)) {
echo "Email sent!";
} else {
echo "Email NOT sent!";
}
Everytime, I receive the Email NOT sent message and the email isn't sent.
However, from the
Hi,
Now that I changed from PHP3 to PHP4, my flush()
called don't work anymore,
For example this script:
";
print("coucou");
flush();
sleep(1);
}
?>
do NOT flush the datas on the browser (client side).
In addition, if we exit the script before the normal
end of its execution nothing
hey ryan try something like this
mail("[EMAIL PROTECTED]", "Quote Request", $message, "From:
[EMAIL PROTECTED]\nX-Mailer: PHP/" . phpversion());
hope this helps
cya tim
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shoguna
Hi,
I have a problem: if I use session_start(), the page will not cache. Is
that normal?
Adrian CIUTUREANU
Software Developer
--
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
I tried that in this format:
if ( mail("[EMAIL PROTECTED]", "Quote Request", $message, "From:
[EMAIL PROTECTED]\nX-Mailer: PHP/" . phpversion()) ) {
echo "Email sent!";
} else {
echo "Email NOT sent!";
}
and still get the Email NOT sent and no emails go anywhere. Is there
anothe
>
> This is the official PHP 4.0.6 version. After line 448 insert:
>
> #if MEMORY_LIMIT
> AG(allocated_memory) -= REAL_SIZE(ptr->size);
> #endif
>
> If you'll take a good look at the diff file the first half is what you're
> supposed to have and the second half i
Hi Roman!
On Mon, 02 Jul 2001, Roman wrote:
> Have you some program for convert Microsoft Access Database (*.mdb) to the
> MySQL database ?
>
have you tried looking on mysql site?
you'll find there dbf2mysql and mssql2mysql (this one I used w/ no problems)
-- teodor
--
PHP General Mailing Lis
Hi Adrian!
On Mon, 02 Jul 2001, Adrian Ciutureanu wrote:
> Hi,
>
> I have a problem: if I use session_start(), the page will not cache. Is
> that normal?
>
yes, check "session.cache_limiter session.cache_expire" in your php.ini
-- teodor
--
PHP General Mailing List (http://www.php.net/)
To
mh..
this worked successfully... don't have any other ideas..
bye tim
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
-Original Me
Thanks a lot! It works.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 2 iulie 2001 16:43
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] sessions and cache
>
>
> Hi Adrian!
> On Mon, 02 Jul 2001, Adrian Ciutureanu wrote:
>
> > Hi,
> >
> > I have a prob
We use mail(). I have on my list to re-write it to use SMTP sometime to see
if it works any faster, but it also goes into the "if it ain't broke, don't
fix it" category.
If all the messages were identical, we might be able to get some efficiency
by sorting the list by domain name and batching th
Hi all,
i'm using php version 4.0.5 and i'm playing around with the file upload command using
form and script which i copied
from php.net
Unfornunately the script is giving an error:
Warning: Unable to open '/tmp/phpmOSK48' for reading: No such file or directory in
/opt/guide/www.abc.de/up
Try this:
--upload.php--
> -Original Message-
> From: Wilbert Enserink [mailto:[EMAIL PROTECTED]]
> Sent: 2 iulie 2001 17:08
> To: [EMAIL PROTECTED]
> Subject: [PHP] file upload
>
>
>
> Hi all,
>
> i'm using php version 4.0.5 and i'm playing around with the
Darn, still didn't work.
Anyone else have a suggestion? Or a way to view an error message of some
kind?
Ryan Shrout
-Original Message-
From: Tim Taubert [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 9:51 AM
To: PHP Mailingliste
Subject: RE: [PHP] mail function fails
mh..
thanx adrian.
I humbly bow for da masta :-]
Wilbert
- Original Message -
From: Adrian Ciutureanu <[EMAIL PROTECTED]>
To: Wilbert Enserink <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 4:19 PM
Subject: RE: [PHP] file upload
> Try this:
>
> --u
as far as i know, $cont is not GZ compressed
so you're getting the length of the uncompressed data.
the contents only get compressed right before sending
output to the browser...
> -Original Message-
> From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 200
Hi
After upgrading to pdflib-4.0.1 from 3.x (and php 4.0.4pl1),
both pdf_open_gif (deprecated) and pdf_open_image_file
say Could not open file, although images are there
and they were working before.
Someone else had this problem too
http://www.php.net/manual/en/function.pdf-open-image-file.php
as a start, you'll probably have to update httpd.conf
(if you're using apache) and named ... or at least know
how both work.
please read the pertinent docs.
> -Original Message-
> From: Man He [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 10:51 PM
> To: [EMAIL PROTECTED]
>
hmmm...
i just copied your code and changed the email address to mine and it
worked. $message was set to 'blah'.
this tells me you either have a problem with your email address or
$message.
why don't you echo $message along with "Email NOT sent!".
mail messages are particular about
I don't think that is it anymore. I have a new discovery. Upon running the
actually PHP script from the console, the code works! But only when I am
logged in as root. When logging is as anyone else, the mail() function
fails with a Permission Denied on /usr/sbin/sendmail
So, it would appear t
/usr/sbin/sendmail should be SUID root, if your isn't change that and it
should work fine.
Julia
Quoting Shrout, Ryan ([EMAIL PROTECTED]):
> I don't think that is it anymore. I have a new discovery. Upon running the
> actually PHP script from the console, the code works! But only when I am
>
how about something like,
$result = @mysql_query($sql);
$data = @mysql_result($result, 0, "PICTURE");
$type = @mysql_result($result, 0, "FILETYPE");
$comment = @mysql_result($result, 0, "COMMENT");
Header("Content-type: $type");
echo $data . "" . $comment;
or, instead of using Header, crea
i dont know the function you're looking for, but read up on
the rules of formal logic, and maybe you can roll your own.
i know that simplification of logical statements (and therefore,
easing the burden of analyzing those statements) is a foundation
of formal logic...
> -Original Message---
try something like this:
$emails = array('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]',
'[EMAIL PROTECTED]');
$doms = array(
'domain1.com'=>1,
'domain2.com'=>1,
);
while ( list(,$email) = each($emails) ) {
preg_match('/^([_\.0-9a-z-]+)@(([0-9a-z][0-9a-z-
put it outside the document root accessable by apache.
if your documentroot is: /usr/local/apache/htdocs/
put your script somewhere outside the 'htdocs' directory.
> -Original Message-
> From: Petur Bjorn Thorsteinsson
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 11:54 AM
or you could output the raw contents of the file
after sending the appropriate headers...
albeit, a simple redirect is much easier :)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Gonzalo Quan
> Sent: Monday, July 02, 2001 4:42 AM
> To: Syed An
that last email accidentally got sent to the wrong list...
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: [EMAIL PROTECTED]
You need to open your httpd.conf and add the extension lines to make it
parse php. Mine looked like this:
ServerRoot "C:/Dev/Apache Group/Apache"
ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .ph
>> Ive coded in both PHP and ASP and in both OO and function oriented.
Ultimately, i find functionally oriented PHP to be the best ... what do
other people think?
Having learnt how to program using Basic when I was 8, I had to unlearn a
lot of things as I moved from Basic to Pascal (what? I can't
i dont mean any offense at this, but if you dont even
know how to give an unprivileged script 'root' privileges,
you probably shouldnt be doing it ;) you can inadvertently
make your system extremely vulnerable.
but if you're intent, read up on "SUID scripts" and
"wrapper" programs that give you
You might also want to reference James Hoffman's excellent "Introduction to
Structured Query Language" (SQL Tutorial) page:
http://w3.one.net/~jhoffman/sqltut.htm
Aral :)
__
([EMAIL PROTECTED])
New Media Producer, Kismia, Inc.
([EMAIL PROTECTED])
Adj. Prof., Am
maximum verbosity is not good programming practise. :)
don't succumb to the dreaded Charles Dickens Syndrome
and make the code too wordy and cluttered to be easily
maintanable or understandeable.
i've had to wade thru code written by people with CDS,
and it's a nightmare seeing some of the exes
Andrew Halliday wrote:
>
>
>Ive coded in both PHP and ASP and in both OO and function oriented.
>Ultimately, i find functionally oriented PHP to be the best ... what do
>other people think?
>
As much classes/objects as possible, imo. 'functions' by themselves are
OK for smaller stuff,
but when
Hi,
I've hit a little problem... When retreiving large TEXT data (equivilant to
MySQL's MEDIUMTEXT) from a MS SQL database using PHP, the data becomes
truncated after 4,095 bytes. I have tried connecting both with ODBC, and the
MsSQL php functions, but to no avail. It works fine in ASP ;-)
mysql returns an assoc array that also have numerical keys,
perhaps you're thinking of that...
to my knowledge, PHP never supported numeric & string
indexing to it's assoc. arrays... i've tested the code
below on PHP v4.0.4 and v4.0.6 and it runs the same:
numerical index values return nothing.
use assoc. arrays, please. your code will be *much*
easier to maintain and extend. variables-of-variables
are headaches for everyone involved.
$location = $input_form[$i];
> -Original Message-
> From: David A Castillo [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 1:41 PM
>
Hi,
How to set a forever cookie into client machine. I use the following
syntax to set the cookie, but when I close the brower's window, then the
cookie is deleted when the browser closed.
setcookie("buyerid",$email,time()+360,"","$domain");
setcookie("buyeridpasswd",$passwd,time()+3
Rasmus, et.al.,
OK, I'm still confused. What does SSL have to do with any of this?
If I'm running a site using SSL, all that does is encrypt the
transmitted info right? It doesn't have anything to do directly with
the sessions though?
The problem I'm wrestling with is:
Person A logs in to m
Id like to discuss what the best params are for setting cookies using PHP.
Specifically the expirey. Anyone?
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
if what you need is to obscure source code, scripting
languages are probably not what you're looking for...
there are ways to compile/encrypt/obscure the source,
but they're usually a bit of a pain in the neck
and easy to crack.
> -Original Message-
> From: Thomas Deliduka [mailto:[
Have a look at these two settings in your php.ini
; Valid range 0 - 2147483647. Default = 4096.
;mssql.textlimit = 4096
; Valid range 0 - 2147483647. Default = 4096.
;mssql.textsize = 4096
- Frank
> Hi,
> I've hit a little problem... When retreiving large TEXT data (equivilant to
> MyS
You guys have some serious problems. I recommend getting help
- Original Message -
From: "Justin Farnsworth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 8:42 AM
Subject: [PHP] Re: mailing list [EMAIL PROTECTED]µÄ×Ô¶¯»ØÐÅ
On 02-Jul-01 Clayton Dukes wrote:
> Don,
> Thanks for the info.
>
> I'm a bit confused,
> When I call the function, what is the syntax as it applies to my form?
>
> ie:
> openpost ("dps2.usairways.com, /cgi-bin/fi, FltNum=2972 page=fi");
>
> I know this doesn't work, but do you see what I mean
i'm pretty sure apache tries its best to keep things like this (doing
anything as root) from happening.
you might look at apaches documentation for suexec.
on 7/2/01 3:31 AM, Yamin Prabudy at [EMAIL PROTECTED] wrote:
> sorry i might miss the discussion bout setuid
> can anyone give me an help o
do you have the image data in the database, or are all the images
stored in the filesystem?
it appears to be the latter... so i'd say either:
1) move the images into the webserver's document root,
or somewhere web-accessable.
2) symlink them permanently.
i can't understand why you'd wan
Bill Rausch pressed the little lettered thingies in this order...
> Rasmus, et.al.,
>
> OK, I'm still confused. What does SSL have to do with any of this?
>
SSL makes it impossible (well, improbable anyway) to sniff the session
ID from the network. Without SSL, anyone on the network between t
Is there a func() that will let me break or skip to the END of the
code
snippet?
I have a file that contains both HTML and PHP.
I know there are several ways of attacking this. Including making a func()
that outputs the footer - skip() containing a bunch of print statements with
the
using the full pathname of the uptime binary should work.
although, there are issues on some servers that user
'nobody' (a common owner for apache) cannot get 'uptime'
information... so even if you get uptime to work correctly,
beware that it may return bogus data.
> -Original Message-
of course it can ;)
> -Original Message-
> From: Matthew Delmarter [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 01, 2001 9:13 PM
> To: PHP Mailing List
> Subject: [PHP] sending 5000+ emails - use PHP?
>
>
> I at looking at using PHP to send a monthly newsletter to 5000+ users who
> h
I have found that browsing through the tutorials at www.devshed.com to be
quite useful.
It covers alot of the basics and some advanced stuff as well.
Kevin Johnson
Jr. System Administrator
Erogo, Inc.
www.erogo.com
Contact Info:
Email: [EMAIL PROTECTED]
Office: (714) 832- x150
Cell: (714)
it's also a dangerously common misconception among
non-programmer manager-types that the more important
or essential a program is, the more lines of code
it will require
> -Original Message-
> From: Brad Hubbard [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] Pricing Advice Needed
>
I have a login form (look below) It works just perfict in IE but in
Netscape it gives me this error Not Found The requested URL /build3.0/user/
was not found on this server.
It can not find the page the thing is the page that it needs to find
is the same page the login form is on and the path to t
Hi, I'am trying to install PHP406 under W2K and Apache132 web server. The
installation of Apache was successfull and it works. About PHP I'am trying
to install the CGI version but even the installation finishes ok, the PHP
looks not working becouse nothing happen when I load some PHP file.
I ne
Hi, I'am trying to install PHP406 under W2K and Apache132 web server. The
installation of Apache was successfull and it works. About PHP I'am trying
to install the CGI version but even the installation finishes ok, the PHP
looks not working becouse nothing happen when I load some PHP file.
I ne
Hi, I'am trying to install PHP406 under W2K and Apache132 web server. The
installation of Apache was successfull and it works. About PHP I'am trying
to install the CGI version but even the installation finishes ok, the PHP
looks not working becouse nothing happen when I load some PHP file.
I ne
confucious say:
typing it up in 20 minutes and then spending 2 hours
debugging is much worse than taking an hour to type it
up and spending only 20 minutes debugging ;)
> -Original Message-
> From: ReDucTor [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 3:31 AM
> To: [EMAIL PR
exec('passwd');
that's how you do it.
now figure out why it wont work. :)
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Moise Bertrand TACHAGO
> Sent: Monday, July 02, 2001 5:33 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] How to execute passwd
how did you install PHP? as CGI or apache module?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 7:31 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] How can i read php from browser??
>
>
> Hello,
> i have apache 1.3.19 configured wi
did you try viewing source to make sure that
the ACTION="" tag actually contains something?
AFAIR, MSIE will post to the same location if there's
no ACTION="", but netscape will not...
so it looks like your ACTION="" tag is empty, but
becuase IE and Netscape handle things differently,
you're ge
Hi,
I posted this on Friday but figured I would try one more time before learning to
"live with it".
I am running PHP 4.0.5 as an Apache Module (with Zend Optimizer) on NT 4.0
SP6 and have been very happy with it. Until we think about using Easysoft
solution the only method we have to get
On Monday 02 July 2001 18:25, [EMAIL PROTECTED] wrote:
> Hi, I'am trying to install PHP406 under W2K and Apache132 web server. The
> installation of Apache was successfull and it works. About PHP I'am trying
> to install the CGI version but even the installation finishes ok, the PHP
> looks not w
have you tried doing it using while()?
At 01:28 29/06/01, Anette Löfquist wrote:
>I have an array, $field, like following:
>
>Array ( [0] =>
> Array ( [0] => Array ( [disp] => computer
> [index] => computer )
>
i dont know of a function to skip to the end of the
nearest ?>, and i suspect that there isn't one...
you can use other control func's to do what you need,
in the context that you're working in...
read up on: goto, break, continue, return
> -Original Message-
> From: Anil [mailto:[EMAI
in regards ot the "OO v. Functions", where you asked about
a session handler class... i have written a class that handles
sessions, although i dont know if it's exactly what you're
looking for, you might want to give it a peek.
since i am a big fan of code reuse, i must include my
DB abstraction
this is my guess at what's happening... i dont know
100% if that's why cookies aren't setting properly,
but here's an educated guess on my part:
probably becuase time() is seconds since 1970, and as
far as i understand, once it gets over 999,999,999
it will not work correctly becuase it will roll
does your browser prompt you to download the file when
you try and look at *.php files?
did you make the appropriate entires into the apache
httpd.conf and restart apache?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 1:26 PM
> To
you could print "Set-Cookie: name=value; etc. etc. etc."
but setcookie(); is really what you want.
> -Original Message-
> From: Gonyou, Austin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 12:40 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Best Way to set cookies
>
>
> Id lik
Hello scott,
You are right the Action tag is empty in Netscape but in IE it is in
there. How come it puts it there in IE but not in Netscape
Monday, July 02, 2001, 10:46:10 AM, you wrote:
scott [gts]> did you try viewing source to make sure that
scott [gts]> the ACTION="" tag actually contains so
The company that houses our servers only has php 3.0
installed. I need a function that can unzip files.
Are there any methods(functions) that can handle this
in php3.0 or any version of php that's before php 4.0.
Thank you,
John
__
Do You Yahoo
IE does a lot of mysterious things behind the scenes...
perhaps IE automatically puts in the current page's
location if no ACTION is specified. however, i
really dont know.
try echo-ing the variable somewhere outside of a form,
to see if the variable itself contains anything...
to my knowledg
Here's a little function i use to traverse an array
of arbitrary complexity... it uses recursion.
function array_traverse ($ary, $b=array()) {
while ( list($k,$v) = each($ary) ) {
print (join("", $b)) . "$k = $v\n";
array_push($b, "\t");
if ( is_array($ary[$k]) ) {
The best way I've seen this done is:
But putting it within while(0), you can simply break; from it...
There may be better ways... Any other suggestions?
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 3:33 PM
To: php
Subject: RE: [PHP] Fu
On Mon, 2 Jul 2001 12:55:32 -0700 (PDT), John Holcomb
([EMAIL PROTECTED]) wrote:
>The company that houses our servers only has php 3.0
>installed. I need a function that can unzip files.
>Are there any methods(functions) that can handle this
>in php3.0 or any version of php that's before php 4.0
Hi Scott,
I'd love to see the class you made but couldn't find a link in your email.
Could you let me know where to find it?
Thanks :)
Aral
__
([EMAIL PROTECTED])
New Media Producer, Kismia, Inc.
([EMAIL PROTECTED])
Adj. Prof., American University
¯¯¯
1 - 100 of 142 matches
Mail list logo