sbergmann Thu Mar 15 23:58:35 2001 EDT
Modified files:
/php4/pear/CacheOutput.php
Log:
Fix the example.
Index: php4/pear/Cache/Output.php
diff -u php4/pear/Cache/Output.php:1.11 php4/pear/Cache/Output.php:1.12
--- php4/pear/Cache/Output.php:1.11 S
you don't have to use fwrite() if you use output buffering.
just ob_start(), ob_get_contents(), and ob_end_clean()
and leave your code how it is.
-aaron
At 1:02 AM -0600 3/16/01, Richard Lynch wrote:
>You can use PHP to write out the HTML to a file, instead of using
>echo/print.
>
>You'll have
Many thanks Yasuo.
Unless I've missed something (which is quite possible), that
would seem to help if I was trying to do it at runtime, but this
is a feature I need during development (ie a feature of the
editor).
cheers,
Richard
>http://www.php.net/manual/en/ref.funchand.php
>
>This page mus
> Hi,
>
> I don't want to argue about anything, just point out something
> that occurred
> to me.
>
> First of all, I am a newbie as far as PHP is concerned, though I am more
> than comfortable with programming.
>
> I recently asked a pretty simple question on this list ("Finding the
> depth"). I
YES!
The only "problem" will be that these .php pages will be maybe 5% slower
since PHP is "parsing" them.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
---
Excel can import tab-delimited (or CSV) files pretty darn easy...
And you can spew those out very easily...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
-
Cookies do not inherently support arrays.
You'll have to serialize/unserialize your arrays to store them in cookies.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunt
> select * from nmensagem m, nusuario u, nprefuser p where
> m.cdpreferencia=p.cdpreferencia and p.flag=1;
>
> With "m.cdpreferencia=p.cdpreferencia" I should get just the values there
> exists on m.preferencia and p.cdpreferencia?
No, because you have a record for every single nusario, since you
Be sure your DocumentRoot and directives match up...
Also check for any Limit directives.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Messa
Perhaps the user pasted in characters that caused those HTML codes to be
part of their input...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original
I think PHPDoc is only for documenting classes...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: Remi Ricard <[EMAIL PROT
You can use PHP to write out the HTML to a file, instead of using
echo/print.
You'll have to fwrite() *ALL* your HTML, however.
I did this for a site that got burned into a CD once.
There are also some tools "out there" to "walk" a site and "steal" it, that
you could use on your "work" site to
> Is it possible to change the group rights on a directory like this?
>
> chgrp("/home/www/host/sitedir.com", "site1.com");
"site1.com" is a pretty unusual group name... I don't think that's valid...
> It doesn't work for me and i have tried this:
> exec(chown apache:site1.com /home/www/host/si
> How can I tell the page to use the userlevel colunm too?
Use it how?...
Do you want to use it to decide where to send them?:
$userlevel = mysql_result($result, 0, 'userlevel');
switch ($userlevel){
case 1:
header("Location: guru.php");
break;
case 2:
header("Locatio
> Warning: Unable to jump to row 0 on MySQL result index 2 in
> /home/sites/site3/web/showthumb on line 71
>
> --here is my code
Change it to look like this:
> $connetion = mysql_connect("localhost","cel34243","s2343223") or
die($php_errormsg);
> $query = "select images from celeb where name=\"$
It sounds like maybe you are trying to send too many emails -- The PHP
mail() function just isn't cut out for mass email.
Look at using Manuel Lemos' mail class or some other code that talks direct
to port 80.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music?
>1. I am hoping to read the entire range of values from a field in my MySQL
table into a combo >box on my form, but I am not sure how. On top of that,
I want the user to select one value >from this list, press next, and the
combo box reappears with the full list minus the chosen >value. The user
Before you do that, you are better to read PHP manual AT LEAST Getting Started
Section.
http://www.php.net/manual/en/getting-started.php
Note: Your scripts may be disclosed to the net w/o proper setup.
Regards,
--
Yasuo Ohgaki
- Original Message -
From: <[EMAIL PROTECTED]>
Newsgroups:
http://www.php.net/manual/en/ref.funchand.php
This page must be your friends.
Regards,
--
Yasuo Ohgaki
- Original Message -
From: "Richard McLean" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Friday, March 16, 2001 4:02 PM
Subject: [PHP] With all this talk about editors ...
> Do
- Original Message -
From: ""Al"" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Friday, March 16, 2001 3:09 PM
Subject: [PHP] Hmmm... What's problems?
> I'm using manual online on php.net and use example of File uploader.
> If i changed TEXT file All right!
> If i changed Binary fil
sniper Thu Mar 15 23:13:06 2001 EDT
Modified files:
/php4/ext/standard dns.c
/php4 configure.in
Log:
This should fix problems in systems without libbind.
Index: php4/ext/standard/dns.c
diff -u php4/ext/standard/dns.c:1.27 php4/ext/standard/dns.c
- Original Message -
From: "Dennis Gearon" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Friday, March 16, 2001 2:42 PM
Subject: [PHP] Thoughts on Class libraries
> In talking about PEAR and PHPLIB, the subject of large class
> libraries came up.
>
> So in response to this pr
Hi,
I don't want to argue about anything, just point out something that occurred
to me.
First of all, I am a newbie as far as PHP is concerned, though I am more
than comfortable with programming.
I recently asked a pretty simple question on this list ("Finding the
depth"). I could have found ou
Does anyone know of one that can do custom function
management?
e.g.
You have a functions file - site_functions.php, and a page
- the_page.php, with the functions file included/required.
What I need is to be able to open the_page.php, and have
a functions list that shows what functions are avail
Hi
I have installed php4 with apache onto my windows 98 machine .I am trying
to send an email using the mail() function . When i run the following piece
of code i get a warning .Can anyone please help me figure what has gone
wrong and suggest me with what to do.
Th
- Original Message -
From: "Carfield Yim" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Friday, March 16, 2001 1:44 PM
Subject: [PHP] Why my php page will reply "session expire" when the use press
back button?
> Why my php page will reply "session expire" when the use press back
> bu
On Thu, Mar 15, 2001 at 09:57:49PM -, Emiliano Heyns wrote:
> Index: php4/ext/midgard/attachment.c
> diff -u php4/ext/midgard/attachment.c:1.10 php4/ext/midgard/attachment.c:1.11
> --- php4/ext/midgard/attachment.c:1.10Sun Mar 11 15:30:36 2001
> +++ php4/ext/midgard/attachment.c T
Hey guys and gals - i think i finally found my all and end all PHP editor -
PHPEd - good stuff!
AndrewH
- Original Message -
From: "John LYC" <[EMAIL PROTECTED]>
To: "Andrew Halliday" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 5:54 PM
Subject: Re: [PHP] Good
Make sure that enctype="multipart/form-data" is in your form.
At 05:29 PM 3/15/01 +0300, you wrote:
>I'm using manual online on php.net and use example of File uploader.
>If i changed TEXT file All right!
>If i changed Binary file php script answer Error!
>in sources code PHP using Binary
fmk Thu Mar 15 22:15:59 2001 EDT
Modified files:
/php4/ext/printer CREDITS
Log:
Adding credits
Index: php4/ext/printer/CREDITS
diff -u php4/ext/printer/CREDITS:1.1 php4/ext/printer/CREDITS:1.2
--- php4/ext/printer/CREDITS:1.1Mon Nov 20 02:31:31 20
I am creating a site right now and I think many of the pages will
use php in the future...But not right now.
Should I put the .php extentsion at the end of these pages now
even though they currently do not have php on them.
So there anything that can go wrong if I do this?
Steve
--
PHP Gene
I'm using manual online on php.net and use example of File uploader.
If i changed TEXT file All right!
If i changed Binary file php script answer Error!
in sources code PHP using Binary method...
And temporary subject $source_file is empty!
if i insert in PHP { echo "source: $source_file"; } and
On 15 Mar 2001 17:56:18 -0800, Randy Johnson <[EMAIL PROTECTED]> wrote:
>I have a question. can a 1 php script access a mysql database more than 10
>times a second it's a simple updated statement? if it can how many
>times do you think it can access the database in a second?
Sure, dependi
In talking about PEAR and PHPLIB, the subject of large class
libraries came up.
So in response to this problem, I had this idea. I'd like to get
some feedback on it.
Every script includes a simple parsing function from the
'prepend.php' file at the very top of the script. This funct
ssb Thu Mar 15 21:13:00 2001 EDT
Added files:
/pear/PEAR PEAR.php
Log:
by putting this dir before $prefix/lib/php in your include_path, you
will use the C version of PEAR and PEAR_Error
Index: pear/PEAR/PEAR.php
+++ pear/PEAR/PEAR.php
--
PHP
Hi,
Chris Lee wrote:
> ok, this is what you asked for
Thanks! I haven't tried it, but I am sure it will work.
> but why cant you just do this.
>
> echo "
>
> ";
I don't want to do that because that sort of link will work only when this page is
served up by a web server.
It won'
ssb Thu Mar 15 20:57:03 2001 EDT
Modified files:
/pear/PEAR pear.c php_pear.h
Log:
* PEAR and PEAR_Error C implementations done
Index: pear/PEAR/pear.c
diff -u pear/PEAR/pear.c:1.3 pear/PEAR/pear.c:1.4
--- pear/PEAR/pear.c:1.3Wed Mar 14 16:53:0
Why my php page will reply "session expire" when the use press back
button? And then all the information in the form that user fill is lost,
how can I fix this? thx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Marian Vasile <[EMAIL PROTECTED]> wrote:
//snipped! This list is long enough!
>The main problem I have with my chat is that after some use of it, the
>server is going very very slowly.
>Someone with (256Mb, 800Mhz and just my chat running (Linux also)) told me
>that the chat is still doing this
sterlingThu Mar 15 20:23:58 2001 EDT
Modified files:
/php4/ext/bz2 bz2.c
Log:
Slightly modified fix from jeremy brand <[EMAIL PROTECTED]>. he
correctly pointed out that allocating the buffer to a little more than
need (exact formula is in the c
hi,
How could i sort data in a multi-dim array?
for example:
$data = array(
array("Job 3","House Party","Done"),
array("Job 1","Days End","Done"),
array("Job 5","Light Wave House","Done"),
array("Job 2","The Amazon","Not Done"),
array("Job 4","Fear","Not Done")
);
I want to
php-i18n Digest 16 Mar 2001 04:09:10 - Issue 57
Topics (messages 135 through 138):
Re: Weekly Update
135 by: Rick St Jean
137 by: Peter Van Dijck
Resource for PHP and other technologies
136 by: narsu
Website, Design, hosting and maintenance for only $999.00 per yea
Warning
Could not process message with given Content-Type:
multipart/mixed;boundary= "Z_MULTI_PART_MAIL_BOUNDAEY_S"
Warning
Could not process message with given Content-Type:
multipart/mixed;boundary= "Z_MULTI_PART_MAIL_BOUNDAEY_S"
I figured out what was going on. I knew it would be something simple
(embarrassingly simple too).
We run apache split across 2 servers so I have the error document path in
the httpd.conf as a full URL, i.e. http://www.etc...
This is what was causing it to lose all the Redirect info. When I use a
- Original Message -
From: "Dale Frohman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 5:33 AM
Subject: [PHP] Reminders
> I have a web interface that will submit entries into a mysql db. These
> entries are things to do at certain times, an organizer. Is th
Hello,
I am trying to start/stop a java program using PHP 4.04 on RH6.2. I can
successfully start the program using:
exec("/usr/bin/nohup /home/itrades/bin/startserver >/dev/null 2>&1 &")
But when I revisit the page or refresh the page the web server hangs
until I kill the java program.
Can s
Dear All,
Is there a way to re-write a method in parent class and still access
the parent class by parent::method()?
I have a class (classChild) extended from another class
(classParent). In classChild I have re-implemented method foo() as a
wrapper function of method foo() in classPare
"Gary" <[EMAIL PROTECTED]> wrote in message
98rohv$b0k$[EMAIL PROTECTED]">news:98rohv$b0k$[EMAIL PROTECTED]...
> Is there a way to pass a JavaScript variable to a PHP function?
>
> Thanks, Gary
You can use GET/POST/COOKIE to do that.
i.e. You must send new request to server and send variables, th
Brandon,
It works just fine via ODBC. Driver are available at www.openlinksw.com and
a HOWTO on compiling iODBC into PHP (needed if you want to use ODBC drivers)
is available at www.iodbc.org.
Please let me know if I may assist in any way.
Best regards,
Andrew
-
- Original Message -
From: "Paul R. Jackson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 10:34 AM
Subject: [PHP] $REDIRECT_ERROR_NOTES
> Hello,
>
> This is my first post to the group so go easy on me.
>
> I am using apache httpd.conf file to redirect 404 error
On Fri, 16 Mar 2001 12:34, Randy Johnson wrote:
> I have a question. can a 1 php script access a mysql database more
> than 10 times a second it's a simple updated statement? if it
> can how many times do you think it can access the database in a second?
>
> thanks randy
On which machine?
sniper Thu Mar 15 18:06:33 2001 EDT
Modified files:
/php4/ext/ming config.m4
Log:
Added a check for the one function missing in <= 0.1.0 versions of ming lib.
Index: php4/ext/ming/config.m4
diff -u php4/ext/ming/config.m4:1.3 php4/ext/ming/config.m4:1.4
-
The htaccess option would not really be a great solution for me given we
have many diferent htacces files do lots of different things.
But I did try it just in case it lead me to some answers. I created a new
directory placed a .htaccess file in there with the correct stuff directing
404's to a t
php-general Digest 16 Mar 2001 02:00:40 - Issue 569
Topics (messages 44027 through 44194):
Re: Executing a string with both html and php inside it..
44027 by: Mark Roedel
44038 by: Aviv Revach
44048 by: Christian Reiniger
Re: Function to compare an array with anothe
Ye 2001-03-15 20:11 -0800, Jason Lotito skribis:
(someone)
> > How many times are people going to complain about no-brainer questions
> > being posted to the list. The fact of the matter is people are going to
> > post things on the list without reading the manual or the FAQ. It goes
> > with the
I have a question. can a 1 php script access a mysql database more than 10
times a second it's a simple updated statement? if it can how many
times do you think it can access the database in a second?
thanks randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
On Fri, 16 Mar 2001 12:13, Paul R. Jackson wrote:
> >>Check out REQUEST_URI - from that you can build a full URL if you
> >> need it.
>
> The REQUEST_URI only has the URI of the error page itself (in my case
> /error/404.html) I want the URI of the page that wasn't found.
>
> A php info doesnt sho
Hello,
Mathieu Arnold wrote:
>
> Hi
>
> The actual implementation of the mail fonction use sendmail -t and
> relies on sendmail to parse the headers to get the recipients.
> It would be great if it was possible to switch from this way of using
> sendmail to a more classic
> sendmail -f sender r
Hello,
James Crowley wrote:
>
> Hi,
> I want to spread the results of a recordset over a number of pages. In ASP,
> I would have opened a connection with a client-side cursor... but with PHP
> (using it's ODBC functions), it only seems to be able to execute an SQL
> statement, and return
>>Check out REQUEST_URI - from that you can build a full URL if you need it.
The REQUEST_URI only has the URI of the error page itself (in my case
/error/404.html) I want the URI of the page that wasn't found.
A php info doesnt show the URI anywhere.
Thanks for the speedy response
Paul
At 12:
Hello,
I need to create excel files from data stored in mysql.
I'm using php in a linux box, so as far as I know I cant
use COM functions.
Is there a way to do what I intend
Tank you
--
Javier Onate Mendia
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
On Fri, 16 Mar 2001 12:04, Paul R. Jackson wrote:
> Hello,
>
> This is my first post to the group so go easy on me.
>
> I am using apache httpd.conf file to redirect 404 errors to a page
> which basically displays and error message, amongst other things. It
> all works fine but...
>
> I want to be
Hello,
This is my first post to the group so go easy on me.
I am using apache httpd.conf file to redirect 404 errors to a page which
basically displays and error message, amongst other things. It all works
fine but...
I want to be able to find out what the document that they attempted to
access
You might recall that last month I asked for input from people who
are making a "good living" doing PHP. And if you subscribe to
Contract Professional's weekly ezine, you might have seen the article
about Tom Beidler (Hi Tom!).
Based on that article, and the fact that my editor had never heard
camber Thu Mar 15 17:21:31 2001 EDT
Modified files:
/php4/ext/sybasephp_sybase_db.c php_sybase_db.h
Log:
sybase_affected_rows implementation submitted by John F. Dumas
<[EMAIL PROTECTED]>
Index: php4/ext/sybase/php_sybase_db.c
diff -u php4/ext/sybase/p
sniper Thu Mar 15 17:21:24 2001 EDT
Modified files:
/php4/ext/bz2 bz2.c
Log:
Make this extension compile again..
Index: php4/ext/bz2/bz2.c
diff -u php4/ext/bz2/bz2.c:1.10 php4/ext/bz2/bz2.c:1.11
--- php4/ext/bz2/bz2.c:1.10 Wed Mar 14 23:03:28 2001
++
rasmus Thu Mar 15 17:15:03 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
Karma for Brian Bruns (Mr. FreeTDS)
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.118 CVSROOT/avail:1.119
--- CVSROOT/avail:1.118 Tue Mar 13 10:11:11 2001
+++ CVSROOT/
Is there a way to pass a JavaScript variable to a PHP function?
Thanks, Gary
--
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]
When I add /text on to the end of the url for a php3 script (as in:
foo.com/script.php3/extratext), it gives me the following message:
Fatal error: Unable to open /home/httpd/html/foo.com/script.php3/extratext
in - on line 0
No input file specified.
Can anybody point me to the documentation expl
> How many times are people going to complain about no-brainer questions
> being posted to the list. The fact of the matter is people are going to
> post things on the list without reading the manual or the FAQ. It goes
> with the territory. It annoys me too, but there is no good solution for
> th
I scratched my head for weeks with this problem untill I found a discussion
on this in the archives.
It seems that a post-form MUST be executed from the client side.
Here is the start of the discussion:
http://marc.theaimsgroup.com/?l=php-general&m=97614760211168&w=2
So... It has to be done with
sniper Thu Mar 15 16:37:34 2001 EDT
Modified files:
/php4/ext/ming ming.c
Log:
Killed a compile warning + made ming extension compile with the older ming libs.
Index: php4/ext/ming/ming.c
diff -u php4/ext/ming/ming.c:1.3 php4/ext/ming/ming.c:1.4
--- php4/
Thanks a million man!
This did the trick...
Best Regards,
// Tobias Talltorp
""Mahmoud Abu-Wardeh"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> try this: (you need to escape the variable part of the variable variable
> with {})
>
> $name = "talltorp";
>
sniper Thu Mar 15 16:36:47 2001 EDT
Added files:
/php4/ext/ming CREDITS .cvsignore
Log:
Missing files.
Index: php4/ext/ming/.cvsignore
+++ php4/ext/ming/.cvsignore
Makefile
*.lo
*.la
libs
deps
libs.mk
--
PHP CVS Mailing List (http://www.php.net/)
sniper Thu Mar 15 16:36:30 2001 EDT
Modified files:
/php4/ext/ming config.m4
Log:
Beutify + fix some errors in finding libs and header files.
Index: php4/ext/ming/config.m4
diff -u php4/ext/ming/config.m4:1.2 php4/ext/ming/config.m4:1.3
--- php4/ext/ming/
Just something I notices...
At the bottom of the page there is a link to the mailing list (well, not
directly to the list, but anywho):
PHP General Mailing List (http://www.php.net/)
Why not add this aswell:
Before posting, check the PHP Generall Mailing List Archive
(http://marc.theaimsgroup.com
How many times are people going to complain about no-brainer questions
being posted to the list. The fact of the matter is people are going to
post things on the list without reading the manual or the FAQ. It goes
with the territory. It annoys me too, but there is no good solution for
the problem.
On Fri, 16 Mar 2001 03:34, Rick St Jean wrote:
> It is there a list of most frequently asked questions?
> It seems that people ask the same questions, again and again,
> they do not READ THE MANUAL. Yes I have asked 2 stupid
> questions, but I really did search and I am reading my manuals,
> the
On Fri, 16 Mar 2001 03:24, McShen wrote:
> I am looking for good php editors. Currently, i am using PHP coder. It
> highlights syntax and checks my syntax. It's also executes my PHP
> codes. Are there any editors like that? I just want a editor that
> highlights my code and check my syntax.
>
> re
it's an older app.
But I got it. Thanks :-)
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engineer
Thrupoint, Inc.
Tampa, FL
(c) 904.477.7825
(h) 904.292.1881
- Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: "Clayton Duk
Hello all.
Howcome I can create an array on a variable variable using array(), but not
in a for-loop (See code below)?
In the for-loop I get this error message:
Fatal error: Cannot use [] for reading in
E:\Inetpub\wwwroot\testscript\sessions\test4.php on line 6
Is this a bug or do I have the
try this: (you need to escape the variable part of the variable variable
with {})
-Original Message-
From: Tobias Talltorp [mailto:[EMAIL PROTECTED]]
Sent: 16 March 2001 00:15
To: [EMAIL PROTECTED]
Subject: [PHP] creating array on variable variable (bug?)
Hello all.
Howcome I can cre
clayton,
checking php.net for 'page_open()' gives me nothingalso, why is it
.php3 if you're on php 4.04?
jack
> Clayton Dukes wrote:
>
> Hey everyone,
>
> I just upgraded from php v4.03pl1 to php 4.04pl.
> Everything seems to work okay except my IMP/Webmail.
>
> When I load the url, I g
Nevermind.
The php.ini was replaced which changed my include path.
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engineer
Thrupoint, Inc.
Tampa, FL
(c) 904.477.7825
(h) 904.292.1881
- Original Message -
From: Clayton Dukes
To: [
Hey everyone,
I just upgraded from php v4.03pl1 to php
4.04pl.
Everything seems to work okay except my
IMP/Webmail.
When I load the url, I get:
Fatal error: Call to undefined function: page_open() in
/home/www/websites/horde/imp/index.php3 on line 15
Is this something that is no longer
yes your code should be safe, at least from people trying to look at it
over the web...people on the server, well, that's another story...anyone
who can get into your www directory, and depending on the perms of your
files (if they have world readable) can view them...
i originally made some files
"... hate to think that someone could come along and just use it all for
free" So you don't really care to contribute to the Open Source community?
We would love to have your passwords. I would highly recommend setting an
include path outside the web server document root and store you files with
p
> If the include file has an extension that is not recognized by the server
as
> being a "PHP" file, the server will simply serve it up as text. So, your
> file index.php is recognized as being a PHP file, it gets passed to PHP
> which parses and compiles it and returns it to the server, which pas
> if someone knew the name of your include file, and it was under the
> webserver root (for instance, the same folder) then yes, its like any
> other file..you can get around this by changing your php.ini
> include_path variables and putting the files there, outside the
> webserver directory
If the include file has an extension that is not recognized by the server as
being a "PHP" file, the server will simply serve it up as text. So, your
file index.php is recognized as being a PHP file, it gets passed to PHP
which parses and compiles it and returns it to the server, which passes the
should probably clarify"call to anything" is kinda vague ;-)
system lets you perform a command like you are on the command line...
http://php.net/manual/en/function.system.php
http://php.net/manual/en/function.virtual.php
check out these pages for more info
jack
Jack Dempsey wrote:
>
> Bran
> that will protect against people typing the url in their broswer to get the
> code.
i'm not sure what you're talking about here...php code is parsed on the
server then the html is sent to the browseronly way to get code is
if there's a .phps copy of the file accessible on the web
> Let's
Brandon Orther wrote:
>
> Hello,
>
> Is there a way to execute a CGI script while in php?
>
> Brandon Orther
>
> --
> 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 administra
> the much easier method is to change all your code extensions to be either
parsed or forbidden in httpd.conf
>
>
> AllowOverride AuthConfig FileInfo Indexes Limit Options
> Order allow,deny
> Deny from all
>
>
> or
>
> AddType application/x-httpd-php .inc .ph
Hello,
Is there a way to execute a CGI script while in php?
Brandon Orther
--
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]
make a file called, test.php
with these lines in it:
stick it into your web server directory and point a browser at it, if it
doesn't work send error messages.
Keith
On Thu, 15 Mar 2001, Norberto Rojas wrote:
> Hi:
>
>I've trying to install PHP4 without good results:
> The steps i follo
Hi:
I've trying to install PHP4 without good results:
The steps i follow were:
1: gzip -d < php-4.0.4pl1.tar.gz | tar xvf -
2: cd php-4.0.4pl1
3: ./configure --with-nsapi=/usr/netscape/server4/ --enable-tracks-vars
--enable-libgcc (because i want to uset with iplanet web server)
4: ma
The Zend encoder seems cool, but for $2400? What happened to the Zend
Compiler, is that what the Zend Encoder is? The Zend Encoder would
definetly be worth it if you were selling your code, but I haven't tried
it out.
Keith
On Thu, 15 Mar 2001, ..s.c.o.t.t.. [gts] wrote:
> since PHP is executed
of course it's possible... :)
> -Original Message-
> From: Brandon Orther [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 15, 2001 5:33 PM
> To: PHP User Group
> Subject: [PHP] Has anyone got MSSQL2000 to connect and work properlly?
>
>
> Hello,
>
> I am trying to get PHP4 to conn
1 - 100 of 275 matches
Mail list logo