if you have lots of links, then doing it this way, IMO, would be
easier/better - so:
script
function windowPopup(xx) { window.open(info.php?patch=+xx, _new,
windowattribs); }
/script
but if there's only a few links, then placing the window.open code in the
link would be easiest, i think.
php will return you four $vars to work with.
check this out.
http://www.php.net/manual/en/features.file-upload.php
then work with the tmp file and get done with it what needs to be done
before the script closes cause php will delete the file when the script is
done.
jim
- Original Message
Now I set extension_dir point to correct path in php.ini, the
problem changed: it shows 500 internal server error.
- Original Message -
From: Alex Shi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 5:51 PM
Subject: [PHP] PHP4 on Windows98 with PWS4
Hello,
background information:
http://bugs.php.net/bug.php?edit=1id=11008
http://bugs.php.net/bug.php?edit=1id=14574
exit() function is broken. Fixing the broken behaviour is the
only real solution, IMO.
One solution:
- When passed argument is string: print out this string
- When passed argument is
make sure you copy all the correct dll's into the c:\windows\system or
system32 directory. the dll's have to be in a location that is included in
the window PATH in the autoexec.bat
Jim
- Original Message -
From: Alex Shi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December
Mark [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
well, you don't have to wade through all that html, just put an
include() in there to a file that has all the php in it. then
dreamweaver should leave it alone.
Huh?
Obviously the logic can be included, but
Hi,
By any chance that Luke Welling or Laura Thomson is on this list?
--
*** Phillip B. Bruce ***
*** http://pbbruce.home.mindspring.com ***
*** [EMAIL PROTECTED]
actually Martin, that is what Martin was doing.
href=javascript:function_name() calls to a js function.
my suggestion would be to write it this way.
a href=#no_hash onClick=YourFunction(xx)text/a
that way, if the client clicks the link/button before the page is done
downloading the page. it
On Tue, 18 Dec 2001 16:00:09 -0800, Fred wrote:
Mark [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
well, you don't have to wade through all that html, just put an
include() in there to a file that has all the php in it. then
dreamweaver should leave it alone.
* Mark ([EMAIL PROTECTED]) [Dec 18. 2001 17:44]:
Hi, I'm trying to build php 4.10 with Ming support.
(the ming I get from cvs that is supposed to work with 4.10)
[...]
Configuring libtool
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking
hope you don't plan to use that example table in netscape 4.x
- Original Message -
From: Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 4:10 PM
Subject: Re: [PHP] Working with designers...
On Tue, 18 Dec 2001 16:00:09 -0800, Fred
On Tue, 18 Dec 2001 15:58:10 -0800, Jim Lucas wrote:
actually Martin, that is what Martin was doing.
href=javascript:function_name() calls to a js function.
my suggestion would be to write it this way.
a href=#no_hash onClick=YourFunction(xx)text/a
better yet:
a href=javascript:void(0)
the bad thing is, it will still stop the browser from finishing the loading
of the page.
- Original Message -
From: Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Martin Towell [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 4:16 PM
Subject: Re:
Thank you!
I copied all the .dlls and point extension_dir to corrent path...Okay,
the library file not found problem seems fixed but now the problem
changed to 500 internal server error! I typed php -i from dos shell
and it print correct html code. And I tried both cgi and isapi mode
but got
LOL.
Use Netscape 4.
Now there's a condtradiction you don't hear every day.
Mike
Jim Lucas wrote:
hope you don't plan to use that example table in netscape 4.x
- Original Message -
From: Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December
Jim Lucas wrote:
php will return you four $vars to work with.
check this out.
http://www.php.net/manual/en/features.file-upload.php
then work with the tmp file and get done with it what needs to be done
before the script closes cause php will delete the file when the script is
done.
jim
On Tue, 18 Dec 2001 19:11:02 -0500, Brian Clark wrote:
* Mark ([EMAIL PROTECTED]) [Dec 18. 2001 17:44]:
Hi, I'm trying to build php 4.10 with Ming support.
(the ming I get from cvs that is supposed to work with 4.10)
[...]
Configuring libtool
checking build system type... i686-pc-linux-gnu
well, the class tag in the tr won't work with ns6 , but fortunately for you
( sigh ) ns 6 does include the div tag.
- Original Message -
From: Mike Eheler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 4:28 PM
Subject: Re: [PHP] Working with designers...
LOL.
Jani Taskinen wrote:
background information:
http://bugs.php.net/bug.php?edit=1id=11008
http://bugs.php.net/bug.php?edit=1id=14574
exit() function is broken. Fixing the broken behaviour is the
only real solution, IMO.
Since some people prefer to keep current behavior (for a while?)
On Tue, 18 Dec 2001 16:37:07 -0800, Jim Lucas wrote:
well, the class tag in the tr won't work with ns6 , but fortunately
for you
( sigh ) ns 6 does include the div tag.
well, I don't know what a designer would really want to do with tr
anyway but you got the general idea of what I'm saying.
On Tue, 18 Dec 2001 16:16:20 -0800, Jim Lucas wrote:
the bad thing is, it will still stop the browser from finishing the
loading
of the page.
not in any browser I've tried.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Well, I have encounterd a problem which is quite big (for me), so I hope
I find help here.
My setup is a Linux Machine, running Apache with php as a module.
In order for the webserver to parse the file, i have to give read
permission to world.
This is a problem, because about 100 people have
At 09:49 PM 12/18/2001 +0100, TD - Sales International Holland B.V. wrote:
Also I'm looking for a small feature of HTML. I know this isn't the right
list so if you guys don't reply no hard feelings. At this moment I use meta
to refresh (go back to the form) after entering the data, you'll see a
your scripts have to have to be readable by your apache user/group if it
can't read them then it can't run them. now as for being allowed to only
view files of yours, you would want to place the apache user in your group.
this will give it access to read your files, but so will others running
Maybe you have never had to deal with a dreamweaver created web page, but it
deposits little javascript code all over the page for decoration.
Apparently the dreamweaver designers pick components like rollover menu
images etc and dreamweaver gladly disperses the javascript code throughout
the
Don't recall seeing them here, but many of us have read their book if that
is of any help.
Fred
Phillip B. Bruce [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
By any chance that Luke Welling or Laura Thomson is on this list?
--
hi
i have been trying to write a telnet client to a tn3270 IBM mainframe
database ( pericles.ipaustralia.gov.au:23 ) using fsockopen ...
i thought it wouldnt be that bad given i have done something similar
with usenet ..
however i cannot get it to work no matter what I do .. i just get a
Hi,
I had recent problems like this, and I traced it to firewall issues; however
i just checked the destination, and found it is possible to telnet to that
port, so it's not a firewall issue on their side.
Try using the following code -- and let it run, see what response you get.
?php
$host
Hello all,
Okay here is the situation. I am reading a file using fgets up until I hit a certain
delimiter within the text. No problem there. This text file may or may not
contain php in the format ? blah ?. So I now have two variables $header and $footer
which may or may not contain some php
hi james,
thanks for your reply ..
i was able to connect ( i should have written that in the email) its
getting the info to flush to the screen that i cant do .. it just hangs..
so if you add
something like
while (!feof($fp)) {
echo fgets ($fp,128);
}
fclose ($fp);
to the
Hello Sir,
Thanks for spending time for my mail and thanks for you kind
response, but sir though php is a server side scripting language it
supports the following tag
script language=php/script
This is mentioned in the php manual, and I have done lot of scripts
of same kind using
Use include files to pass your authentication information.
?
include('auth.php');
?
auth.php:
?
$username=foo;
$password=bar;
?
put auth.php in your home directory with you as owner and apache group id
as group, or create a group that contains you and apache user (probably
'nobody').
$ chmod
ok, the idea is this
foreach ( $_user_details as $key=$value ) {
$return_array[$key] = $_user_details[$key];
}
im doing that and i want that when $return_array gets updated and isnt a reference
anymore to be able to add it to the sql for an update, thats no
For a little bit more security, you could find out what user
apache is running as (look in httpd.conf), and chown the
file to that user:group and set permissions 400.
(So that only the apache process can read the file)
However, this is not very secure, becuase a CGI script
could still read your
I'm in a smilar situation. I'm trying to telnet to a
RAS server using php and the process justs hangs. I
tried to telnet to other linux servers as well and the
result was same. fsockopen to other ports such as 21
or even 25 workds. It's just the port 23 that's giving
this strange problem.
So far
Have you tried setting socket blocking?
Here's what I do...
var $connection=0;
$host = pericles.ipaustralia.gov.au;
$port=23;
switch( $connection=fsockopen($host,$port) ) {
case -3:
return(-3 socket could not be created);
case -4:
return(-4 dns lookup on host '$host'
ta lawrence ..
did you get that to work on your server side??
if so maybe its a m$IIS problem (which i am forced to run off) ..
because that code hangs here too
cheers
brendan
Lawrence Sheed wrote:
Have you tried setting socket blocking?
Here's what I do...
var $connection=0;
$host
have you tried the client script at http://php.ca/manual/en/ref.sockets.php
??
this seems to (kind of) work ..
however i get a ton of warning messsages from php such as
Attempting to connect to '202.14.186.30' on port '23'...
Warning: socket_connect() expects parameter 1 to be resource, boolean
Okay here is the situation. I am reading a file using fgets up until I hit
a certain delimiter within the text. No problem there. This text file may or
may not
contain php in the format ? blah ?. So I now have two variables $header
and $footer which may or may not contain some php within them.
Hanging is normal accroding to your code, because the telnet server is
waiting for your handshake signal in order to telnet successfully, you
need to follow the protocal in rfc strictly.
I've wrote a telnet class, although it;s a very rough one, but it work. If
anybody have any change on
HI
I See that the read and write functions have been discontinued in 4.1.0
can anyone tell me if they have been replaced with onther functions that
replace their functionality or how I could implement something like this :
read( stdin , $buff, $length );
write( stdout, $str_return,
101 - 141 of 141 matches
Mail list logo