Hi,
Is it possible to make PHP be able to communicate with existing C/C++
libaries/programs in Unix/Linux environments? That is, I may send a
message to the C/C++ stuff, and get some feedbacks from them.
This is needed because there are already some C/C++ codes in use, and it is
not a good
Hello !
I have a side, which I can only access when a special cookie is set. I
want to access and analyse the side with php.
So I could not use fopen("http://www.thesidename.com", "r"), because
this will not transmit the cookie.
I thought of something with sockets and sending a HTTP-Get with
-Original Message-
From: changelog [mailto:[EMAIL PROTECTED]]
Sent: 15 March 2001 02:09
To: [EMAIL PROTECTED]
Subject: [PHP-CVS-DAILY] cvs: php4 / ChangeLog
changelog Wed Mar 14 18:09:19 2001 EDT
Modified files:
/php4 ChangeLog
Log:
Hello Martin,
Thursday, March 15, 2001, 11:20:58 AM, you wrote:
ML Is it possible to make PHP be able to communicate with existing C/C++
ML libaries/programs in Unix/Linux environments? That is, I may send a
ML message to the C/C++ stuff, and get some feedbacks from them.
For programs, use
On Thursday 15 March 2001 02:59, Jonathan Sharp wrote:
So i've heard bits and pieces that JavaDoc can parse out comments about
php...
does anyone have an example of a command line call to javadoc passing a PHP
file?
I've written an alternative PHP documentation tool. You can get it from:
Morning,
I have a section of HTML that Is added to a page if a user logs in successfully.
Itis about 30 lines long, and I have included it in each page. What I would like
to do, is to have the HTML on a seperate file, and have the PHP call it if and
when a user logs in.
Is this possible?
On my Linux RH 6.2 computer, when working with Apache, mySQL and PHP, there
is no problems showing the source code to my code developing friends. If I
rename the php-file to phps it works just well.
BUT, when doing the very same thing on my W98 or W2k machines, the source
code will not show. The
Is there a possibility that the imap_sort function is not capatible with APPLE servers?
For my unix server, I have used the lastest imap services?
Still problem persist for imap_sort to APPLE imap servers.
terrence
Chris Lee wrote:
imap functions are notorious for not returning anything
emile Thu Mar 15 02:56:56 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
Remove php_error for situations where Midgard is loaded but not configured
(which is valid).
Index: php4/ext/midgard/midgard.c
diff -u php4/ext/midgard/midgard.c:1.22
Jonathan Sharp schrieb:
So i've heard bits and pieces that JavaDoc can parse out comments about
php...
That's wrong. JavaDoc utilizes the Java Compiler. Check the PEAR
repository there's a JavaDoc like tool in it.
Ulf
--
Ulf Wendel, NetUSE AG Siemenswall, D-24107 Kiel
Tel: +49 431 386
How do i forward POST data from a php script. Obviously GET is simple
(just script.php?$QUERY_STRING) but how does it work with post?
Thanks.
Nick.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hey!
The function 'eval()' can't be used here.
I already tried working with it and failed.
eval() is being used for running PHP code.
My string contains HTML tags with PHP code inside(in '?php' and '?' tags),
not only PHP as eval() requires.
Do you have any other suggestion?
Thank you in
the connection will close when you hit cancel but the PHP
code can continue running if you choose.
Really?!?
How do you choose to have the PHP script continue even if a browser
leaves/dumps?
I've always wanted to do that. Didn't know it was possible.
--
PHP General Mailing List
On Wednesday 14 March 2001 12:50, you wrote:
My string contains HTML tags with PHP code inside(in '?php' and '?'
tags), not only PHP as eval() requires.
Do you have any other suggestion?
AFAIK there's no other way than using include().
Why do you need that anyway?
What should I do in
You can also use the curdate() function in the MYSQL syntax.
e.g. insert into table (datefield) values (curdate());
Cheers
Kee Yong
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
On Thursday 15 March 2001 03:26, you wrote:
Hello Keith, thanks very much. Sorry because I forgot explain
following: picture files really are uploaded to host server, because I
check temp file and they are ok (I check $userfile_temp variable). My
problem is: I can't move, copy, rename or
How could make a function to write number in extense, example:
Write 10
soon below appearsTEN
How ?
Thanks
Marcel Henrique
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
On Thursday 15 March 2001 06:37, you wrote:
Does your Apache hang?
Is that normal?
To have commands sitting for 1-2 minutes?
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME
COMMAND [[ snip some other processes here ]]
12345 www9 0 4648 4648 2240 S
On Thursday 15 March 2001 08:34, you wrote:
If you want to get round-trip times including transmission to the user,
you'd need to have some way of getting the user's browser to record a
second request, which introduces a lot of potential variables.
Why not simply use "ab" (the benchmarking
On Thursday 15 March 2001 07:50, you wrote:
file. In qa.php3 I have the following line which seems to create a file
if it does not exist:
$answerFile = "$questionFileName-A.txt"; Then I go along and open this
later with $wa=fopen("$answerFile","a");
In problem shooting I tried uploading a
Hi there,
Does anyone know how I can read the address of URL the user filled in in
his/her browser???
Greetings,
Geer
--
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
Hi all,
To explain my problem, I'll have to draw a directory structure (please
bear with me :-):
web-server-document-root
|
+--dir:common-pics
|
+--dir:sub-dir1
||
|+--dir:sub-sub-dir1
|
+--dir:sub-dir2
|
+--dir:sub-sub-dir2
sorry, I've been writing javascript, and also didn't check the validity of
the array_search function ... this works (and is simpler anyway)
?php
function ArrayCompare($array1, $array2)
{ $answer = Array(); // sorry about the js creeping in here
foreach ($array1 as $key=$element)
Hello !!
I have insalled php on my windows 98 machine.But the mail() function does
not work.
Can anyone give me info as to how to use the mail() function in
php.Or rather should i require any configurations on my machine.
please help
thanx in advance
Nilesh Parmar
--
PHP General
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 rcpt
it should be quite easy, but I lack time
I am trying to get a list of all directories within a specified
directory.
Any ideas how to do this?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators,
Hi
You mast have some mail server installed, or an access to one.
Then you have to configure your PHP.ini file:
1. If you are running under Windows:
[mail function]
SMTP= address of the mail server (mailserver.com
or IP address)
sendmail_from = [EMAIL
Hi...
..where i can found documentation abour the use and the installation of MCAL library
in Solaris plattform?
Robert Celestino.
This will work fine. The script will continue to run after the meta refresh
unless the exit is there.
-Original Message-
From: Carfield Yim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 3:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Will my script run after redirect?
if(
Hey!
I would like to thank you and Mark for your quick reply.
What am I trying to accomplish is the following:
I have created an engine which separates my website's code and design.
The code is stored in one file(code.txt) and the design in
another(design.txt).
The engine loads up
Hi,
I need to build two copies of a website on one machine - one for development
and one for a backup. I want to be able to use different php.ini files with
each copy of the site. Can I do this without compiling two Apache/PHP
excutables? ie can it be done with virtual hosting somehow or by any
We just started doing this using Apache's virtual hosting and .htaccess
files to alter php.ini's configuration settings on a per application basis.
Haven't played with it much yet, tho. Looks good so far.
-Original Message-
From: Kevin Porter [mailto:[EMAIL PROTECTED]]
Subject: [PHP]
-Original Message-
From: Kevin Porter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 9:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP] separate php.ini files
I need to build two copies of a website on one machine - one
for development and one for a backup. I want to be
Can anyone tell me why the following code returns 0 instead of 3600 seconds?
?php
$gmttime = gmmktime(1,0,0,1,1,1970);
echo "gmttime = $gmttimebr\n";
?
However, using mktime() for the same date does produce the correct output,
which for my timezone (CST) is 25200 seconds. Furthermore, running
Hello,
This is a sample php code that doesn't work on my workstation.
?php
$s = eregi_replace ("a(b)c", "A\\1C", "abc");
echo $s;
?
The ouptut is "A\1Cbc" instead of "AbC".
Debian Gnu/Linux 2.2
Apache 1.3.14
php 3.0.18 (apache module)
Thanks for your help.
--
Alain FORCIOLI
Risc
On Wednesday 14 March 2001 16:26, you wrote:
Hey!
I would like to thank you and Mark for your quick reply.
What am I trying to accomplish is the following:
I have created an engine which separates my website's code and
design. The code is stored in one file(code.txt) and the design in
Hey Don,
I'm sure most of us have experienced problems with PHP and MySQL, but of
a programming error, not usually a "bug". Do you have some code you
could share? I'm using PHP and MySQL with lots of forms and things are
great.
jack
Don wrote:
Hello,
Has anyone run into problems using
On Thursday 15 March 2001 16:05, you wrote:
I am trying to get a list of all directories within a specified
directory.
Any ideas how to do this?
go through all entries of the dir.
on each entry check if it's a directory.
if it is, list it
For all other questions on this topic check the
Can you set, in your script, where the files are uploaded so that the
files can be uploaded into a directory that allows you to do a copy.
Keith
On Wed, 14 Mar 2001, Mig wrote:
Keith Vance wrote:
You should be able to do something using PHP, try looking here,
For some reason the number of hits value is not getting replaced [after
incrementing] into the original counter file.
any help would be appreciated. here is the code :
?php
$cntfile = "count"; // The filename where the number of hits is stored, if
there isnt one then make it put the number 0 in
You could can "forward" posted data the same way if you wanted to. I don't
know what you mean by forwarding. But if you had one script that was a
form and the action was set to a script called action.php and then you
wanted to pass that data to yet another script, you could pass the values
in the
Is is permissions of the Apache process?
Well, no, I'm not sure... I, personally, am a graphic designer that used to
program and somehow got suckered into programming again.. however, the person
in charge of teh server came to this conclusion for us and wether he is righ
or wrong, we have to
I'm going to use the curl libs. But FYI i was wanting to forward the data
again using post.
On Thu, 15 Mar 2001, Keith Vance wrote:
You could can "forward" posted data the same way if you wanted to. I don't
know what you mean by forwarding. But if you had one script that was a
form and the
Hi (again).
Is there a simple was to take post data from a form and create a
query string out of it?
Thanks.
Nick.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
One problem is that you call counter "counter" in one location
and call it "counter1" in another location, otherwise, I don't
think many things happen successfully inside of square brackets.
This problem, and general readability can be enhanced by putting
spaces around '=' in your code.
So,try
Check out :
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1501
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1697
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1359
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1552
The problem I have it's an entire story.
First of all, I will tell you that knows a little more about Linux.
I created a chat software with couple php scripts.
The chat it's using MySQL.
I think the chat software is good (not the best one) but first of all is
easier to use than what I saw on the
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.
regards
--
PHP General Mailing List
Don wrote:
Hello,
Has anyone run into problems using PHP to access a database (MySQL) and
build a form. I am trying to build a form that contains anywhere from
10 to 20 tables. Each table will contain drop down menus, text boxes
and text areas. As you may envision, this form can be
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 PHP and the book that I bought.
Also I would like to
What is faster for a chat php software ?
To use a file for write or to use a MySQL database ?
Marian Vasile
IT Manager
Schnecker van Wyk Pearson
www.investments.ro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I think this discussion just took place, try searching the mailing list
archives for "good php editor"
Keith
On Thu, 15 Mar 2001, 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
I would guess that file access is faster, try it out. write a simple app that will
write data to a file, close it, open it write it etc. compare this to same on a db.
every computer every server is differnet, test to see what is fast on your system.
thats ultimitly the most importnat no? that
askedagain.com/net/org are available.
on 3/15/01 9:17 AM, RBL at [EMAIL PROTECTED] wrote:
I once thought a great product for mail lists (would require an admin
interface, PHP?) would be a way to put into the list mail signature a random
FAQ link.
Fill that particular FAQ with commonly
PHPLIB http://phplib.netuse.de/ has a Query class in sql_query.inc which is
used in conjunction with the DB_Sql class.
It can be used to create dynamic insert and update queries by assuming that
global variables exist which map onto a paricular tables field.
You basically name the table and it
Or what would be more interesting would be some sort of buffer between you
and the list, ie:
you send an email to the list
the listserv picks the 3 best matches to your email from a database of faqs
AND/OR
the listserv picks the 3 best matches to your email from a database of the
list's threads
alot of times when people ask this question they are sking the quesion because they
are coding this logically incorrect, Im sure this isnt that case for you though.
?php
function make_args()
{
global $HTTP_POST_VARS;
if (isset($HTTP_POST_VARS))
{
foreach($HTTP_POST_VARS as $pos=
I'd just like to offset my other email by saying that a faq is often no
substitute for the knowledge and experience of this list's members. In a
strange way, the 'dumb' question this list gets proves the a faq can not be
expected to know the right way to answer a query. A list member out there
Don wrote:
Hello,
Has anyone run into problems using PHP to access a database (MySQL) and
build a form. I am trying to build a form that contains anywhere from
10 to 20 tables. Each table will contain drop down menus, text boxes
and text areas. As you may envision, this form can
Cool idea,
I am going to add that to the spec for the mailing list program we are
working on.
it is relatively simple if you put it there when you are planning the app.
At 09:17 AM 3/15/01 -0800, RBL wrote:
on 3/15/01 9:04 AM, Rick St Jean at [EMAIL PROTECTED] wrote:
Also I would like to
uw Thu Mar 15 09:30:02 2001 EDT
Modified files:
/php4/pear/XML Parser.php
Log:
- lots of whitespace (tabs vs. spaces)
- added basic inline docs
- added error handling to the constructor
Index: php4/pear/XML/Parser.php
diff -u
this works for me
?
include_once('cookie.egn');
include_once('database.egn');
function bad_passwd()
{
echo "You have entered an invalid password.br\n";
exit();
}
if ( isset($PHP_AUTH_USER) AND isset($PHP_AUTH_PW) AND $peop_r =
fetch_db_value('people_manager', "WHERE username =
If the keywords inputted from user are: "word2, word1", it
will reture News1 twice:
That's because you are selecting all the records that match
each single key word individually.
I want to search this table based on the Keywords. the code is:
$split = explode(" ",$keywords);
$Num = 0;
thanks a lot for the feedback, but I must confess it didn't work.
I tried to create a file, named it phpinfo.php, content:
?
phpinfo();
?
but W2k doesn't know how to open the file. Nevertheless i installed PHP the
way it is described in the install.txt file. What am I doing wrong?
Please help
Agreed. I think that JSP in some cases would be faster because the JVM is
always running. Really depends on the structure of the code and what's it's
doing.
The first time a JSP is run it'll compile, so it's slow, but after compilation
exists
its fine.
If you're doing database stuff, that'll
you can use 'limit x,y' in MySql.
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
I just finished coding everything on a project it was working (all
nighter), and now something I just changed is causing this error
"Can't redeclare already declared function in "
There is no duplication of functions declarations.
The thing is it is basically saying that no matter what
The default value is null in the database.
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 12:20 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Variable value doesn't stay "Null"
You may want to check the field definitions in the database
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Elan)
wrote:
I have a string, "'abc'". How do I convert it to "abc" (i.e. how do I
strip the embedded single quotes) with a minimum of overhead?
If there's no chance that the string could also contain legit single-quotes
(such as as an
Hello..i'm veri tired, and i am going to require your help.
I need to make some operations with a cuadratic curve. But with the current php
code...
?php
$curve = new Java("java.awt.geom.QuadCurve2D.Double")
?
... i get this error:
Warning: java.lang.ClassNotFoundException:
I thought it will say, which function it can not redeclare.
How many functions you have in the file?
If it is small number, you could comment out each function and see which
one is casuing the problem.
Jack Sasportas wrote:
I just finished coding everything on a project it was working (all
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 there a way
for php to intelligently keep track of time and when the certain time of
the event hits, to trigger an event - such as an email. Any help will be
use the following code
$vals=explode("'", "'abc'");
$your_value=$vals[0]; //I am little confused, if it is not working try
index1
Elan wrote:
Hi,
I have a string, "'abc'". How do I convert it to "abc" (i.e. how do I
strip the embedded single quotes) with a minimum of overhead?
(In case
sorry, i've just configured that in the Windows 2000 "Internet Services
Manager"
the point: Standard website (i don't know if it is called like that in the
English version, because i'm using the German one)
if you can tell me what's missing, i would be very thankful! I've downloaded
an apache
uw Thu Mar 15 11:44:47 2001 EDT
Modified files:
/php4/pear/XML Render.php
Log:
- removed all methods that did the same like the (parent) methods in XML/Parse.php
- added todo to the inline docs
After this there's only one method left at all which
ok, me again... (sorry for that guys)
i added as the file supposed me to, the lines of this install.txt file to my
httpd.conf file, and modified them to my directories. I've even started my
apache server, but it doesn't work.
hell!
-Ursprngliche Nachricht-
Von: Virtual Evil
Hi,
I'm working on something like this too. I was hoping to be able to
put something like this into an icapd server because my app might
have been able to use mcal. It was too much effort though, so I'm
looking at doing it with cron.
Let me know if you find a more creative way of doing it.
-
uw Thu Mar 15 12:39:14 2001 EDT
Modified files:
/php4/pear/XML Parser.php
Log:
- put the todo list into the inline docs
Index: php4/pear/XML/Parser.php
diff -u php4/pear/XML/Parser.php:1.9 php4/pear/XML/Parser.php:1.10
---
This was sent off-list. I respect that. And it voices some opinions.
I am not flaming newbie questions. I am a newbie myself.
I do have a problem with the same questions coming up 3 times in a row.
With developers asking people to do simple logic. And people not looking
for answers before
how funny! Erwin Teufel... deutsche Politiker werden mir da wohl kaum helfen
konnen. Ich verstehe nicht, wieso du hier permanent versuchst Fragen von
neuen Menschen total nieder zu machen. Ich mochte gar nicht wissen, was du
zu einer Zeit als du Anfanger warst fur Fragen gestellt hast, und
The "flaming" answer was just "getting air".
I've spend the last 2 hours reading ALL 499 postings in these forums. And
learned a LOT more than spending 20 hours in the manual.
Also some basic technics where quite usefull.
Your'e right about simple HTML, but if You want to use input from Your
Hello,
I just finished Installing Win2k Advanced Server and And MsSql 2000. I have
apache as my web server and wanted to know the correct procedures to get
PHP4 connected to a MsSql database. if anyone has gone through this before
please hook me up with the info.
Thank you,
How would I use FOPEN to validate a URL?
here is what I already have and it's not working properly.
$url=$row[url];
echo "Old URL = ".$url."br";
$fp = @fopen($url,"r");
if ($fp){
echo "Valid URLbr";
}else{
echo "URL IS NOT VALID";
$url="http://";
}
echo "New URL = ".$url."br";
Kenneth R
Kathleen Ballard wrote:
Mig,
This is some code I was sent when I needed to display images that were
located outside of the web dir.
~~
If you want the images outside the web-tree, your image tag would be more
like this:
IMG SRC=display.php3?imagefile=happy.gif
Then
this is a PHP list.
your problem is with java, not PHP
-Original Message-
From: Celestino Roberto Alejandro [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 3:34 PM
To: Lista PHPGral
Subject: [PHP] Error working
Hello..i'm veri tired, and i am going to require your
try using include_once() and require_once()
in place of include() and require()
also, make sure you havent defined any functions
that match PHP internal funcs.
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 3:29 PM
To: php
Subject:
CanPHP work with interactive shells such as
telnet like Expect does?
ie:
waitfor "ogin:"
put $login
waitfor "assword:"
put $password
etc.
TIA! :-)
Clayton DukesCCNA, CCDA, CCDP,
CCNPInternetwork Solutions EngineerInternetwork Management
EngineerThrupoint, Inc.Tampa, FL(c)
Hello,
I am trying to get PHP4 to connect to Microsoft SQL2000. All I want to know
is if it is possible on a Win Box and a Linux box for server.
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
of course. if it supports sockets then i dont see why it wouldnt
work with a back-n-forth exchange of information over those sockets.
php.net/sockets
look how much smaller that URL is than all the text you typed
out in the message :) always check the online manual first.
-Original
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 connect to
emile Thu Mar 15 13:57:49 2001 EDT
Modified files:
/php4/ext/midgard attachment.c
Log:
closing file after serving it.
Index: php4/ext/midgard/attachment.c
diff -u php4/ext/midgard/attachment.c:1.10 php4/ext/midgard/attachment.c:1.11
---
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
Hi:
I've trying to install PHP4 without good results:
The steps i follow were:
1: gzip -dphp-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:
make a file called, test.php
with these lines in it:
?
phpinfo();
?
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
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]
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 administrators,
snip
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
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:
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
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
I'd
1 - 100 of 177 matches
Mail list logo