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, strlen(
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
> 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 . So I now have two variables $header
and $footer which may or may not contain some php within them. I need
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
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;
> $h
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' fa
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
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 f
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
Use include files to pass your authentication information.
auth.php:
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 740 /your/home/dir/auth.php
On Wed, 19 Dec 2001, Daniel
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
This is mentioned in the php manual, and I have done lot of scripts
of same kind using above tags an' all of them
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 e
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 . So I now have two variables $header and $footer
which may or may not contain some php within th
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.
\n";
}
?>
H
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
perma
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?
>
> --
> *
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 docu
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
ap
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
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 she
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, e-
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.
Jani Taskinen wrote:
> background information:
>
> http://bugs.php.net/bug.php?edit=1&id=11008
> http://bugs.php.net/bug.php?edit=1&id=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 wh
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...
>
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-
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.
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: Tuesda
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
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
Su
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.
>
>text
better yet:
text
to keep weird browsers from doing things you don't expect (li
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, Fre
* 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
> chec
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 al
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.
text
that way, if the client clicks the link/button before the page is done
downloading the page. it won't stop the page from finishing. if yo
Hi,
By any chance that Luke Welling or Laura Thomson is on this list?
--
*** Phillip B. Bruce ***
*** http://pbbruce.home.mindspring.com ***
*** [EMAIL PROTECTED]
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 t
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, Decemb
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
> H
background information:
http://bugs.php.net/bug.php?edit=1&id=11008
http://bugs.php.net/bug.php?edit=1&id=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 i
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 --
if you have lots of links, then doing it this way, IMO, would be
easier/better - so:
function windowPopup(xx) { window.open("info.php?patch="+xx, "_new",
"windowattribs"); }
but if there's only a few links, then placing the window.open code in the
link would be easiest, i think.
-Original
How could I write the function windowPopup(XX) where XX is a variable that
can change from link to link, for a popup info window to load a php file
with the variable XX in the url?
So the link would look like:
Link Text
and I want that link to open the page info.php?patch=XX in a new popup
windo
Help!!! If I'm editing a php file & have it open (or have recently done so)
in notepad sometimes when i do "reload" or open the file in IE6 my computer
pauses for a second, then shuts itself off with a resounding click of the
hard disks and promptly restarts.
I don't think it's a disk problem - i
For reference, I attached README for pgsql session save handler.
It's NOT in 4.2.0-dev, yet.
James Gregory wrote:
> I have need to get php to use postgres to store session information.
> I've changed the directive in php.ini and written a set of functions
> that should do the job and I've made
You have bug in your session handler script.
In code exchange at zend.com, you can find mine.
Search HTTP section.
BTW, I'll add pgsql session handler module.
Anyone could use PosrgreSQL for session storage w/o writing script
from 4.2.0. It's written in C and more efficient ;)
James Gregory wrot
As a designer and a coder, I have always found that it is easiest to have
the layout of the page done before adding the dynamic content. If the
layout is done correctly, it should not be necessary to put in sample data
that has to be removed after.
After joining the workforce, as a database prog
Hello, folks!
I installed PHP4 on Windows 98 with PWS4. When I try to
run a very simple script, I got a just one line error message
"One of the library files needed to run this application cannot
be found". The script is very simple: "", so
I don't think the error has anything to do with it. An
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.
really if they don't want to chop the files up into header/footer
that shouldn't bother you, it makes their job harder since they have
t
sorry, jumped the gun on that last one...
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)
I build ming and follow the instructions in the Readme file.
then I move into php and go:
./configure --with-apache=../apache_1.3.22 --with-g
Hello, I posted a question some days ago, but no answers received. I
notice many people discussing OPEN_BASEDIR apache restriction here, but
all discussion are from server admin point of view.
Let me ask question in another way:
Is it possible to tell HTTP command the complete path/name
into lo
Yikes! You mean they don't use a text editor to for html?
Seriously, you do have two choices here and I certainly prefer the one
suggested below. You may have to talk to the project manager about the
designer's refusal to allow thier precious dreamweaver source files to be
chopped up. On the o
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)
I build ming and follow the instructions in the Readme file.
then I move into php and go:
./configure --with-apache=../apache_1.3.22 --with-gd
--with-ming=../ming
I get the following
Steve is right on the money.
Your function definitions are inside a conditional if statement which means
that they may or may not be parsed. Your call to the function, on the other
hand, is not within that same conditional if statement. That means your
functions is getting called unconditionall
They sound like good ideas, with one quisp.. the sites are currently
being designed in *shudder* Dreamweaver.
They absolutely refuse to chop files up into header/footer includes, and
they want to be able to do all their colour customisation through their
beloved .css files.
Mike
Jimtronic wr
I try to seperate the php code from the html as much as possible. So,
if a page is dynamic, have php figure out the dynamic parts first,
put them into variables such as $html, or $pull_down_menu, or
whatever. Then all that needs to replaced in the html is that
section. HTML coders aren't dumb
yeah
if you just installed, root doesn't have a password.. so you need to not
specify -p (this tells the server to try and authenticate with an empty
password, as opposed to attempting to authenticate with no password..
there is a difference):
mysqladmin -u root password mypassword
Mike
Jer
Hi There,
I'm looking for some community feedback on being a coder working with
designers. Techniques that work that allow my php-inept page/graphic
designer comrade make changes to the layout of the page without
destroying my code, or requiring me to make any changes whatsoever.
Or what is t
Try putting a closing "?>" php tag just before the final HTML.
Jim
- Original Message -
From: "J.F.Kishor" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 5:26 AM
Subject: [PHP] Error while calling a function
> hi all,
>
> I have got a pr
I don't know all the details about how PHP compiles a program, but
having your function definitions in an if-else statement that may not be
executed looks suspicious to me.
You've got
if(!$Phone)
{
do something
}
else
{
function is_phone() { ...blah, blah...}
}
is_phone($Phone);
If
because the while() statement works like this
- do something while x is true. if x is not true dont do anything.
- do something while conent is in the db. if there is no conent in the db
dont do anything.
your if() statement is never run if there is no content.
$return = mysql_fetch_row($result
I would do a mysql_num_row(); on your results to see if it returning
anything at all.
Jim
- Original Message -
From: "Jay Fitzgerald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 12:08 PM
Subject: [PHP-DB] while...i
Does anybody know?
I know gd I edit the makefile and can support older version of freetype
however, for certain reasons I can't install freetype 2, and I was considering
postscript fonts
Does anybody know from experience how to get gd/php working with them?
the goal is just better font support
hi all,
I have got a problem, when I execute the following script it gives
a Fatal error, could any one tell me why is it ?, If this is a silly
problem please execuse me but, plz do reply me.
The script is
-
Telephone Number :
}
else
{
function is_allnu
Does anyone know why this isn't working?? What I am trying to do is display
photos from a database based on each month. This part works fine when I set
it to the current month of December (today) as that is when I uploaded the
photos.
However, when I manually set the date to a month that has n
Hi
http://www.linuks.net/robot.phps
best regards
attila strauss
> Hello List,
>
> I'm currently trying to setup a script which is processing incomming
emails.
> So I setup PHP as CGI and did configurate the email like
>
> robot "|/path/to/the/script.php"
>
> The little testscript I tried lo
Hello List,
I'm currently trying to setup a script which is processing incomming emails.
So I setup PHP as CGI and did configurate the email like
robot "|/path/to/the/script.php"
The little testscript I tried looks like that:
The error which I get is
/path/to/the/script.php: cannot open ?:
\n";
exit();
}
if ( isset($PHP_AUTH_USER) AND isset($PHP_AUTH_PW) AND $peop_r =
fetch_db_value('people_manager', "WHERE username = '$PHP_AUTH_USER' AND
password = '$PHP_AUTH_PW' ") )
$SessionID = $peop_r['peopleID'];
else
{
Header("WWW-Authenticate: Basic realm='$SERVER_NAME' ");
Head
Im attempting to install mysql. The service started and everything seems to
be going ok except for that I can't set the root password for the mysql
server.
To reset password i type:
/usr/bin/mysqladmin -u root -p mypassword
Then I get the following error:
/usr/bin/mysqladmin: connect to server
Jack,
> not sure i follow...you open it with php do whatever you need and close
> it...its just a text file...
It's not just a text file delimited by a colon. You can indeed just type:
user:password
but it should be:
user:crypt(password)
When I perled, I knew how to database a text file deli
Im attempting to install mysql. The service started and everything seems to
be going ok except for that I can't set the root password for the mysql
server. Whenever i type:
I get the following error:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
not sure i follow...you open it with php do whatever you need and close
it...its just a text file...
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 1:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php htpasswd
I'm sure question has been asked
I'm sure question has been asked. How can I edit a htpasswd (apache)
file using a php script? Does anyone have a piece of code? I would like
to see the crypted passwords, but will live without.
Thanks,
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
I found this message on php-general list, and I'm cross-posting the
reply to Smarty list.
I see a couple of issues with passing Smarty object to modifiers.
1. You want to use _current_file and _current_lineno member variables,
but they are only defined in Smarty_Compiler class, and what actually
only thing i could think up would be if a user is dealing with huge amounts
of text and only needs to have the first ten returned, returning/continuing
past that would be wastefulnot confident on how often this would really
happen and what the actual difference would be...
Jack
-Original
configure --help
in other words, no. but there is nothing from stopping you from writing a
module :) im sure there are others out there that would like such a feature,
ie for fax's
--
Chris Lee
[EMAIL PROTECTED]
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">new
that command doesnt even work from the mysql command prompt for me, Ive
never used LAST_INSERT_ID(), but it dont work for me. try it on your mysql
command prompt.
--
Chris Lee
[EMAIL PROTECTED]
"Ise" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
you dont have output buffering on, check php.ini or add it manually to an
.htaccess.
--
Chris Lee
[EMAIL PROTECTED]
"J.F.Kishor" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hello,
>
> I'am trying to create an image using php image functions
> it giv
include() will not handel ssl. include() on a remote site obv. will not
transer access to the variables to the remote site.
your best bet is to encode your session, session_encode(), and either store
it in a common mysql table that both servers have access to (best method) or
to pass it in the ur
try php.ca or any of the other mirrors when php.net is down.
I bet you got that file your running open in an editor eh? close the file in
the editor then run the file, no problems.
--
Chris Lee
[EMAIL PROTECTED]
"Boaz Yahav" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
need more info buddy. does this query work at the mysql command prompt? show
us an example, show us 10 records and accual query being exec and what the
returned result is and what you think it should be.
--
Chris Lee
[EMAIL PROTECTED]
"Fîk ì?çìsâî" <[EMAIL PROTECTED]> wrote in message
[E
Does anyone see a need for a limit parameter to preg_grep() that would
limit the number of array entries returned?
-Andrei
* My wishlist: http://www.amazon.com/exec/obidos/wishlist/2Q2DIPY7BZLSH/ *
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
it has to be done via javascript.
javascript = clientside
php = serverside
if the plugins are on the clientside then javascript is needed. and no,
sorry, I dont know how.
--
Chris Lee
[EMAIL PROTECTED]
"Daniel Reichenbach" <[EMAIL PROTECTED]> wrote in message
01c1816b$ae010230$79601
man that is nasty, but imho because of the constant in and out of php
echo "
link
";
I came across this same problem, I hate the long urls, their ugly, so I
wrote a simple session class to carry my prefs across a page.
carry_class.egn
http://www.mediawaveonline.com/examples/
$carry->add('po
configure --help
ie. nope, nothing there.
--
Chris Lee
[EMAIL PROTECTED]
"Arne Brune Olsen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi
Does anyone know if there is a module for rational rose for generating php
code from UML diagrams ?
Arne
haha, I bet it cant resolve, and I doubt it works on other machines :)
www.myserver,com
www.myserver.com
see the diff? ditch the comma and put a period in insted :) trust me it
happens to the best of us.
--
Chris Lee
[EMAIL PROTECTED]
"Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
01
a good guess would be every email client does it differnetly. unfort Id have
to say try it yourself. Id imagine its long enough that you shouldnt have to
worry about it, but I could be wrong.
--
Chris Lee
[EMAIL PROTECTED]
"Tom Churm" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"
I'll try and answer your questions as will the rest off the forum Im sure,
just post away.
--
Chris Lee
[EMAIL PROTECTED]
"Melva Garcia" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am looking for a mentor to help me along with
> using php and mysq
2k is alot of data to be sending using GET or POST, just leave it on the
server in a session variable.
redirect server 2000 bytes -> client
GET client 2000 bytes -> server
or via sessions
redirect server 50 bytes -> client
GET client 50 bytes -> server
--
Chris Lee
[EMAIL PROTECTED]
"
Header("WWW-Authenticate: Basic realm='$SERVER_NAME' ");
Header("HTTP/1.0 401 Unauthorized");
is the proper http auth hearders, change the realm and you'll have to
re-authenticate.
--
Chris Lee
[EMAIL PROTECTED]
"J.F.Kishor" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">new
break it down.
if ( $ef != 'nm' )
echo "a : $ef";
else
echo "b : $ef ";
if ( $HTTP_REFERER !=
'http://www.globalhealth.org/news/article.php3?id=1526' )
echo "c : $HTTP_REFERER";
else
echo "d : $HTTP_REFERER";
now you can see where the bug is.
--
Chris Lee
[EMAIL PROTECTED]
take them from the arguments list
$argv[]
I know its not what you asked, its just what I answered.
--
Chris Lee
[EMAIL PROTECTED]
"August Zajonc" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Interested in getting a single character at a time on the
its irrelevant. now there is a file system dependancy. in linux is inodes,
not enough and you'll have some problems, win2k I dont know.
--
Chris Lee
[EMAIL PROTECTED]
"Aaustin" <[EMAIL PROTECTED]> wrote in message
002101c18293$671c5d00$0300a8c0@tomato">news:002101c18293$671c5d00$0300a8c0@t
I know this isnt answering your question, but skip cookies and goto
sessions, easier to work with.
now the answer to your question, you need to set the domain and path on your
setcookie()
setcookie('name', 'value', $exp, '/', $SERVER_NAME);
--
Chris Lee
[EMAIL PROTECTED]
"Steve Osborne"
take a look at my session.egn file.
http://www.mediawaveonline.com/examples/
--
Chris Lee
[EMAIL PROTECTED]
"Anthony" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I need some help with sessions. I read the sections in the manual and
> searched for
foreach( $array_name as $pos => $val )
echo "
";
or use sessions.
--
Chris Lee
[EMAIL PROTECTED]
"Gkin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to pass through an array with content to another script. The array
is
> correctly
online editor? you got 1mb free? no? buy a floppy. install ultraedit, it's
the best editor around imho.
--
Chris Lee
[EMAIL PROTECTED]
"R. Lindeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> can someone help get a online editor
>
> thanx
>
> R. Lin
how those remote servers destinguish where the images are coming from is
from the Referr header.
play around with getting the data manually using fopen()/fwrite()/fread()
and your done. not so easy eh, well it works.
--
Chris Lee
[EMAIL PROTECTED]
"Martin Kampherbeek" <[EMAIL PROTECTED]>
sounds like php is having a problem resolving the dns. could be 1 of a 100
things ...
try putting the IP of the machine in vs the domain name.
--
Chris Lee
[EMAIL PROTECTED]
"Martin Leclair" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I hav
Hello,
Using a Solaris box with php 4.0.6 I am having a problem sending mail using
mail(). Sendmail is installed and works. Php.ini points to sendmail. What
do the -t and -i options do? Are they required? Any ideas what could be
wrong?
Here is my code:
if( mail( "myemailaddresshere", "Test"
What application would I need to use this. In this case, no appication.
Just writting the PHP code on the webpage that would work with the modem and
stuffs like that.
Scott
"Nathan Cassano" <[EMAIL PROTECTED]> wrote in message
778f01c187e3$b84b8ed0$2925ae3f@amos">news:778f01c187e3$b84b8ed0$29
1 - 100 of 141 matches
Mail list logo