Hello. I have a computer at my office running Apache
that I use to run PHP scripts with using
http://localhost.
Is there anyway I can set up my computer to allow me
to dial-in from home and use the webserver and my php
applications?
It is a win 98 system with tcp/ip.
my phpinfo output does not have that particular init
value disable-url-fopen-wrapper. allow_url_fopen
is enabled, safemode is off, and include_path is set
to .:/usr/local/lib/php. further ideas?
--- Curt Zirzow [EMAIL PROTECTED] wrote:
* Thus wrote Police Trainee
([EMAIL PROTECTED]):
When
Warning: main(http://143.43.222.103/sga)
[function.main]: failed to create stream: Invalid
argument in
/hsphere/local/home/domain/mydomain.com/includesite.php
on line 2
Warning: main() [function.main]: Failed opening
'http://143.43.222.103/sga' for inclusion
(include_path='.:/usr/local/lib/php')
When the server upgraded to php 4.3.1 from 4.2.x, I
was no longer able to include remote html files.
allow_url_fopen is still enabled and no other settings
have changed. Running Apache 1.3.27 on Linux.
This is one line that I use to call the remote html
file. It also has not changed since the
one method that i have found works for me (albeit not
so pretty, neat, or concise) is to pass js variables
through a url request. Ok follow me for a little if
you will (it's bulky, but it works!)
1) user loads a page (e.g.
your-domain.com/index.phtml)
that page contains the javascript which
I have been trying to figure out how to execute
commands on a win 98 system with php and apache.
exec(), system(), and shell_exec() seem to work when i
try to execute a command (such as netstat -n or
dir) because I can see the ms-dos window open on the
system, run the command, and then close.
Because when you use php to make a file/directory, the
webserver makes the owner the webserver (usually
nobody). Unless you log in as nobody (or whatever
respective name), you will not be able to modify the
permissions or delete the file/dir. However, when
logging in and making a file with 777
Well, constructed from the help i received from some
of you, this is the end result of my attempts to be
able to send email to everyone listed in a file and
including their names in the email. i would appreciate
any feedback or suggestions for simplification, etc.
Well, constructed from the help i received from
some of you, this is the end result of my attempts to
be able to send email to everyone listed in a file
and including their names in the email. i would
appreciate any feedback or suggestions for
simplification, etc.
Hi all. I really wish I could contribute here and help
people out too but i don't know a fraction of the
stuff that you gurus do.
I try not to bug you all with too many questions and
try to figure it out/learn on my own as much as
possible.
I am trying to figure out how i could send an email to
Hello. I just finished creating a simple input form in
which the contents of a textarea get written to a file
which in turn gets read by a particular page. is there
anyway to disable any html or php tags that the user
might have typed in? it seems pretty dangerous to
allow a user to enter any
good evening gentlemen. I am attempting (with my oh so
limited php writing abilities) to write a script that
will take the second part of a form item's data and
process it separately. To elaborate:
form method=post action=$php_self
input type=radio name=FORM_ITEM value=TextHere,5
input type=radio
Hello. Can anyone tell me how to resolve an IP into a
hostname? I've tried $REMOTE_HOST but all i get back
from it is the ip or blank. Is there another
environmental variable i need to use or do i have to
do something more complicated?
thanks so much!
-mark
hello. i am trying to write a simple php line that
checks the REMOTE_ADDR variable and see if it comes
from a specific netblock (to see if A.B.C is contained
in a REMOTE_ADDR of A.B.C.D) But how do i do this?
i know there is a php function that checks the string
for the presence of another one...
of the
string was true i guess... i dunno.
anyone else got another function in mind?
--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
strncmp()
MANUAL!
bvr.
On Wed, 16 Jan 2002 10:41:51 -0800 (PST), Police
Trainee wrote:
hello. i am trying to write a simple php line that
checks
Hello. I was trying to determine if PHP has the
ability to access BIOS information in a WIN
environment. Specifically, I would like to have PHP
access the cpu temperature as appears in the BIOS
menu.
I am running Apache 1.3.14. The board is a PC 100
Super 7 M598.
Any help/thoughts/ideas greatly
i've been told that the files must be owned by the
same person that owns the httpd. using ps ef |grep
httpd, it says grep httpd USERNAME=
ENV=/home/police/.bashrc HISTSIZE=
my unix login is police. so, what does this mean as
far as trying to get my chmod command to work?
thanx
can anyone help?
safe mode is set to 0, which i believe is off.
i put a chmod command in one of my scripts and got the
following error on running it:
Warning: chmod failed: Operation not permitted in
/path-here/index.phtml on line 1
why won't chmod work?
the chmod command i used is:
to
chmod the file. Doesn't have
anything to do with your PHP configuration.
Jason Bell
- Original Message -
From: Police Trainee [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Friday, August 31, 2001 11:43 AM
Subject: [PHP] chmod failed: Operation not permitted
can anyone
I recently downloaded the ArGoSoft mail server that
someone on this list once suggested when trying to use
the mail command on a window's system running php.
I have since installed it and it works fine, except
for the fact that my isp blocks connections to port 25
that will relay email to other
20 matches
Mail list logo