[PHP] images no appearing

2001-09-24 Thread Adrian D'Costa
Hi, I wrote a php script to create a dynamic graph (image/jpeg). On my development system the image appears on my website it gives Image/Jpeg support not compiled. Below are the config settings: My system: Configure Command ^@ './configure' '--prefix=/usr'

[PHP] Re: ucwords added functionality?

2001-09-24 Thread Adam
i could roll my own, and for now will just use a str_replace after ucwords, but would it be possible to add an optional parameter to ucwords which would be an array of words to skip? i would think this would be useful to many. that sounds like a good idea to me. -- PHP General

[PHP] images no appearing

2001-09-24 Thread Adrian D'Costa
Hi, I wrote a php script to create a dynamic graph (image/jpeg). On my development system the image appears on my website it gives Image/Jpeg support not compiled. Below are the config settings: My system: Configure Command ^@ './configure' '--prefix=/usr'

[PHP] Undelivered Mail Returned to Sender (fwd)

2001-09-24 Thread Adrian D'Costa
-- Forwarded message -- Date: Mon, 24 Sep 2001 08:35:03 +0200 (CEST) From: Mail Delivery System [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Undelivered Mail Returned to Sender This is the Postfix program at host mail.aaz-netmarketing.com. I'm sorry to have to inform you

[PHP] Re: mysql_connect failes w/ variables and defines. why?

2001-09-24 Thread _lallous
Can you show us some code? Dana Holt [EMAIL PROTECTED] wrote in message 000501c143df$dcedbb20$6400a8c0@MORPHEUS">news:000501c143df$dcedbb20$6400a8c0@MORPHEUS... Does anyone know why if I pass mysql_connect() or mysql_select_db() parms as variables or defined constants the connection always

Re: [PHP] Why this error to this newsgroup?

2001-09-24 Thread Adrian D'Costa
This is the same error I get. The question is why the mails is going to: mail.aaz-netmarketing.com when it should be going to : pb1.pair.com Adrian On Sat, 22 Sep 2001, hvm wrote: Hi I have the same and I don't know if some one even get my questions, I never get a response. Maybe the

Re: [PHP] Why this error to this newsgroup?

2001-09-24 Thread David Robley
On Mon, 24 Sep 2001 17:09, Adrian D'Costa wrote: This is the same error I get. The question is why the mails is going to: mail.aaz-netmarketing.com when it should be going to : pb1.pair.com Adrian Well, if you think about it for a minute, you'll realise that it _does_ go to lists.php.net

[PHP] Re: PHP Dreamweaver / Fireworks

2001-09-24 Thread Adam
Sometimes I find it easier to build web tables inside fireworks, but I also need to embed PHP code into the table (ie. to display the date, logged in user, etc). Well, this is a pain because fireworks overwrites the entire PHP file every time I make a change to it. If there's no PHP to embed

RE: [PHP] 404 error

2001-09-24 Thread Tim Ward
But how did you get the PHP code to run if the file doesn't exist? If a file with a php extension is requested Apache thinks the error returned by the PHP parser is a valid response to the request and auto_prepend only seems to work after the parser has got the file for parsing. I've tried

[PHP] Installation Problem :PHP 4.06 + NT4 Server + Service Pack 6

2001-09-24 Thread Kiat Kin
Anyone successfully doing the installation on following combination. PHP 4.06 (ISAPI) + NT4 Server + Service Pack 6 Installation is run smooth but it seem that the php engine down after operate for a minute only. TIA, Kin -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: PHP Dreamweaver / Fireworks

2001-09-24 Thread drb
I use Edit Plus on a windows machine - great text editor - check it out, easy to make tables as well. http://www.editplus.com/ the best program I ever purchased! DRB Adam [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | Sometimes I find it easier to build web

RE: [PHP] Assistance Please - Two-Dimension Arrays

2001-09-24 Thread Tim Ward
Congratulations. You just described a multidimensional array :-) No he didn't ... a 2 dimensional array would have a set 2 dimensional structure. Each row would have to have the same number of columns. An array of arrays may be built in such a way as to be able to be presented as if it

[PHP] WEB LOG

2001-09-24 Thread Ardani Sarjito
hi all! I'm just about to try to make my first weblog page. I find some problem. I want to make the user not being able to go to the destination page if the password does match. how do I do that? any help would be greatly appreciated. Thanks alot! Ardani -- PHP General Mailing List

Re: [PHP] ucwords added functionality?

2001-09-24 Thread Steve Edberg
I came up with a function to to that last month; see the PHP archives: http://marc.theaimsgroup.com/?l=php-generalm=99778991424637w=2 -steve At 11:20 PM -0400 9/23/01, Jack Dempsey wrote: i could roll my own, and for now will just use a str_replace after ucwords, but would it be

Re: [PHP] 404 error

2001-09-24 Thread Christian Reiniger
On Monday 24 September 2001 10:08, Tim Ward wrote: But how did you get the PHP code to run if the file doesn't exist? If a file with a php extension is requested Apache thinks the error returned by the PHP parser is a valid response to the request and auto_prepend only seems to work after the

Re: [PHP] Assistance Please - Two-Dimension Arrays

2001-09-24 Thread Christian Reiniger
On Monday 24 September 2001 11:15, Tim Ward wrote: Congratulations. You just described a multidimensional array :-) No he didn't ... a 2 dimensional array would have a set 2 dimensional structure. Each row would have to have the same number of columns. An array of arrays may be built in

RE: [PHP] 404 error

2001-09-24 Thread Tim Ward
But if the file has an extension that you have told Apache to associate with PHP, it gets sent to the parser before Apache checks to see if it exists. The paresr then sends back an html page with the error on, so Apache thinks it has found the page. At least that's what happens on our server. Am

Re: [PHP] 404 error

2001-09-24 Thread Richard Baskett
You need to create an .htaccess file with this inside of it: ErrorDocument 404 /yourfulldirectory/404.php What this does is tells your server where to look when it has a 404 error. You can put an .htaccess file in each directory so each directory will have a different 404 error. Or you can put

Re: [PHP] 404 error

2001-09-24 Thread Christian Reiniger
On Monday 24 September 2001 12:30, Tim Ward wrote: But if the file has an extension that you have told Apache to associate with PHP, it gets sent to the parser before Apache checks to see if it exists. No. If it really does that you misconfigured apache. The paresr then sends back an html

RE: [PHP] Assistance Please - Two-Dimension Arrays

2001-09-24 Thread Tim Ward
fair point, ... but you can manipulate them as if they were. This isn't the case with arrays of arrays and multi-d arrays. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html

Re: [PHP] WEB LOG

2001-09-24 Thread Chris Herring
Oops, I looked through this too fast; I might have worked out what really needs to be done... if $pwd == $real_pwd { header (Location: http://actualdestinedsite;); } elsif { header (Location: http://evilsitethathasanerror;); } - Original Message - From: Ardani Sarjito [EMAIL PROTECTED]

Re: [PHP] WEB LOG

2001-09-24 Thread Chris Herring
OOPS, again, elseif isn't what needs to be done. Ok, here we go. if $pwd == $real_pwd { header (Location: http://therealsite;); } else { header (Location: http://badsite;); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] include XHTML document

2001-09-24 Thread cweiske
Hi I wrote my new page in XHTML 1.0, split it and wanted to include the top part of the file with the include( page_top.htm). The problem is, that the valid XHTML document has to begin with ?xml version=1.0 encoding=iso-8859-1? The problem now is, that ? is interpreted as a begin of php

[PHP] An Email RE: [PHP] include XHTML document has been trapped

2001-09-24 Thread MAILsweeper
The email RE: [PHP] include XHTML document from [EMAIL PROTECTED] to [EMAIL PROTECTED] [EMAIL PROTECTED] contained script similar to known Worm viruses. As a precaution this has been held in quarantine. The message will be held for up to 20 days, for further checking. Please notify the

[PHP] Hello, I'm new one here

2001-09-24 Thread Kamil Nowicki
Hello there! I'm new one on this mailing list, and at the begining of this mail I would like to excuse myself for my poor english. I have a question about cURL library in Apache: Is it capable of making SSL (https) link to specific server using specific CRT formatted certificate?

Re: [PHP] include XHTML document

2001-09-24 Thread Tim
On Mon, 2001-09-24 at 08:04, cweiske wrote: I wrote my new page in XHTML 1.0, split it and wanted to include the top part of the file with the include( page_top.htm). The problem is, that the valid XHTML document has to begin with ?xml version=1.0 encoding=iso-8859-1? The problem now is,

[PHP] Thank you

2001-09-24 Thread cweiske
Hey, thank you! The short_open_tag worked ;) But, wouldn't it be good to take out this feature? More and more pages are being written in XHTML, and XML support is growing. So this function just causes errors - take it out, be more strict! Christian Weiske Christian Weiske, RealDreams

RE: [PHP] installing PHP with-apxs with-oci8 --with-oracle onLinux - remote oracle

2001-09-24 Thread Andrew Hill
Jeffrey, Ensure your ORACLE_SID is also set. This is a case of Oracle environment variables. Log in as the oracle user and look at the output of an 'env'. You are missing something there. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com

Re: [PHP] WEB LOG

2001-09-24 Thread Jeffrey Paul
At 07:08 AM 9/24/2001, Chris Herring wrote: OOPS, again, elseif isn't what needs to be done. Ok, here we go. if $pwd == $real_pwd { header (Location: http://therealsite;); } else { header (Location: http://badsite;); } For the record, that won't stop someone from going to the destination page

Re: [PHP] WEB LOG

2001-09-24 Thread Andreas Gietl
On Monday 24 September 2001 16:04, Jeffrey Paul wrote: Well. If you check the HTTP_REFERER on the target-site it would work and give you at least some security. However it is still not really secure. At 07:08 AM 9/24/2001, Chris Herring wrote: OOPS, again, elseif isn't what needs to be

RE: [PHP] search engine submission

2001-09-24 Thread Jon Haworth
You can find this code all over the web, an example of it can be seen at most search engines on the Add a URL page :-) What are you trying to do? Cheers Jon -Original Message- From: Krushna Kumar R [mailto:[EMAIL PROTECTED]] Sent: 24 September 2001 15:08 To: [EMAIL PROTECTED] Subject:

Re: [PHP] WEB LOG

2001-09-24 Thread George Pitcher
Hi all, I'm new to php but I would look at the concept of setting a cookie on the log-in page and then testing for that cookie on the http://therealsite page and redirecting failues accordingly. In fact that could be set into every page to make sure that people have to go thru the log-in page.

Re: [PHP] WEB LOG

2001-09-24 Thread Jeffrey Paul
At 10:09 AM 9/24/2001, Andreas Gietl wrote: Well. If you check the HTTP_REFERER on the target-site it would work and give you at least some security. However it is still not really secure. Wrong. Many browsers don't send the Referer: header, not to mention it's downright trivial to spoof it.

Re: [PHP] Site Search

2001-09-24 Thread Sheridan Saint-Michel
I posted an example Site Search program to zend. You can view it here http://www.zend.com/codex.php?id=452single=1 Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: vishal khialani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] Need help with auto_prepend_file

2001-09-24 Thread Michael Champagne
Our website relies heavily on include files. We have a single include file that is 'auto prepended' to every php file on the site using the auto_prepend_file directive in php.ini. This include file does an include_once on other include files. Also, most parts of our code include other page

[PHP] Re: include XHTML document

2001-09-24 Thread Julio Nobrega Trabalhando
echo '?'; ? xml version=1.0 encoding=iso-8859-1? That's how I am putting my XHTML on SF. -- Julio Nobrega A hora está chegando: http://toca.sourceforge.net Cweiske [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi I wrote my new page in XHTML 1.0, split

[PHP] Windows question

2001-09-24 Thread Clint Tredway
Can PHP kick off an exe or batch file? IF it can, how does one go about doing so? Thanks, Clint -- 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

Re: [PHP] Need help with auto_prepend_file

2001-09-24 Thread * RzE:
Original message From: Michael Champagne [EMAIL PROTECTED] Date: Mon, Sep 24, 2001 at 09:28:01AM -0500 Message-ID: [EMAIL PROTECTED] Subject: [PHP] Need help with auto_prepend_file Our website relies heavily on include files. We have a single include file that is 'auto prepended' to every php

[PHP] Receiving mySQL result from remote server?

2001-09-24 Thread Jeff Lewis
Is it possible to have a script at xyz.com retrieve data from a mySQL database on abc.com? Jeff

[PHP] PHP and GD

2001-09-24 Thread J. Anderson Scarbrough
I am trying to create PNG images on the fly using the following code. if(file_exists($key)) { $diff = time() - filemtime($key); if($diff = 600) { unlink($key); } } $im = ImageCreateFromPNG($value); $isCreated = imagePNG($im, $key, '80'); //error occurs here I recieve the following error

[PHP] Problem with simple classes to connect/query to SYBASE database

2001-09-24 Thread Krzysztof Kocjan
Hi, I have simple PHP code. ?php /** DB **/ class db { var $connect_id; function open( $database, $host, $user, $password ) { $this-connect_id = @sybase_connect( $host, $user, $password ); if ( $this-connect_id ) {

Re: [PHP] Receiving mySQL result from remote server?

2001-09-24 Thread Ben . Edwards
Yes, in fact it is normal. Having dedicated MySQL box is a good idea. A lot of the MySQL security is based around this. To find out how look in the MySQL manual (download .pdf from www.mysql.com) or go on the mysal mailing list (same domain) or if you have a decent isp get primer from there

Re: [PHP] PHP and GD

2001-09-24 Thread Ben . Edwards
That directory is VERY close to root. Is that what you intended? J. Anderson Scarbrough [EMAIL PROTECTED] on 24/09/2001 15:59:04 To: [EMAIL PROTECTED] cc: Subject: [PHP] PHP and GD I am trying to create PNG images on the fly using the following code. if(file_exists($key)) { $diff

[PHP] Getting my head around nulls.

2001-09-24 Thread Ben . Edwards
First recap (been doing RDBMS stuff for over 10 years so reckon this is correct). Nulls and blank are NOT the same in RDBMS (in fact there are actually several types of nulls). MySQL implements this correctly (Unlike Oracle which treats null and blank the same). Up to now I am OK but when it

[PHP] ereg expr guru

2001-09-24 Thread Dave VanAuken
text file [other stuff] #%start dynamic %# #%start site [identifier] %# [contents] #%stop site [identifier] %# #%start site [identifier] %# [contents] #%stop site [identifier] %# #%start site [identifier] %# [contents] #%stop site [identifier] %#... #%stop dynamic %# [other stuff] already have

Re: [PHP] Receiving mySQL result from remote server?

2001-09-24 Thread Jeff Lewis
I am assuming that all I need to change is the host/domain so that instead of localhost it would be something else. Am I assuming right? So I could have www.abc.com or the IP? Jeff - Original Message - From: [EMAIL PROTECTED] To: Jeff Lewis [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

[PHP] array

2001-09-24 Thread Jeremy Morano
Hello everyone. I'm encountering difficulties using my arrays. while ($row = mysql_fetch_array($result)) { $link[$c] = $row['link']; $c = $c + 1; } This is where I try using it. while ($row = mysql_fetch_array($result)) { $date = $row['date'];

Re: [PHP] WEB LOG

2001-09-24 Thread Andreas Gietl
This is the reason why i wrote it is just some security. On Monday 24 September 2001 16:15, Jeffrey Paul wrote: At 10:09 AM 9/24/2001, Andreas Gietl wrote: Well. If you check the HTTP_REFERER on the target-site it would work and give you at least some security. However it is still not really

Re: [PHP] search engine submission

2001-09-24 Thread Jonathan Chum
I believe that he wants an automated URL submission script. I've seen one that just been released like a week or two ago. It's good script from what I remember looking at the code with success page verification. If I can find the URL, I'll be sure to reply. I can't seem to find it my IE's

RE: [PHP] Getting my head around nulls.

2001-09-24 Thread Johnson, Kirk
And remember 0 as a number is as important as any other number. I wish the rest of the world saw it that way! But not so... You may want to look at MySQL's IS_NULL function for retrieving data. Other than that, I don't have any good advice. It seems that if you retrieve a NULL from the

[PHP] Screen Resolution in PHP?

2001-09-24 Thread Jay Paulson
Is there a way to get the client's screen resolution in php? -- 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]

[PHP] Time conversion from iso8601 to unixtime

2001-09-24 Thread ondra
Hi, I'm trying to find a function doing the time conversion from iso8601 to unixtime. http://www.w3.org/TR/NOTE-datetime -- 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

Re: [PHP] Screen Resolution in PHP?

2001-09-24 Thread Ashley M. Kirchner
Jay Paulson wrote: Is there a way to get the client's screen resolution in php? No. Use JavaScript. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] .

Re: [PHP] Screen Resolution in PHP?

2001-09-24 Thread Jay Paulson
ACK! Just saw a post that answered this question. Sorry bout this post should have checked with archives first. - Original Message - From: Jay Paulson [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Monday, September 24, 2001 10:50 AM Subject: [PHP] Screen Resolution in PHP? Is

[PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
I have written here several times on this subject and in the end those who have gratiously helped me have ended up just telling me they have no clue why it doesn't work. It HAS to be my server setup but I don't know what it could be. Sessions just don't work on my machine... The heart of the

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Ben Edwards
Dont use sessions, they are a little flaky anyway. Use a mixture of holding data in database and passing sid/userid/hash around on the URL. You wont regret it. I have written here several times on this subject and in the end those who have gratiously helped me have ended up just telling me

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Jay Paulson
I had the exact same problem.. don't know if you had this advice yet or not but what I did is when I started a session I would grab the session id for that session and put it in a variable and then just pass that session id everywhere I went.. turn on the trans_id or add the session id to the end

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Matt Greer
on 9/24/01 10:56 AM, Thomas Deliduka at [EMAIL PROTECTED] wrote: FORM ACTION=index2.php METHOD=POST VAR 3: INPUT TYPE=TEXT VALUE=My Var 3 NAME=myvar3 INPUT TYPE=SUBMIT VALUE=goBR /FORM I dont see where the SID is being passed to the next page. I recently struggled through getting sessions

Re: [PHP] Even more text document stuff!!

2001-09-24 Thread Philip Olson
look into the following functions (in the manual), play with the examples then eventually implement the concepts into your script : file() fopen() fread() fgets() the manual entries for the above functions contain examples that essentially do what you want. most likely you'll use

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:02 PM this was written: Dont use sessions, they are a little flaky anyway. Use a mixture of holding data in database and passing sid/userid/hash around on the URL. You wont regret it. That's what I do. Except I want to install: http://www.phplinks.org/ Which requires

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
I see I'm relying on cookies in my code. Lemme see if I can pass it. On 9/24/2001 12:04 PM this was written: I had the exact same problem.. don't know if you had this advice yet or not but what I did is when I started a session I would grab the session id for that session and put it in a

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
I see I'm relying on cookies in my code. Lemme see if I can pass it. Thanks. On 9/24/2001 12:11 PM this was written: I dont see where the SID is being passed to the next page. I recently struggled through getting sessions to work, and for me I had to send SID myself manually, the server

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:22 PM this was written: Try to use constant SID, maybe that will work, and it is more likely that it will work on other intallations with other session variable names. I just tried using SID in my index.php and there is nothing that displays. Hmmm. -- Thomas Deliduka IT

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Tamas Arpad
On Monday 24 September 2001 18:20, Thomas Deliduka wrote: On 9/24/2001 12:22 PM this was written: Try to use constant SID, maybe that will work, and it is more likely that it will work on other intallations with other session variable names. I just tried using SID in my index.php and

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:28 PM this was written: On Monday 24 September 2001 18:20, Thomas Deliduka wrote: On 9/24/2001 12:22 PM this was written: Try to use constant SID, maybe that will work, and it is more likely that it will work on other intallations with other session variable names. I just

RE: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Johnson, Kirk
Perhaps you could post the [Session] section of your php.ini file. It appears that session.cookie_lifetime is not set to 0, which is what you want for a session cookie. Perhaps we can find another setting that needs a change. Kirk Sessions just don't work on my machine... -- PHP General

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
After reloading IE on the PC now the SID constant doesn't echo anything at all. On 9/24/2001 12:28 PM this was written: On 9/24/2001 12:28 PM this was written: On Monday 24 September 2001 18:20, Thomas Deliduka wrote: On 9/24/2001 12:22 PM this was written: Try to use constant SID, maybe

Re: [PHP] Screen Resolution in PHP?

2001-09-24 Thread Alexander Skwar
So sprach »Jay Paulson« am 2001-09-24 um 10:50:02 -0500 : Is there a way to get the client's screen resolution in php? no, because, as you say, it's the client's screen resolution and PHP runs on the server. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:28 PM this was written: Perhaps you could post the [Session] section of your php.ini file. It appears that session.cookie_lifetime is not set to 0, which is what you want for a session cookie. Perhaps we can find another setting that needs a change. My php.ini: [Session]

RE: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Johnson, Kirk
After reloading IE on the PC now the SID constant doesn't echo anything at all. SID is always defined on the first page request. It is only defined on later page requests if cookies are disabled in the browser. Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Johnson, Kirk
Try these changes: session.cookie_lifetime = 0 session.use_trans_sid = 1 Also, what version of PHP are you using? My php.ini: [Session] session.save_handler = files session.save_path = /tmp session.use_cookies = 1 session.name = PHPSESSID

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:32 PM this was written: After reloading IE on the PC now the SID constant doesn't echo anything at all. SID is always defined on the first page request. It is only defined on later page requests if cookies are disabled in the browser. So, I shouldn't use that if I'm

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:39 PM this was written: Try these changes: session.cookie_lifetime = 0 session.use_trans_sid = 1 Also, what version of PHP are you using? PHP: 4.0.6 In the past I had problems with trans_sid with urls that already had querystrings being passed. They would mess up

[PHP] Modem communcation using PHP

2001-09-24 Thread Scott Fletcher
Hi ya all! I can't find the PHP documentation on using the php code to initalize, configure, dail, send and receive data using the modem. Anyone know anything about it. I'm kind of stuck on this project. Will appreciate it on anyone who can point it out for me. Thanks, Scott -- PHP

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:39 PM this was written: Try these changes: session.cookie_lifetime = 0 session.use_trans_sid = 1 I see no changes to my problems. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
I'm finding my script on www.fromtheduke.com/session/ still doesn't work even with the ?=SID? in the link or passing it along in the form. On 9/24/2001 12:49 PM this was written: On Monday 24 September 2001 18:39, Thomas Deliduka wrote: On 9/24/2001 12:32 PM this was written: After reloading

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Tamas Arpad
On Monday 24 September 2001 18:51, Thomas Deliduka wrote: I'm finding my script on www.fromtheduke.com/session/ still doesn't work even with the ?=SID? in the link or passing it along in the form. Please send us your latest code again, then we can help you, not just guessing what you've might

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 1:05 PM this was written: On Monday 24 September 2001 18:51, Thomas Deliduka wrote: I'm finding my script on www.fromtheduke.com/session/ still doesn't work even with the ?=SID? in the link or passing it along in the form. Please send us your latest code again, then we can help

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 1:15 PM this was written: OK, now the session ID is getting passed like it should. Now for the two missing variables. Try moving the two assignment statements ahead of the two session_register() calls - assign, then register. I have never seen this make a difference, but the

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 1:18 PM this was written: OK, now the session ID is getting passed like it should. Now for the two missing variables. Try moving the two assignment statements ahead of the two session_register() calls - assign, then register. I have never seen this make a difference, but the

[PHP] Sovket help?

2001-09-24 Thread shi
Hi I'm trying to listen to port 119 with a socket connection. The script looks like this: It works fine until this line if(($ac=accept_connect($sock))0){ Thats where the problem is, it never accepts a connection it just keeps on running. ? $sock = socket (AF_INET, SOCK_STREAM, 0); $bin =

RE: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Johnson, Kirk
OK, do you have access to your /tmp directory? If so, close your browser, then open it and request your index page. Now sort the files in /tmp by creation time, to find the newly created session file. Look at its contents, and see if the 2 variables have values assigned to them in the file. Do

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
Thank you everyone for your continued help with this. It's still not fixed but I have to leave to a dr. appt. I hope that most--If not all--of you are on when I get back. I just wanted to alert you as to why I wouldn't be responding to your questions/messages. Here is the last information I

[PHP] Warning: Undefined variable when used locally, but fine on remote server

2001-09-24 Thread Justin Colson
I have recently installed Apache 1.3.2 and PHP 4.0.6 using the instructions at http://hotwired.lycos.com/webmonkey/00/44/index4a.html?tw=programming on a Win98 machine which I will later use as an intranet server (NT workstation refuses to detect NT server, and the machine is too slow for Win2k).

[PHP] Php-Mysql Work Wanted

2001-09-24 Thread Siim Einfeldt aka Itpunk
Hi, If anyone has some good separate projects or part-time php-mysql related job to offer, I would appreciate if you let me know. I know phpmysql pretty good and have also some pretty nice things in my portfolio (both programming and design). For more information I can be contacted at [EMAIL

[PHP] How to increase number of supported servers?

2001-09-24 Thread buchholz
PHP 3.0.18 stops working after i add over 125 virtual hosts in my httpd.conf file. PHP 4.0.6 still working. After reaching this limit PHP3 completele stopps delivering pages. Searching the archives i recognized, that nearly the same problem was reported on http://bugs.php.net, reading Bug Id

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Arpad Tamas
Then I will reload the first page again by erasing index2.php and hitting enter and it will display a new sess id number and show the first page, as normal but that sessid number is equal t the new session created on the server and the value of it is: var3; var1; var2 This is stranger

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Tamas Arpad
On Monday 24 September 2001 18:39, Thomas Deliduka wrote: On 9/24/2001 12:32 PM this was written: After reloading IE on the PC now the SID constant doesn't echo anything at all. SID is always defined on the first page request. It is only defined on later page requests if cookies are

RE: [PHP] Modem communcation using PHP

2001-09-24 Thread Nathan
Try this.. ? $fp = fopen(/dev/modem, w+); fputs($fp, ATA\n); echo fgets($fp, 1024); fclose($fp); ? -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 9:46 AM To: [EMAIL PROTECTED] Subject: [PHP] Modem communcation using PHP Hi ya all!

[PHP] global variables

2001-09-24 Thread Peter
Hi, I am have a function in which I have created a variable in it called $genpassword. I find that I am unable to carry this variable over to the the other scripts to use because it is a local variable and its value exists only in the function. Is there anyway that I can take the value in

RE: [PHP] Even more text document stuff!!

2001-09-24 Thread Matthew Loff
Read the manual. (Déjà vu?) http://www.php.net/manual/en/function.fread.php Even has an example that says -- get contents of a file into a string -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 7:42 PM To: [EMAIL PROTECTED] Subject:

RE: [PHP] global variables

2001-09-24 Thread Rodino, Justin
global $genpasswd; ___ Justin Bain Rodino Technology Analyst/Systems Engineer p. 219.524.1000 f. 219.524.1001 e. [EMAIL PROTECTED] -Original Message- From: Peter [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 1:28 PM To: PHP List

[PHP] PHP isn't reading the php.ini

2001-09-24 Thread Brandon Orther
Hello, I had a computer running a MSSQL server and apache with PHP on it for development. I got hit by the nimda Virus and have had to start all over. I am trying to get MSSQL support with PHP but I am having the following problems. Thanks for any help ahead of time. When I uncomment the

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
Yeah, I think it's my server setup, or something I have going on on my server because others have said that it works fine for them but not on my machine. I'm running red hat linux 6.1 apache+mod_ssl 1.3.20 On 9/24/2001 2:08 PM this was written: Then I will reload the first page again by

[PHP] FW: PHP isn't reading the php.ini

2001-09-24 Thread Brandon Orther
Hello, I had a computer running a MSSQL server and apache with PHP on it for development. I got hit by the nimda Virus and have had to start all over. I am trying to get MSSQL support with PHP but I am having the following problems. Thanks for any help ahead of time. When I uncomment the like

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
I just tried this here below. Before trying this I changed any called to $PHPSESSID to session_id(). I turned off cookies Loaded the page... Created session id and file: sess_44074d3a54862b480c3407c9eb373f77 Contents: var1|s:8:My var 1;var2|s:8:My var 2; I submitted the form: PHPsessionid shows

[PHP] Possible to store arrays in session variables?

2001-09-24 Thread Johnny Nguyen
Is it possible to store arrays inside of session variables? I mean is this a valid statement? $HTTP_SESSION_VARS[Crumbs][0] = 1; $HTTP_SESSION_VARS[Crumbs][1] = 2; foreach ($HTTP_SESSION_VARS[Crumbs] as $k = $v) { echo $v -; } Regards, Johnny Nguyen -- PHP General Mailing List

Re: [PHP] Warning: Undefined variable when used locally, but fineon remote server

2001-09-24 Thread Philip Olson
This has to do with error_reporting level setting set in php.ini echo $iamnotset; when E_NOTICE level is on, that will produce a Warning. Otherwise, it will not. I posted something similiar recently, see it here: http://marc.theaimsgroup.com/?l=php-generalm=100083224311516 On uklinux,

Re: [PHP] How to increase number of supported servers?

2001-09-24 Thread Jay Paulson
what does this mean? Warning: Cannot use a scalar value as an array I look at the line that is causing the warning and it's this: $errorMsg[error] = ; thanks, jay [EMAIL PROTECTED] wrote: PHP 3.0.18 stops working after i add over 125 virtual hosts in my httpd.conf file. PHP 4.0.6 still

[PHP] what does this mean?

2001-09-24 Thread Jay Paulson
Warning: Cannot use a scalar value as an array what does that mean? i have in my code this: $errorMsg[error] = ; thanks, jay -- 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

  1   2   >